:cookie: Simple cross-browser cookie-consent plugin written in vanilla js
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v3.0.0...v3.0.1
First stable v3 release! 🎉
You can check out v3 on the playground.
.json
files)There are way too many changes compared to v2; the configuration, api, custom attributes ... everything is different, although the end result is essentially the same. I personally find it faster to just start from scratch rather than trying to adapt the previous configuration.
YES. Although v2 will still receive some maintenance updates, it will eventually be sunset.
A huge thanks to everyone who contributed!
<service>.cookies
option to easily erase cookies 526068838949aff31676aa2cb1ba912e7aef2d33 3655a1b2c3acf4341b58819256e68516f5beb71aFull Changelog: https://github.com/orestbida/cookieconsent/compare/v3.0.0-rc.16...v3.0.0-rc.17
aria-level
attribute ecc9d6d (ref. #544).updateScripts()
method doesn't work when mode is set to 'opt-out'
a2b9fb8 (ref. #556).validConsent()
method to easily check if consent is valid or not 7beb89b33440c279c19c6c62268efb168973aaf0Full Changelog: https://github.com/orestbida/cookieconsent/compare/v2.9.1...v2.9.2
equalWeightButtons
does not default to true
6596054 (ref. #541)bar
layout is broken if button order is flipped bb1a160 (ref. #539)yarn add
issue caused by npx only-allow pnpm
preinstall script fa01925 (ref. #548)serviceCounterLabel
by @MoritzLost in https://github.com/orestbida/cookieconsent/pull/535
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v3.0.0-rc.15...v3.0.0-rc.16
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v3.0.0-rc.14...v3.0.0-rc.15
th
tags c2623fb8765a2d840e14821519f05cfbea8ea3df (ref. #483).setLanguage()
3d54c535f4d12cbb50b88c02772498714096d667preferencesModal
is closed a51dd88254e53df978eb6110281cc60466710c25 (ref. #481)cookieTable.caption
for better a11y 35b3457069ac9aaa0a795f5679b5ff6edb1f972f a306cb37f7d2eaeb1c370a37b5b0b13918832846 (ref. #485)z-index
via --cc-z-index
91e1877d2d2e07391fb72c83deca5177632fc0f6 (ref. #501)data-type
attribute by @orestbida in https://github.com/orestbida/cookieconsent/pull/514
prefers-reduced-motion
is enabled 8a34f86f47b0d90246dcf356e18e25898742a33cFull Changelog: https://github.com/orestbida/cookieconsent/compare/v3.0.0-rc.13...v3.0.0-rc.14
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v2.9.0...v2.9.1
type
via the data-type
attribute 0b1d14a69b980cbb3349dc8bc10a11b921a0ae4a (ref. #487)settings_modal.cookie_table_caption
option for better a11y bdfe84e161b3e6e633e9e4968a9d7558de7460a9 e1bada31aa2f39302081039aa2c13b1a9f544961 (ref. #485)z-index
value via the --cc-z-index
css variable 9707cceab03ce2998da6659abe80b8c1cb18403fdata-cc
attributes on all HTML elements e5ab6a0eb95ab4ef728d1b61596c1490ea40471c (ref. #502)prefers-reduced-motion
is enabled fbfd628beea3361af4030e496776e70b2c4bb849settings_modal
4ef841d355eea315e0010ee55ee6914d91a6e916 (ref. #481)hide_from_bots
is true
by default rather than false
by @MaximumP in https://github.com/orestbida/cookieconsent/pull/448
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v2.8.9...v2.9.0
vitepress
to latest versiondist/core/cookieconsent-core.esm.js
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v3.0.0-rc.12...v3.0.0-rc.13