Skip to content

Releases: ghiscoding/aurelia-slickgrid

v7.0.3 - Aurelia 2 (official release)

19 Dec 04:06
Compare
Choose a tag to compare

7.0.3 (2023-12-19)

Official Aurelia 2 Support

For real this time, starting with v7.0.3, Aurelia-Slickgrid is now working with Aurelia 2 🚀
A huge thanks to @MaximBalaganskiy he is the main player in getting this possible 👏🏻 🥇

⚠️ BREAKING CHANGES
Aurelia 2 is now required

Quick Info

The biggest change to this release is Aurelia 2 new minimum requirement

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 7.0 for all the changes

BREAKING CHANGES

  • migrate to Slickgrid-Universal v4.0 and Aurelia 2, fixes #709

Bug Fixes

  • spreading 2 grids options causes duplicate ext resources (#1126) (00a0be2)
  • add missing types in pkg and fix cjs/esm exports (17eb5e8)

Installation

Please remember that all packages of @slickgrid-universal (v4.0.3) and Aurelia-Slickgrid (v7.0.3) 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.

  1. review the Slickgrid-Universal changelog
  2. and the Aurelia-Slickgrid changelog (above)

v7.0.2 - Aurelia 2 support

16 Dec 03:33
Compare
Choose a tag to compare

7.0.2 (2023-12-16)

Not Ready Yet

It looks like I went ahead a little too early on releasing this new version, the plugin build process is different in Aurelia 2 and I am still working on this part. Sorry for the delay

v6.6.6

15 Dec 23:45
Compare
Choose a tag to compare

6.6.6 (2023-12-15)

Bug Fixes

  • spreading 2 grids options causes duplicate ext resources (#1127) (33ad688)

v6.6.5 - deprecated Formatters

13 Dec 00:38
Compare
Choose a tag to compare

6.6.5 (2023-12-13)

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

  • devMode can be false/object & use !important on text CSS utils (#1125) (70ecf30)

Installation

Please remember that all packages of @slickgrid-universal (v3.7.2) and Aurelia-Slickgrid (v6.6.5) 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.

  1. review the Slickgrid-Universal changelog
  2. and the Aurelia-Slickgrid changelog (above)

v6.6.4 - deprecated Formatters

08 Dec 18:55
Compare
Choose a tag to compare

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.

Bug Fixes

  • registered external resouces should keep singleton ref (#1118) (fc3bdd6)

Features

  • introduce devMode to support nodejs based unit testing (#1123) (dd61a39)

Installation

Please remember that all packages of @slickgrid-universal (v3.7.1) and Aurelia-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.

  1. review the Slickgrid-Universal changelog
  2. and the Aurelia-Slickgrid changelog (above)

v6.6.2

26 Nov 21:25
Compare
Choose a tag to compare

6.6.2 (2023-11-26)

Quick Info

I am now publishing Aurelia-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.

image


Installation

Please remember that all packages of @slickgrid-universal (v3.6.0) and Aurelia-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.

  1. review the Slickgrid-Universal changelog
  2. and the Aurelia-Slickgrid changelog (above)

v6.6.0

26 Nov 06:47
Compare
Choose a tag to compare

6.6.0 (2023-11-26)

Features

  • GraphQL: .excludeFieldFromQuery, exclude field but keep fields (#1117) (6865408)

v6.5.1

11 Nov 02:45
Compare
Choose a tag to compare

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. Thanks to @Harsgalt86 for bringing the verbatim option. Most of the changes were done in Slickgrid-Universal

Bug Fixes

  • SlickCellRangeSelector stopped event bubbling in editor (#1110) (17a6ee0)
  • add ms-select-vanilla missing type & improve pkg exports (#1114) (ea02c54), closes #1313
  • improve build & types exports for all targets, Node, CJS/ESM (#1113) (2cbfc68)

Installation

Please remember that all packages of @slickgrid-universal (v3.5.1) and Aurelia-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.

  1. review the Slickgrid-Universal changelog
  2. and the Aurelia-Slickgrid changelog (above)

v6.4.0

02 Nov 16:12
Compare
Choose a tag to compare

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.

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 to commandItems

Examples with sub-menus

Bug Fixes

  • remove unused code editor files from npm publish (1379f60)

Features

  • add sub-menus to all Menu extensions/plugins (#1103) (e55fa67)
  • update GraphQL demo with cursor pagination (#1104) (c735465)

Installation

Please remember that all packages of @slickgrid-universal (v3.4.2) and Aurelia-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.

  1. review the Slickgrid-Universal changelog
  2. and the Aurelia-Slickgrid changelog (above)

v6.3.1

07 Oct 00:10
Compare
Choose a tag to compare

6.3.1 (2023-10-07)

Bug Fixes

  • graphql: column with complex object could throw null pointer exception (#1091) (f26ee4b)

Features

  • add pageUp/pageDown/home/end to SlickCellSelection (#1088) (411ccb6)

Installation

Please remember that all packages of @slickgrid-universal (v3.3.2) and Aurelia-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.

  1. review the Slickgrid-Universal changelog
  2. and the Aurelia-Slickgrid changelog (above)