Releases: 68publishers/cookie-consent
Releases · 68publishers/cookie-consent
v1.1.0
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
chore: release v1.1.0-beta.0
v1.0.0
1.0.0 - 2024-06-21
Upgrade instructions
- Update the GTM template.
- Consider rewriting event listeners to events of the
CookieConsentWrapper
object via variablewindow.cookieConsentWrapperEvents
. For more information follow the documentation.
Added
- Added safe
CookieConsentWrapper
events attaching via window variablewindow.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
v0.5.2
v0.5.1
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
❗ Don't forget to update the template in your GTM
Added
- Added new storages
ad_user_data
andad_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
andad_personalization_description
. - Added the Migration from v0.4 to v0.5 guide
Changed
- Changed the way to configure storages (more information in the Migration from v0.4 to v0.5 guide).
- Updated README.
v0.4.8
❗ Don't forget to update the template in your GTM
Added
- Added fields
Integration > CMP API > Default environment
andIntegration > CMP API > Environment code
in the GTM template. - Added option
evironment
in theCmpApiOptions
. 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
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.