Releases: ghiscoding/slickgrid-universal
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
v3.5.0
3.5.0 (2023-11-10)
Release Info
This release brings couple of small features like compoundOperatorAltTexts
(read Wiki) and GraphQL verbatimSearchTerms
which avoid transforming filter searchTerms
like null
to an empty string (the lib does that by default because null
wouldn't work on most filters which is why it is transformed to an empty string), some user might want the untouched terms and this verbatim flag gives you this. Thanks to @Harsgalt86 for bringing the verbatim option
Bug Fixes
- common: SlickCellRangeSelector shouldn't stop editor event bubbling (#1183) (7bb9d25) - by @ghiscoding
- graphql: deprecate
isWithCursor
in favor of simpleruseCursor
(#1187) (7b3590f) - by @ghiscoding - pagination: should recreate pagination on cursor based changed (#1175) (c7836aa) - by @ghiscoding
- styles: menu command with & without icons aren't aligned (#1180) (35f040d) - by @ghiscoding
Features
- common: add
compoundOperatorAltTexts
grid option (#1181) (dc0aa5e) - by @ghiscoding - GraphQL: add verbatim search terms to backend services (#1174) (eadc5ef) - by @Harsgalt86
v3.4.2
3.4.2 (2023-11-02)
Release Info
This new release brings nested sub-menu(s) to all Menu plugins, you can see examples below or see print screens in each PRs, you can use the sub-menus with 2 type of events (click
or mouseover
, the latter is the default). This involved a lot of refactoring, also please note that prior to this version ColumnPicker & GridMenu were created at the same time as the grid but menus were hidden and shown whenever clicked, however with this new release ColumnPicker/GridMenu will be created dynamically and on-the-fly.
Also a big thanks to @Harsgalt86 for adding full support for GraphQL optional cursor pagination. Previous version never fully implemented cursor pagination until today. :) 🚀
Deprecations ⚠️
Please note that to align all Menu plugins, I decided to rename all HeaderMenu items
array list as commandItems
, updating your arrays are preferred but do not worry if you keep the previous names they still work and we will simply show a console warning for you to eventually change them.
- Header Menu
- rename
items
tocommandItems
- rename
Examples with sub-menus & Wikis docs
- Grid Menu - Example 1 - Wiki docs
- Header Menu - Example 14 - Wiki docs
- Context Menu - Example 4 - Wiki docs
- Cell Menu - Example 7 - Wiki docs
Bug Fixes
- common:
unbindAll
with a group name should remove all tagged ones (#1152) (5014354), closes #1150 - by @ghiscoding - common: calling
bind
with multiple events should add group name (#1157) (9023b54), closes #1150 - by @ghiscoding - common: clicking Menu close button should only close current menu (#1160) (b524ef1) - by @ghiscoding
- common: context menu should close when clicking another cell (#1163) (bd132c5) - by @ghiscoding
- common: disable throwWhenFrozenNotAllViewable w/frozen grids (#1149) (9a06875) - by @ghiscoding
- common: make sure destroy is a function before calling it (#1148) (dba9606) - by @ghiscoding
- common: mouseover disabled sub-menu shouldn't open it (#1167) (550f103) - by @ghiscoding
- common: replace
innerHTML: '×'
withtextContent: '×'
(#1156) (e8b2cfb) - by @ghiscoding - common: rollback event capture causing multiple calls (#1168) (90876c9) - by @ghiscoding
- common: deprecate HeaderMenu
items
in favor ofcommandItems
(634441c) - by @ghiscoding - common: deprecate HeaderMenu
items
in favor ofcommandItems
(#1159) (2b26d6d) - by @ghiscoding - deps: update all non-major dependencies (#1136) (a755b0f) - by @renovate-bot
- deps: update all non-major dependencies (#1138) (82a602e) - by @renovate-bot
- common: remove GridMenu from DOM after closing it (#1169) (87b242f) - by @ghiscoding
- all: move
innerHTML
as separate assignment to improve CSP trusted types (#1162) (9c6a002) - by @ghiscoding - pagination: add missing setCursorBased() method for dynamic change (#1171) (886170e) - by @ghiscoding
- common: update SlickGrid to fix misaligned column headers after horizontal scroll then freeze (#1172) (fb08bbc) - by @ghiscoding
Features
- common: add
subMenuOpenByEvent
option to open sub-menus via mouseover (#1161) (609f88b) - by @ghiscoding - common: add sub-menu(s) to CellMenu & ContextMenu plugins (#1141) (bd18af1) - by @ghiscoding
- common: add sub-menu(s) to GridMenu plugin (#1151) (5178310) - by @ghiscoding
- common: add sub-menu(s) to HeaderMenu plugin (#1158) (eeab42e) - by @ghiscoding
- common: add support for grid inside Shadow DOM (#1166) (f7b8c46) - by @ghiscoding
- common: add group name to
bind
andunbindAll
methods (#1150) (6c3b90e) - by @ghiscoding - common: create ColumnPicker dynamically every time (#1165) (7e8d80e) - by @ghiscoding
- graphql: add optional cursor pagination to GraphQL backend service (#1153) (29579b2) - by @Harsgalt86
v3.3.2
3.3.2 (2023-10-06)
Bug Fixes
- graphql: column with complex object could throw null pointer exception (#1130) (f3c85b8) - by @Harsgalt86
v3.3.1
v3.3.0
3.3.0 (2023-10-05)
Bug Fixes
- types: small TS type fix on DataView setFilter (1ab0930) - by @ghiscoding
Features
- add option to cancel Row Detail opening (#1125) (82ba377) - by @ghiscoding
- add pageUp/pageDown/home/end to SlickCellSelection (#1126) (b7e9e0d) - by @ghiscoding
v3.2.2
3.2.2 (2023-09-24)
Bug Fixes
- deps: update all non-major dependencies (#1113) (37741fe) - by @renovate-bot
- deps: update dependency multiple-select-vanilla to ^0.4.10 (#1098) (ab97b9d) - by @renovate-bot
- GridService: clear any opened highlight timers before disposing (#1116) (c6a0957) - by @ghiscoding
- resizer: resize without container (#1117) (9013522) - by @zewa666