Skip to content

Releases: alma-oss/cookie-consent-manager

3.0.0

03 Mar 15:00
df557cd

Choose a tag to compare

BREAKING CHANGES

  • Change default cookie name from lmc_ccm to almacareer_ccm (bd12817)
  • Change library npm organization to almacareer (fixes #391) (7698504)
  • Remove CommonJS suppport (65b015e)
  • Remove secondary button mode (78e3e69)
  • Rename callbacks to match names from the vanilla-cookieconsent (77160a2)
  • Rename LmcCookieConsentManager to CookieConsentManager (part of #392) (bfc1ddf)
  • Rename settingsModalMoreInfo to preferencesModalMoreInfo (8f88088)
  • Update Spirit design tokens to v3 (18e4f8b)
  • Use named exports only (23b9a1d)

Code Refactoring

  • Build package using Vite (d3e6fc9)
  • Clean up ESBuild after migration to Vite (766e444)
  • Decouple and test consentCollector (22cf710)
  • Extract pushToDataLayer to standalone and tested module (4b6ef02)
  • Rebuild distribuition (bfe60da)
  • Rename settings-modal scss file to preferences-modal be consistent with the source code (3ed682d)
  • Serve app using Vite (18d4d89)
  • Switch package to be ESM only (f770495)
  • Update CookieConsentManager to use API of vanilla-cookieconsent v3 (f9d98e8)
  • Update pushToDataLayer to new internal cookie value structure (3c7ad75)
  • Update translations to use new config structure (e3cc92e)

Dependencies

  • Update dependency vanilla-cookieconsent to v3.1.0 (abebff4)
  • Update dependency nanoid to v5.0.9 [SECURITY] (1026781)
  • Downgrade and lock conventional-changelog-cli on v3 (66c82d7)
  • Migrate config renovate.json (c6a4f66)
  • Replace unmaintained npm-run-all (13a9899)
  • Update all (sub)dependencies and all dev dependencies

Documentation

  • Add catalog info for Backstage (69f9bdd)
  • Add link to consumed API into catalog-info (2c3d5f1)
  • Add UPGRADE guide for version 3 (c45b2fa)
  • Add upgrade guide placeholder (8056d04)
  • Clarify GTM management by Alma Career Central (c863589)
  • Fix link rendering in UPGRADE guide (e39dc3c)
  • Redesign docs using Spirit Design System (07cee6e)
  • Sort languages in docs by their name, not code (ddd86e5)
  • Update contacts in package.json (dca097a)
  • Update example builds to match vanilla-cookieconsent v3 (cf95e7e)
  • Update examples to new API (99e6af4)
  • Update README header to clearly states affiliation of the library (6eb71e4)
  • Update README to version 3 changes (1951362)
  • Update version reference in readme (8666483)

Features

  • Add French (fr) translation (97073c0)
  • Add Portuguese (pt) translation (7deb4bf)
  • Add Romanian (ro) translation (cc16614)
  • Add Serbian (sr) translation (3cd805c)
  • Add Spanish (es) translation (84e5205)
  • Submit consent language to consent collector (fixes #387) (d5a0eb0)
  • Use deep merge for config overwrites (fixes #385) (c0b8bba)
  • Use new default consentCollectorApiUrl with a new resource type (99a9b2e)

Chores

  • Do not publish npm to beta tag (54aa329)
  • Fix disabling commit hooks on CI (a3ea991)
  • Change base branch for Renovate updates back to main (c5f5455)
  • Lock eslint ^8 for renovate bot (5b94ff6)
  • Move repository from lmc-eu to alma-oss (0beb8e0)
  • Replace auto-assign github action (a43aa6d)
  • Replace node 16 with node 18 in gh actions builds (6daf9ba)
  • Setup github-actions packages updates using renovate bot (718ada8)
  • Switch from sass to sass-embedded (09d9f8b)
  • Update codeowners (6d3a1c2)
  • Update version replace script to ESM (970d6ac)

2.6.0

10 Apr 10:37
4b70c10

Choose a tag to compare

Dependencies

  • Update bugfix versions of dependencies (6e58251)

Documentation

  • Extend README to contain cookieTable example configuration (a416a4a)
  • Minor readme clarifications (0ebb3ec)
  • Update another link to orestbida library documentation to point to its branch v2.9 (452d7ae)
  • Update links to orestbida library documentation to point to its branch v2.9 (17084ae)

Features

  • Add ability to set cookie table (b7b2b4d)
  • Add Bosnian (bs) language (096b6bd)
  • Add Estonian (et) translation (06eba57)
  • Add Latvian (lv) translation (e389ed6)
  • Add Lithuanian (lt) translation (112b232)
  • Add Macedonian (mk) translation (b3c8990)
  • Export all types of vanilla cookie consent (7bb36d2)

Chores

  • DRY when importing language configs (a49d8f9)
  • Extract language loading to separate function (6e6e21c)
  • Optimize imports (25a636e)
  • Refactor block assembly (6bd7ac4)

Styles

  • Always define types before use and do not warn for unused vars in exported types (05d7ce6)
  • Fix enum definition which breaks eslint (8842da9), closes #issuecomment-1599432772
  • Fix errors detected by @lmc-eu/eslint-config-typescript rules (cb4da09)
  • Fix various eslint warnings and errors (0082e41)
  • Optimize imports and minor codestyle improvements (b467d03)
  • Replace concatenation with string templates (27a87ed)
  • Use object property shorthand (c3de7fd)

2.5.0

11 Jan 13:01
e7e73d5

Choose a tag to compare

Documentation

  • Rebrand to Alma Career also in documentation and meta information (a9f9a1c)

Features

  • Add Croatian (hr) translation (2ee50f3)
  • Add Slovenian (sl) translation (aee08f7)
  • Extend types to allow cookie tables settings (33313ac)
  • Update translations and unify Cookie policy document naming (0ef63d0)

Chores

  • deps: Update dependency @lmc-eu/spirit-design-tokens to v1 (8ab4715)
  • Fix ts-jest config deprecations (135288d)

2.4.1

26 Dec 23:52
4b117bd

Choose a tag to compare

Documentation

  • Add notice about necessity to implement cookie deletion by each product itself (45feb44)

Features

  • Replace LMC company name with Alma Career (9c2788a)
  • Update hu translation (2ede16e)
  • Update links to privacy policy (88b634e)

Chores

  • Upgrade @lmc-eu/eslint-config-base to 3.0.1 (0d6de3b)
  • deps-dev: Bump postcss from 8.4.19 to 8.4.31 (1fdc8c9)
  • deps: Bump @babel/traverse from 7.16.0 to 7.23.2 (059ee92)
  • deps: Bump semver from 5.7.1 to 5.7.2 (0189bab)
  • deps: Bump word-wrap from 1.2.3 to 1.2.5 (5a94e5f)
  • deps: Update to Jest 29 (5acdade)
  • Try to build this package also on Node.js v20 (706ab9a)

2.4.0

13 Jun 09:08
e822fda

Choose a tag to compare

Bug Fixes

  • Fix imports not being properly recognized by IDEs (18bfb83)

Features

  • Make part of settings modal text overridable (7eccc48)

2.3.3

22 May 09:11
34e2340

Choose a tag to compare

Bug Fixes

  • Cannot use 'in' operator to search for 'uid' in undefined (1deb32e)

Chores

  • deps: Bump json5 from 1.0.1 to 1.0.2 (2548df7)
  • Disable update of stylelint-config (eeaa415)

2.3.2

22 Dec 12:57
412fa22

Choose a tag to compare

Bug Fixes

  • Update button design tokens according to the latest design (e23431a)

Chores

  • Improve file name of the CSS theme map (ed30742)

2.3.1

16 Dec 11:55
e4e25da

Choose a tag to compare

Bug Fixes

  • Change design token linked to button typography (ca8a2ab)

Dependencies

  • Update Can-I-Use DB used by Browserslist (ad07300)

2.3.0

08 Dec 13:02
dfad27d

Choose a tag to compare

Bug Fixes

  • Fix typo in Slovak translation (6d52c18)

Dependencies

Documentation

  • Fix typo in changelog message (eca903b)
  • Remove integrity attributes because of integrity fails (19fce10)

Features

  • Replace LMC company name with new and translated legal name #CCM-65 (ca8f15c)

Chores

  • Add missing peer dependencies (b4ddc72)
  • Fix typo in semver range (refs #260) (4aacfd9)
  • Freeze vanilla-cookieconsent to 2.8.0 or allow major release (2388b8a)
  • Set target branch for additional updates (258723f)
  • Test build on multiple node versions (80782a2)
  • Update nanoid package to v3 branch only (d13a836)

Styles

  • Simplify constants imports (0c8f45e)

Tests

  • Fix haste module collision on local machine by ignoring (70d42c8)

2.2.1

29 Jun 11:47
fd5b823

Choose a tag to compare

Bug Fixes

  • Add missing SecondaryButtonMode export (e2d5f6b)

Dependencies

Tests

  • Add SecondaryButtonMode to typescript example (5c517f2)