Skip to content

Releases: 6pac/SlickGrid

5.5.1

14 Nov 02:25
9190843
Compare
Choose a tag to compare

5.5.1 (2023-11-14)

Release Info

This release is all about CSP (Content Security Policy) compliance, all dynamic html string were replaced by native HTML Element and a lot of code refactoring had to be done to make it all work. There are some exception though, if you still use html string as template, for example Formatter returning html string, you will not be fully compliant unless you return TrustedHTML, for more info you can read the CSP Compliance Wiki.

A big thanks to @JesperJakobsenCIM for helping with CSP compliance.

We now also allow passing native HTML Element to Custom Formatter instead of HTML string to avoid the use of innerHTML and stay CSP safe. We also have a new grid option named enableHtmlRendering which is enabled by default to avoid being a breaking change, but when disabled will not allow to use innerHTML hence will remain CSP safe. You can take a look at this new Filtered DataView with HTML Formatter - CSP Header (Content Security Policy) example which uses this new approach.

Bug Fixes

  • add nonce grid option set the nonce value for CSP header (#902) (fc0af7a)
  • add nonce grid option set the nonce value for CSP header (#902) (#905) (fb0e4f5)
  • add CSP safe option for DataView filtering and adjusting inline css for CSP (#908) (ff970c0)
  • add missing RowMoveManager containerCssClass option (#906) (5f85574)
  • improve build & types exports for all targets, Node, CJS/ESM (#910) (9013526)
  • interface for controls/plugins w/Formatter might return HTMLElement (#911) (9190843)

Features

  • add grid option enableHtmlRendering to use pure HTML not string (#894) (448ec4f)

Quick Survey ✨

We also made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?

5.4.2

02 Nov 15:36
7f11eff
Compare
Choose a tag to compare

5.4.2 (2023-11-02)

Bug Fixes

  • misaligned column headers after horizontal scroll then freeze (#901) (7f11eff)

4.1.3

02 Nov 15:34
21a220e
Compare
Choose a tag to compare

4.1.3 (2023-11-02)

Bug Fixes

  • add nonce grid option set the nonce value for CSP header (#904) (21a220e), closes #902
  • misaligned column headers after horizontal scroll then freeze (#903) (abebf8a), closes #901

5.4.1

01 Nov 22:54
4548fa0
Compare
Choose a tag to compare

5.4.1 (2023-11-01)

Bug Fixes

  • add allowDragFromClosest to make .slick-cell or child draggable (#897) (282fbb4)
  • create CSS rules by style element doesn't work in salesforce (#900) (4548fa0)
  • regression with RowMoveManager, row could no longer be moved (#896) (02226bd), closes #865

5.4.0

01 Nov 00:08
Compare
Choose a tag to compare

5.4.0 (2023-11-01)

Quick Survey ✨

We also made a quick little poll for fun, thanks for taking the time to participate

What do you think was the most exciting change(s) for you?

Bug Fixes

  • dynamically create CSS rules via JS instead of innerHTML (#883) (a08b0f8), closes #878
  • HeaderMenu items prop for sub-menus should be optional (b5576de)
  • replace a few innerHTML by more secure alternatives (#885) (53ab293)
  • sub-menu event listeners leaking when closing sub-menus (#888) (338ea2a)

4.1.2

01 Nov 22:52
513871e
Compare
Choose a tag to compare

4.1.2 (2023-11-01)

Bug Fixes

  • add allowDragFromClosest to make .slick-cell or child draggable (#898) (bb977c3)
  • create CSS rules by style element doesn't work in salesforce (#899) (513871e)

4.1.1

01 Nov 00:05
Compare
Choose a tag to compare

4.1.1 (2023-11-01)

4.1.0

01 Nov 00:01
Compare
Choose a tag to compare

4.1.0 (2023-11-01)

Bug Fixes

  • dynamically create CSS rules via JS instead of innerHTML (#886) (3d9aecb)
  • element replaceChildren() not supported by salesforce (#895) (2e09f25)
  • replace a few innerHTML by more secure alternatives (#887) (ada4690)

Features

5.3.1

25 Oct 00:59
fb2fa28
Compare
Choose a tag to compare

5.3.1 (2023-10-25)

Bug Fixes

  • add throwWhenFrozenNotAllViewable grid option to avoid throwing (#882) (a9e7e53)
  • add more checks around cached rows (#881) (fb2fa28)

4.0.3

25 Oct 00:52
3c0e10d
Compare
Choose a tag to compare

4.0.3 (2023-10-25)

Bug Fixes

  • add throwWhenFrozenNotAllViewable grid option to avoid throwing (#879) (43b85f5)
  • add more checks around cached rows (#880) (3c0e10d)