Skip to content

Releases: alma-oss/cookie-consent-manager

2.1.2

23 Mar 15:31
e1b83fc
Compare
Choose a tag to compare

Bug Fixes

  • Do not export const enums when using isolatedModules (6992c94)

Chores

  • Introduce action for test builds (b5bd866)

Dependencies

  • Update all dev dependencies (c85c75f)
  • Update all dev dependencies (fea704e)

Documentation

  • Using this library as typescript module (02cdd2c)

Styles

  • Switch from currentcolor to currentColor (72dd624)

2.1.1

08 Mar 11:12
05f383f
Compare
Choose a tag to compare

Bug Fixes

  • Make all properties of TranslationOverride type optional (2bb8bdd)

Dependencies

  • Update all dev dependencies (14c942f)

2.1.0

07 Mar 12:51
dd26b00
Compare
Choose a tag to compare

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

Documentation

  • upgrade: Fix typo (7b645c2)
  • Use consent configuration in examples (52ae52b)

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

11 Feb 12:31
e1f928f
Compare
Choose a tag to compare

See upgrade guide for upgrade guidance to version 2.0.

BREAKING CHANGES

Dependencies

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 over load 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

  • Configure package url for bug tracker (5c03f7d)
  • Do not exclude stylelint from automated updates anymore (dd53241)
  • stylelint:
    • Conform to updated stylelint rules (df8be8d)
    • Use the latest shared Stylelint config to resolve compatibility with Stylelint 14 (ab0080a)
  • Watch and build SCSS during development (340fd91)

1.3.0

05 Jan 10:16
7603508
Compare
Choose a tag to compare

Bug Fixes

  • Fix spacing too big after core library upgrade (7f7fd5d)

Dependencies

  • Update all dev dependencies (612ddd9)
  • Update dependency vanilla-cookieconsent to 2.7.2 (10920c4)

Documentation

  • Add cookie_necessary_only_expiration to configuration example (68230d6)

Features

  • Set shorter cookie expiration when only necessary category accepted #CCM-53 (929d8f3)

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

21 Dec 12:43
1be2300
Compare
Choose a tag to compare

Bug Fixes

  • Add missing cookie_name type in vanilla-cookieconsent declaration (81396b3)

Documentation

  • Fix links to previous version in changelog (783a997)

1.2.0

21 Dec 12:08
072dbfb
Compare
Choose a tag to compare

Code Refactoring

  • Enable new swap_buttons feature to proper button order by default #CCM-51 (cf2d3c4)
  • Use new getUserPreferences to retrieve actual user preferences #CCM-51 (d873a22)
  • Use new onFirstAction and simplify conditions #CCM-51 (96958d5)

Dependencies

Documentation

  • Add example to show all supported languages (d142f3b)
  • Fix stylelint violation in examples (b547900)

Features

1.1.2

19 Dec 21:38
f990a1d
Compare
Choose a tag to compare

Bug Fixes

  • types: Make options to be optional (73af5a3)

Chores

  • Improve jest tests performance (a994b3c)

1.1.1

16 Dec 14:25
54c2df8
Compare
Choose a tag to compare

Bug Fixes

  • Apply link text decoration also for secondary button (de5d7f8)

1.1.0

16 Dec 14:09
bdf5da2
Compare
Choose a tag to compare

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)