Skip to content

Releases: 68publishers/cookie-consent

v1.1.0

19 Sep 12:12
Compare
Choose a tag to compare

1.1.0 - 2024-09-19

Added

  • Added GTM template field "Init widget after DOMContentLoaded".
  • Added Portuguese translations.

Changed

  • Moved the package under the organization - @68publishers/cookie-consent.
  • The widget is now initialized as soon as possible instead of waiting for DOMContentLoaded event. This behavior can be changed back via the new option "Init widget after DOMContentLoaded".
  • Improved Interaction to Next Paint (INP) metric when a user gives a consent.
  • Updated README.

Fixed

  • Corrected Polish translations.

v1.1.0-beta.0

30 Aug 03:43
Compare
Choose a tag to compare
v1.1.0-beta.0 Pre-release
Pre-release
chore: release v1.1.0-beta.0

v1.0.0

21 Jun 00:42
Compare
Choose a tag to compare

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.

v0.5.3

10 May 02:45
Compare
Choose a tag to compare

❗ Don't forget to update the template in your GTM

Added

  • Added field User RFC cookie into the GTM template.
  • Added property CookieConsentWrapper.consentCookieValue that returns raw consent value as a string or null if no consent exists.

v0.5.2

04 Apr 04:42
Compare
Choose a tag to compare

Fixed

  • Fixed integration with CMP Cookies API (#74).

v0.5.1

27 Feb 23:35
Compare
Choose a tag to compare

Added

  • Added default translations for Croatian (hr).
  • Added default translations for Italian (it).
  • Added default translations for Norwegian (no).
  • Added default translations for Swedish (sv).
  • Added default translations for Ukrainian (uk).

Changed

  • Updated translations for Bulgarian (bg).

v0.5.0 - GCM v2

27 Feb 05:19
Compare
Choose a tag to compare

❗ Don't forget to update the template in your GTM

Added

  • Added new storages ad_user_data and ad_personalization in the GTM template (Google Consent Mode v2 integration).
  • Added new translation keys ad_user_data_title, ad_user_data_description, ad_personalization_title and ad_personalization_description.
  • Added the Migration from v0.4 to v0.5 guide

Changed

v0.4.8

15 Feb 21:53
Compare
Choose a tag to compare

❗ Don't forget to update the template in your GTM

Added

  • Added fields Integration > CMP API > Default environment and Integration > CMP API > Environment code in the GTM template.
  • Added option evironment in the CmpApiOptions. The environment is taken into account in the integration with CMP.
  • Added getter CookieConsentWrapper.consentCookieData that returns data from the consent cookie (cc-settings by default) as an object or null if the consent doesn't exists.

Changed

  • Credentials are now omitted in CPM integration requests.

v0.4.7

03 Oct 23:35
Compare
Choose a tag to compare

Added

  • Added default translations for Dutch (nl) language.

Changed

  • Updated all dependencies including the original plugin (vanilla-cookieconsent@^2.9.2).
  • The wrapper now includes CSS styles of the original plugin corresponding to its version.

Fixed

  • Fixed npm audit vulnerability.

v0.4.6

01 Sep 07:41
Compare
Choose a tag to compare

Added

  • Added missing translation keys in the GTM template.
  • Added default translations for Finnish (fi) language.