v2.8.0
版本发布时间: 2022-01-16 03:01:05
orestbida/cookieconsent最新发布版本:v3.0.1(2024-04-03 05:40:35)
What's Changed
- Clear unused cookies
onFirstAction
by @orestbida in https://github.com/orestbida/cookieconsent/pull/169 -
data-cc
attribute now supports:accept-all
,accept-necessary
andaccept-selection
values by @orestbida in https://github.com/orestbida/cookieconsent/pull/170
<!--- Example --> <button type="button" data-cc="accept-all">Accept all categories</button>
- Added new
mode
option:opt-in
/opt-out
by @orestbida in https://github.com/orestbida/cookieconsent/pull/173 - Added
.updateLanguage(<lang>)
method by @orestbida in https://github.com/orestbida/cookieconsent/pull/174 - Allow
.getConfig()
to retrieve all config. properties by @orestbida in https://github.com/orestbida/cookieconsent/pull/197 - Allow
.updateLanguage(<lang>, <force>)
to forcefully refresh current modals by @orestbida in https://github.com/orestbida/cookieconsent/pull/199 - Minor code refactoring by @orestbida in https://github.com/orestbida/cookieconsent/pull/198
Bugfixes
- Fix csp
nonce
attribute ignored by @orestbida in https://github.com/orestbida/cookieconsent/pull/167 - Fix
.allowedCategory()
when mode is set toopt-out
by @orestbida in https://github.com/orestbida/cookieconsent/pull/178 - Fix collapsed/expanded indicator inside settings modal by @orestbida in https://github.com/orestbida/cookieconsent/pull/184
- Re-attach event handlers after
.updateLanguage()
by @orestbida in https://github.com/orestbida/cookieconsent/pull/196
New Contributors
- @KamilPesek made their first contribution in https://github.com/orestbida/cookieconsent/pull/194
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v2.7.2...v2.8.0