Releases: ghiscoding/slickgrid-universal
v4.1.0
4.1.0 (2023-12-21)
Bug Fixes
- composite:
onSave
always include last dataContext on few inserts (#1271) (14791e7) - by @ghiscoding - npm: publish src folder for source maps, fixes downstream builds (#1269) (701da75) - by @ghiscoding
Features
- core: add
rowHighlightCssClass
&highlightRow()
to SlickGrid (#1272) (31c38ad) - by @ghiscoding - utils: replace slick-core extend utils with
node-extend
(#1277) (3439118) - by @ghiscoding
v4.0.3
4.0.3 (2023-12-16)
Bug Fixes
- add back moment rollup patch with default import (2e81421) - by @ghiscoding
v4.0.2 - Breaking Changes
4.0.2 (2023-12-15)
Quick Info
This new release is merging SlickGrid
into the project and is dropping the previous external 6pac/slickgrid
dependency. The aim of this release is to be standalone, improve best practices & move towards CSP compliance while also making the project leaner. Merging SlickGrid into the projects has a few benefits, the biggest are (easier to troubleshoot, drop unused code, deduplicate code like DOM utils, decrease external dependencies usage and finally a small decrease in build size).
Another great feature in conjunction with this release is a new Documentation website powered by GitBook. This should be more pleasing to read and also easier to receive documentation changes (note that because of the changes from Wiki to GitBook, some of the links might be invalid and if you find any then please submit a PR).
Read the Migration to 4.0 for all the changes
Bug Fixes
-
deps: update dependency multiple-select-vanilla to ^1.1.1 (#1267) (f6e5e2c) - by @renovate-bot
-
BREAKING CHANGE: merge SlickGrid into Slickgrid-Universal & drop external dep (#1264) (18b96ce), closes #1264 - by @ghiscoding
BREAKING CHANGES
- merge SlickGrid into Slickgrid-Universal & drop external dep
v4.0.1-alpha.1
4.0.1-alpha.1 (2023-12-12)
Bug Fixes
- changing
enableCellNavigation
grid option not working (#1262) (b7de0f1) - by @ghiscoding
v3.7.2 - deprecated Formatters
3.7.2 (2023-12-12)
Deprecations
Please note that multiple built-in Formatters are now deprecated and will be removed in the next major version (which is coming very soon). Below is the list of Formatters and their alternatives with code sample on what to change. The CSS class may vary depending on which UI framework you use
Formatter removed | cssClass equivalent |
alternative |
---|---|---|
Formatters.bold |
cssClass: 'text-bold' or fs-bold |
|
Formatters.center |
cssClass: 'text-center' |
|
Formatters.italic |
cssClass: 'text-italic' or fst-italic |
|
Formatters.alignRight |
cssClass: 'text-right' or text-end |
|
Formatters.lowercase |
cssClass: 'text-lowercase' |
|
Formatters.uppercase |
cssClass: 'text-uppercase' |
|
Formatters.fakeHyperlink |
cssClass: 'text-underline cursor' |
cssClass: 'fake-hyperlink' |
Formatters.checkbox |
to be removed | use the Formatters.iconBoolean |
Formatters.deleteIcon |
to be removed | use the Formatters.icon (see below) |
Formatters.editIcon |
to be removed | use the Formatters.icon (see below) |
Formatters.infoIcon |
to be removed | use the Formatters.icon (see below) |
Formatters.yesNo |
to be removed | create a custom Formatter |
The alternative is to use cssClass
as shown below
this.columnDefinitions = [
{
id: 'firstName', name: 'First Name', field: 'firstName',
- formatter: Formatters.bold
+ cssClass: 'text-bold'
},
{
id: 'lastName', name: 'Last Name', field: 'lastName',
- formatter: Formatters.multiple, params: { formatters: [Formatters.uppercase, Formatters.bold] },
+ cssClass: 'text-uppercase text-bold'
},
{
id: 'deleteIcon', name: '', field: '',
- formatter: Formatters.deleteIcon,
// NOTE: we previously accepted "icon" and "formatterIcon" property in the past but these props will be removed
+ formatter: Formatters.icon, params: { iconCssClass: 'fa fa-trash pointer' }
},
];
Bug Fixes
- the
devMode
should befalse
or an object with other options (ad2285a) - by @ghiscoding-SE - use !important on CSS text utils (7fdbeb6) - by @ghiscoding
v4.0.1-alpha.0
4.0.1-alpha.0 (2023-12-10)
Bug Fixes
stripTags
shouldn't throw with null/undefined (8f706fc) - by @ghiscoding- core: SlickEventHandler handler args should have Types (#1261) (a33129b) - by @ghiscoding
- regression, Row Detail no longer displayed after CSP safe code (#1259) (a35f0a4) - by @ghiscoding
- utils: undefined html shouldn't throw on stripTags (05361e7) - by @ghiscoding
v4.0.0-alpha.0
4.0.0-alpha.0 (2023-12-09)
Bug Fixes
setActiveCellInternal()
should not throw when cell/row undefined (dbe6413) - by @ghiscoding- change dynamic html string w/CSP safe code to fix scroll (#1210) (cd03907) - by @ghiscoding
- Draggable shouldn't trigger dragEnd without first dragging (#1211) (47cb36e) - by @ghiscoding
- escape glob pattern for SASS copy to work in CI (0590b24) - by @ghiscoding-SE
- only allow row drag on cell w/
dnd
orcell-reorder
, fix #937 (6a2ab55), closes #897 - by @ghiscoding-SE - remove CellRange, SlickRange, SlickGroup, ... unused interfaces (#1219) (a4cc469) - by @ghiscoding
- the
devMode
should befalse
or an object with other options (ac57992) - by @ghiscoding-SE - the
devMode
should befalse
or an object with other options (ad2285a) - by @ghiscoding-SE - try adding sort icon on non
sortable
column shouldn't throw (4791fc8) - by @ghiscoding-SE
Features
- convert GroupItemMetadataProvider Formatter to native HTML for CSP (#1215) (d723856) - by @ghiscoding
- introduce devMode to support nodejs based unit testing (#1251) (596737d) - by @ghiscoding
- remove unnecessary Formatters, replace by
cssClass
(#1225) (de26496) - by @ghiscoding - rewrite all Formatters as native HTML elements (#1229) (5cb4dd5) - by @ghiscoding
- use PubSub Service singleton to subscribe to any SlickEvent (#1248) (388bd11) - by @ghiscoding
Performance Improvements
- skip reapplying empty html when target is already empty (#1230) (ba99fae) - by @ghiscoding
v3.7.1 - deprecated Formatters
3.7.1 (2023-12-08)
Deprecations
Please note that multiple built-in Formatters are now deprecated and will be removed in the next major version (which is coming very soon). Below is the list of Formatters and their alternatives with code sample on what to change. The CSS class may vary depending on which UI framework you use
Bug Fixes
- cell selection range with key combos were incorrect (#1244) (79d86fe) - by @ghiscoding
- DraggableGrouping & Select Filter
collectionAsync
mem leaks (#1247) (7dcf53a) - by @ghiscoding - formatters: show console error on invalid multiple formatters (#1227) (fd69ac0) - by @ghiscoding
- registered external resouces should keep singleton ref (#1242) (adf2054) - by @ghiscoding
Bug Fixes
- add missing
devMode
option intoGridOption
interface (a963223) - by @ghiscoding-SE
Features
- Formatters: add new
Formatters.iconBoolean
for icon w/truthy val (#1228) (17ab965) - by @ghiscoding - GraphQL: Provide ability to specify operationName (#1224) (4db6c34) - by @Harsgalt86
v3.6.0
3.6.0 (2023-11-26)
Quick Info
I am now publishing Slickgrid-Universal on npm with --provenance
via GitHub Action (read this GitHub blog for more info), the provenance will now be visible on NPM as shown below.
Features
- Column.excludeFieldFromQuery, exclude field but keep fields array (#1217) (85cc514) - by @Harsgalt86
v3.5.1
3.5.1 (2023-11-13)
Bug Fixes
- common: ms-select-vanilla requires
@types/trusted-types
dep (#1190) (284a379) - by @ghiscoding - all: improve build & types exports for all targets, Node, CJS/ESM (#1188) (980fd68) - by @ghiscoding