handsontable 18.1.1 → 18.1.2-rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/base.js +2 -2
  3. package/base.mjs +2 -2
  4. package/dataMap/metaManager/metaSchema.js +4 -2
  5. package/dataMap/metaManager/metaSchema.mjs +4 -2
  6. package/dist/handsontable.full.js +223 -44
  7. package/dist/handsontable.full.min.js +129 -129
  8. package/dist/handsontable.js +223 -44
  9. package/dist/handsontable.min.js +129 -129
  10. package/dist/themes/classic.js +2 -2
  11. package/dist/themes/classic.min.js +2 -2
  12. package/dist/themes/horizon.js +2 -2
  13. package/dist/themes/horizon.min.js +2 -2
  14. package/dist/themes/main.js +2 -2
  15. package/dist/themes/main.min.js +2 -2
  16. package/dist/themes/static/variables/colors/ant.js +2 -2
  17. package/dist/themes/static/variables/colors/ant.min.js +2 -2
  18. package/dist/themes/static/variables/colors/classic.js +2 -2
  19. package/dist/themes/static/variables/colors/classic.min.js +2 -2
  20. package/dist/themes/static/variables/colors/horizon.js +2 -2
  21. package/dist/themes/static/variables/colors/horizon.min.js +2 -2
  22. package/dist/themes/static/variables/colors/main.js +2 -2
  23. package/dist/themes/static/variables/colors/main.min.js +2 -2
  24. package/dist/themes/static/variables/colors/material.js +2 -2
  25. package/dist/themes/static/variables/colors/material.min.js +2 -2
  26. package/dist/themes/static/variables/colors/shadcn.js +2 -2
  27. package/dist/themes/static/variables/colors/shadcn.min.js +2 -2
  28. package/dist/themes/static/variables/density.js +2 -2
  29. package/dist/themes/static/variables/density.min.js +2 -2
  30. package/dist/themes/static/variables/helpers/iconsMap.js +2 -2
  31. package/dist/themes/static/variables/helpers/iconsMap.min.js +2 -2
  32. package/dist/themes/static/variables/icons/horizon.js +2 -2
  33. package/dist/themes/static/variables/icons/horizon.min.js +2 -2
  34. package/dist/themes/static/variables/icons/main.js +2 -2
  35. package/dist/themes/static/variables/icons/main.min.js +2 -2
  36. package/dist/themes/static/variables/sizing.js +2 -2
  37. package/dist/themes/static/variables/sizing.min.js +2 -2
  38. package/dist/themes/static/variables/tokens/classic.js +2 -2
  39. package/dist/themes/static/variables/tokens/classic.min.js +2 -2
  40. package/dist/themes/static/variables/tokens/horizon.js +2 -2
  41. package/dist/themes/static/variables/tokens/horizon.min.js +2 -2
  42. package/dist/themes/static/variables/tokens/main.js +2 -2
  43. package/dist/themes/static/variables/tokens/main.min.js +2 -2
  44. package/helpers/mixed.js +5 -5
  45. package/helpers/mixed.mjs +5 -5
  46. package/package.json +1 -1
  47. package/styles/handsontable.css +2 -2
  48. package/styles/handsontable.min.css +2 -2
  49. package/styles/handsontableStyles.js +1 -1
  50. package/styles/handsontableStyles.mjs +1 -1
  51. package/styles/ht-icons-horizon.min.css +2 -2
  52. package/styles/ht-icons-main.min.css +2 -2
  53. package/styles/ht-theme-classic-no-icons.min.css +2 -2
  54. package/styles/ht-theme-classic.min.css +2 -2
  55. package/styles/ht-theme-horizon-no-icons.min.css +2 -2
  56. package/styles/ht-theme-horizon.min.css +2 -2
  57. package/styles/ht-theme-main-no-icons.min.css +2 -2
  58. package/styles/ht-theme-main.min.css +2 -2
  59. package/utils/entitlementLicenseKey/constants.d.ts +7 -1
  60. package/utils/entitlementLicenseKey/constants.js +5 -1
  61. package/utils/entitlementLicenseKey/constants.mjs +6 -1
  62. package/utils/entitlementLicenseKey/encoding.d.ts +1 -1
  63. package/utils/entitlementLicenseKey/encoding.js +4 -1
  64. package/utils/entitlementLicenseKey/encoding.mjs +4 -1
  65. package/utils/entitlementLicenseKey/extractKeyData.d.ts +47 -8
  66. package/utils/entitlementLicenseKey/extractKeyData.js +155 -14
  67. package/utils/entitlementLicenseKey/extractKeyData.mjs +188 -23
  68. package/utils/entitlementLicenseKey/types.d.ts +5 -0
  69. package/utils/licenseBranding/index.js +2 -2
  70. package/utils/licenseBranding/index.mjs +2 -2
  71. package/utils/licenseNotification.js +2 -2
  72. package/utils/licenseNotification.mjs +2 -2
package/CHANGELOG.md CHANGED
@@ -9,6 +9,14 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
10
  <!-- UNVERSIONED -->
11
11
 
12
+ ## [18.1.2-rc1] - 2026-10-07
13
+
14
+ ### Changed
15
+ - Changed entitlement license keys to protect their human-readable text as well as their bracketed block, so the block alone, edited text, or text after the block makes a current key invalid, while a rewrapped, one-line, or `\n`-escaped key still works. [#13743](https://github.com/handsontable/handsontable/pull/13743)
16
+
17
+ ### Fixed
18
+ - Fixed entitlement license keys whose bracketed block was broken across lines, for example by an email client, reading as invalid and locking the grid. [#13760](https://github.com/handsontable/handsontable/pull/13760)
19
+
12
20
  ## [18.1.1] - 2026-09-15
13
21
 
14
22
  ### Fixed
package/base.js CHANGED
@@ -72,8 +72,8 @@ Handsontable.hooks = _hooks.Hooks.getSingleton();
72
72
  Handsontable.CellCoords = _src.CellCoords;
73
73
  Handsontable.CellRange = _src.CellRange;
74
74
  Handsontable.packageName = 'handsontable';
75
- Handsontable.buildDate = "15/09/2026 08:36:16";
76
- Handsontable.version = "18.1.1";
75
+ Handsontable.buildDate = "07/10/2026 09:25:11";
76
+ Handsontable.version = "18.1.2-rc2";
77
77
  Handsontable.languages = {
78
78
  dictionaryKeys: _registry.dictionaryKeys,
79
79
  getLanguageDictionary: _registry.getLanguageDictionary,
package/base.mjs CHANGED
@@ -43,8 +43,8 @@ Handsontable.hooks = Hooks.getSingleton();
43
43
  Handsontable.CellCoords = CellCoords;
44
44
  Handsontable.CellRange = CellRange;
45
45
  Handsontable.packageName = 'handsontable';
46
- Handsontable.buildDate = "15/09/2026 08:36:16";
47
- Handsontable.version = "18.1.1";
46
+ Handsontable.buildDate = "07/10/2026 09:25:11";
47
+ Handsontable.version = "18.1.2-rc2";
48
48
  Handsontable.languages = {
49
49
  dictionaryKeys,
50
50
  getLanguageDictionary,
@@ -3690,8 +3690,10 @@ const _default = ()=>{
3690
3690
  * licenseKey: 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx', // your commercial license key
3691
3691
  *
3692
3692
  * // for an entitlement license key (trial, subscription, or perpetual),
3693
- * // pass the whole key string exactly as you received it
3694
- * licenseKey: 'This is a Handsontable license key for Acme Corp, ... [eyJwcm9kdWN0cyI6...3a4f8361]',
3693
+ * // pass the whole key string exactly as you received it – the key
3694
+ * // protects its text too, so the `[...]` block on its own is not a valid key;
3695
+ * // the text contains quotes, so use a template literal
3696
+ * licenseKey: `This is a Handsontable license key for Acme Corp, ... for the "Acme Portal" project. ... [eyJwcm9kdWN0cyI6...3a4f8361]`,
3695
3697
  *
3696
3698
  * // for non-commercial use
3697
3699
  * licenseKey: 'non-commercial-and-evaluation',
@@ -3680,8 +3680,10 @@ import { isObjectEqual } from '../../helpers/object.mjs';
3680
3680
  * licenseKey: 'xxxxx-xxxxx-xxxxx-xxxxx-xxxxx', // your commercial license key
3681
3681
  *
3682
3682
  * // for an entitlement license key (trial, subscription, or perpetual),
3683
- * // pass the whole key string exactly as you received it
3684
- * licenseKey: 'This is a Handsontable license key for Acme Corp, ... [eyJwcm9kdWN0cyI6...3a4f8361]',
3683
+ * // pass the whole key string exactly as you received it – the key
3684
+ * // protects its text too, so the `[...]` block on its own is not a valid key;
3685
+ * // the text contains quotes, so use a template literal
3686
+ * licenseKey: `This is a Handsontable license key for Acme Corp, ... for the "Acme Portal" project. ... [eyJwcm9kdWN0cyI6...3a4f8361]`,
3685
3687
  *
3686
3688
  * // for non-commercial use
3687
3689
  * licenseKey: 'non-commercial-and-evaluation',