Releases: ghiscoding/Angular-Slickgrid
v6.6.4 - deprecated Formatters
6.6.4 (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. Note that the CSS class may vary depending on which UI framework you use.
Formatter removed | cssClass equivalent |
alternative |
---|---|---|
Formatters.bold |
cssClass: 'text-bold' or fw-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
- registered external resouces should keep singleton ref (2724c97)
Features
- introduce devMode to support nodejs based unit testing (fe76745)
Installation
Please remember that all packages of @slickgrid-universal
(v3.7.1
) and Angular-Slickgrid
(v6.6.4
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.6.2
6.6.2 (2023-11-26)
Quick Info
I am now publishing Angular-Slickgrid and 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.
Bug Fixes
- add npm publish with provenance support (30f959c)
Installation
Please remember that all packages of @slickgrid-universal
(v3.6.0
) and Angular-Slickgrid
(v6.6.2
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.6.0
v6.5.1
6.5.1 (2023-11-13)
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. Most of the changes were done in Slickgrid-Universal
Bug Fixes
- SlickCellRangeSelector stopped event bubbling in editor, fix #1303 (e6581db)
- add ms-select-vanilla missing type & improve pkg exports (eab7e7e), closes #1313
Installation
Please remember that all packages of @slickgrid-universal
(v3.5.1
) and Angular-Slickgrid
(v6.5.1
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.4.0
6.4.0 (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.
This release also adds 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 9 - Wikis docs
- Header Menu - Example 8 - Wikis docs
- Cell Menu / Context Menu - Example 26 - ContextMenu Wiki / CellMenu Wiki
Features
- add new api for creating interactive angular component formatters (71d2132)
- add sub-menus to all Menu extensions/plugins (b779ef1)
- update GraphQL demo with cursor pagination (2ba991c)
- update sample with an interactive title column (8b96324)
Installation
Please remember that all packages of @slickgrid-universal
(v3.4.2
) and Angular-Slickgrid
(v6.4.0
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.3.1
6.3.1 (2023-10-06)
Bug Fixes
- avoid setTimeout after creating dynamic component, fixes #1273 (9436b68)
- remove component after copying innerHTML (c4ba24a)
- graphql: column with complex object could throw null pointer exception (15d2246)
Features
- add pageUp/pageDown/home/end to SlickCellSelection (7d08128)
Installation
Please remember that all packages of @slickgrid-universal
(v3.3.2
) and Angular-Slickgrid
(v6.3.1
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.2.2
6.2.2 (2023-09-24)
Bug Fixes
Installation
Please remember that all packages of @slickgrid-universal
(v3.2.2
) and Angular-Slickgrid
(v6.2.2
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.2.1 - Tree Data Totals with Aggregators
6.2.1 (2023-09-05)
Prior to this release, I always thought Tree Data was not quite feature complete, the missing piece was Tree Totals with Aggregators and this is exactly what this new release brings. We can now calculate totals on a tree by using the same existing Aggregators (note that they had to be modified to support Tree Data aggregations). Most Aggregators are supported, but not all, the ones that are available in a Tree Data grid are (avg
, count
, min
, max
and sum
), for more information see:
Bug Fixes
- adding dataset hierarchical item shouldn't cause scroll flickering (4c5864f)
- common: Select Filter/Editor enableRenderHtml incorrect, fix #1240 (0b8b52b)
Features
- TreeData: add optional Aggregators for Tree Data totals calc (236add4)
Installation
Please remember that all packages of @slickgrid-universal
(v3.2.1
) and Angular-Slickgrid
(v6.2.1
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.1.0
6.1.0 (2023-07-21)
Features
Installation
Please remember that all packages of @slickgrid-universal
(v3.1.0
) and Angular-Slickgrid
(v6.1.0
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)
v6.0.1
6.0.1 (2023-07-01)
Bug Fixes
- grouping: DraggableGrouping could throw when leaving page (6ff7f98)
- using esbuild requires to specify type imports (e694a6b)
Installation
Please remember that all packages of @slickgrid-universal
(v3.0.1
) and Angular-Slickgrid
(v6.0.1
) must be updated at the same time and they will always get bumped on the same day to avoid any upgrade issues. You can also consult the Versions Compatibility Table - Wiki
please remember that Slickgrid-Universal monorepo now contains the biggest portion of the code (~90%), so most of the commits are now happening on that side.
- review the Slickgrid-Universal changelog
- and the Angular-Slickgrid changelog (above)