Releases: alma-oss/cookie-consent-manager
Releases · alma-oss/cookie-consent-manager
2.1.2
2.1.1
2.1.0
Bug Fixes
- Disconnect settings modal close button from button styles (71d2463)
- Export enums as const for correct transpile into usable object (24d394a)
- Export missing types in main module (7c27935)
- Incompatible type definition of languages (8fabfb3)
- Provide type for vanilla cookie consent options (67d78ba)
Code Refactoring
- Unify access to language variables (4f28840)
Dependencies
- Update all dev dependencies (17ba9ba, c5a0ba0, c2f7ebc)
- Update dependency @lmc-eu/spirit-design-tokens to ^0.7.0 (ae8410b)
Documentation
Features
- Allow overriding consent description intro #CCM-63 (1f6c31a)
- Allow overriding default translation for consent modal title #CCM-62 (32cd2ec)
- Force content to spread over the whole row (90161f0)
- Link background color of disabled
Toggle
to corresponding design token (841b320) - Split consent description in two paragraphs #CCM-63 (ae2575f)
2.0.0
See upgrade guide for upgrade guidance to version 2.0.
BREAKING CHANGES
- Callbacks for handling settings modal #CCM-48 (04a4da5)
- Style settings modal according to graphic design #CCM-56 (75d1194)
- Remove default dark theme #CCM-56 (8f33481)
Dependencies
- Pin dependencies (9d1e67b)
- Update all dev dependencies (e52565a, a4c7d40, 8d9bee7, 78f88b6, 7a08f42)
- Update dependency nanoid to v3.1.31 [SECURITY] (32b2fb9)
- Update dependency stylelint to v14 (b1699d0)
- Update dependency vanilla-cookieconsent to 2.8.0 #CCM-58 (b214dc0)
- Update Spirit Design Tokens (af696cb)
Documentation
- Add button to open cookie settings modal #CCM-57 (8acb0cd)
- Add new onFirstAction and onChange callbacks #CCM-48 (fb6590e)
- Update examples with new callbacks #CCM-48 (b38c59e)
- Adjust changelog lists formatting to new LMC preset (5c69666)
- Avoid inconsistent states in language selection example (532fcd8)
- Clearly state the plugin is mainly for LMC products (885c04e)
- Extend configuration example page to showcase onChange event (e2ba3c1)
- Extend readme to reflect changes in version 2.0 (ec6329b)
- List allowed categories on callbacks example page (a417b8d)
- Organise CSS custom properties table (98eed8e)
- Prefer
DOMContentLoaded
overload
event to render cookie consent modal earlier (edbd9bc) - Remove yarn.lock from examples (f5cf132)
- Rework callback examples #CCM-57 (e2a1347)
- Simplify changing of component language by using
updateLanguage()
method (0acb434) - upgrade:
- Use version aliases for external resources to keep them up-to-date (75d1194)
Features
- Add Czech translations for settings modal #CCM-54 (3560405)
- Add displayMode (default
force
) to choose between blocking pop-up and banner #CCM-61 (6fdca25) - Add settings modal translations for all remaining languages #CCM-55 (3e67294)
- Add temporary placeholder for other translations of settings modal (bf99467)
- Make contents of
<strong>
actually appear strong (e9a6759) - Simplify translations and make settings link strong #CCM-60 (78cd4c7)
- Submit consent to API also on settings change #CCM-59 (ffe4963)
- Submit consent to API and dataLayer also on settings change #CCM-59 (1daca26)
- Tweak box mode of consent modal according to graphic design #CCM-47 (18adcf3)
- Update czech translation #CCM-54 (8e7e2b3)
Chores
1.3.0
Bug Fixes
- Fix spacing too big after core library upgrade (7f7fd5d)
Dependencies
Documentation
- Add
cookie_necessary_only_expiration
to configuration example (68230d6)
Features
Chores
- commitlint: Remove ignore sections cause it is not used (b421b19)
- Define codeowners using company e-mail rather than nickname (9f5c973)
- changelog: Add missing dependency on @lmc-eu/conventional-changelog-lmc-github (90cadbb)
- changelog: Switch from bitbucket preset to Github preset (6bf904a)
- Rename commitlint config to be dot notated (c9aadcb)
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
Code Refactoring
- typescript: Introduce support for Typescript language #CCM-40 (3b34deb)
- typescript: Migrate all source files to Typescript (c74e5a8)
- typescript: Separate types for cookie consent manager (cf0e933)
- languages: Introduce types for language configuration (4b20feb)
- Use category instead of level in type names (d348f59)
Dependencies
- Pin dependencies (5bd9f67)
- Update dependency @lmc-eu/spirit-design-tokens to ^0.5.0 (1778c57)
- Upgrade @lmc-eu/esling-config-base to 1.1.0 (9e3a217)
Features
- Add more theming options for links and buttons (
--lmcccm-link-text-decoration
,--lmcccm-link-hover-text-decoration
,--lmcccm-btn-text-transform
) (8ee958b) - Attempt to overlap UI of other third-party plugins (693fe02)
Chores
- Add script for code coverage by tests (86220c8)
- typescript: Remove unused babel because we use tyescript #CCM-40 (45b9e6c)
- typescript: Run type check on ci pipeline #CCM-40 (652d367)
Styles
- Use additional insights of eslint's base config as recommended (2bd3398)
Tests
- Fix module naming collision by ignoring
./dist
directory (a933611)