Releases: orestbida/cookieconsent
Releases · orestbida/cookieconsent
cookieconsent v3.0.0-beta.1
What's Changed
- Allow html inside buttons, close #206 by @orestbida in #212
- Add optional parameter to create the
consent_modal
if it doesn't exist by @orestbida in #241 - Enable by default
page_scripts
andhide_from_bots
options by @orestbida in #242
Full Changelog: v2.8.0...v3.0.0-beta.1
cookieconsent v2.8.0
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
cookieconsent v2.7.2
What's Changed
- Fixed
cookie_necessary_only_expiration
option in #164
Full Changelog: v2.7.1...v2.7.2
cookieconsent v2.7.1
What's Changed
- Pass cookie data also to
onFirstAction
callback by @OndraM in #138 - Fix
.getUserPreferences()
not working if consent is already given by @orestbida in #140 - Fix wrong
background-color
on old browsers that don't support css variables by @orestbida in #140
Full Changelog: v2.7.0...v2.7.1
cookieconsent v2.7.0
What's Changed
features/tweaks:
- Added
.updateScripts()
method to manage dynamically added scripts by @orestbida in #106 - Added
.getConfig()
method to read configuration values by @OndraM in #113 - Added language autodetection strategy based on
<html lang>
by @OndraM in #115 - Added
swap_buttons
inside gui_options to invert button's order in #131 - Added
onFirstAction
andgetUserPreferences()
for logging/analytics purposes in #131 - Added
cookie_necessary_only_expiration
option in #131 - Always allow the
middle
position insidegui_options
in #131
bugfixes:
- fix bug with Shut Up: Comment Blocker in #107
- handle exception when json string is malformed in #109
Full Changelog: v2.6.2...v2.7.0
cookieconsent v2.7.0-rc3
What's Changed
- fix issue caused by the minification process by @orestbida in #123
Full Changelog: v2.7.0-rc2...v2.7.0-rc3
cookieconsent v2.7.0-rc2
What's Changed
- bugfix: Avoid renaming object properties in Closure compiler by @OndraM in #120
- update version number to v2.7.0-rc2 by @orestbida in #121
Full Changelog: v2.7.0-rc1...v2.7.0-rc2
cookieconsent v2.7.0-rc1
What's Changed
- Fix anchor in readme TOC by @OndraM in #102
- added
.updateScripts()
method to manage dynamically added scripts by @orestbida in #106 - fix bug with Shut Up: Comment Blocker by @orestbida in #107
- handle exception when json string is malformed by @orestbida in #109
- Add method to read configuration values by @OndraM in #113
- Add language autodetection strategy based on
<html lang>
by @OndraM in #115 - v2.7.0-rc1 by @orestbida in #119
Full Changelog: v2.6.2...v2.7.0-rc1
cookieconsent v2.6.2
cookieconsent v2.6.1
changelog:
- 🚨breaking change: if
use_rfc_cookie
is enabled, encode cookie value usingencodeUriComponent
instead ofbtoa
(base64) - fix accessibility issue