Skip to content

v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jun 00:42
· 8 commits to main since this release

1.0.0 - 2024-06-21

Upgrade instructions

  • Update the GTM template.
  • Consider rewriting event listeners to events of the CookieConsentWrapper object via variable window.cookieConsentWrapperEvents. For more information follow the documentation.

Added

  • Added safe CookieConsentWrapper events attaching via window variable window.cookieConsentWrapperEvents.
  • DX: Added Eslint.
  • DX: Added GitHub Actions.

Changed

  • Default translations are loaded dynamically based on the settings in the GTM "Locales" field.
  • Added ability to load custom default translations in .json and .js format.
  • Reduced compiled cookie-consent script size.
  • Updated GTM template.
  • Updated README.
  • DX: Rewritten from CommonJS to ESM.