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