Releases: dargmuesli/nuxt-cookie-control
Releases · dargmuesli/nuxt-cookie-control
4.0.3
4.0.2
4.0.1
4.0.0
4.0.0 (2023-01-29)
BREAKING CHANGES
- add
accept
locale string - rename
acceptNecessary
locale string todecline
- rename
barDescription
locale string tobannerDescription
- rename
barTitle
locale string tobannerTitle
- rename
blockedIframe
locale string toiframeBlocked
- rename
functional
locale string tocookiesFunctional
- rename
necessary
locale string tocookiesNecessary
- rename
optional
locale string tocookiesOptional
- remove
none
locale string, do not show empty cookie types - rename
unsaved
locale string tosettingsUnsaved
4.0.0-beta.2
4.0.0-beta.1
4.0.0-beta.1 (2023-01-18)
- feat(locale)!: rework locale strings (abd302b)
BREAKING CHANGES
-
- add
accept
locale string
- add
- rename
acceptNecessary
locale string todecline
- rename
barDescription
locale string tobannerDescription
- rename
barTitle
locale string tobannerTitle
- rename
blockedIframe
locale string toiframeBlocked
- rename
functional
locale string tocookiesFunctional
- rename
necessary
locale string tocookiesNecessary
- rename
optional
locale string tocookiesOptional
- remove
none
locale string, do not show empty cookie types - rename
unsaved
locale string tosettingsUnsaved
3.0.0
3.0.0 (2023-01-14)
🔥 BREAKING CHANGES
- feat!: rework control persistence (7631391)
- feat(plugin)!: do not initialize cookies (2d85581)
- feat!: remove page reload (9b85dd9)
🚚 Migration instructions
- expect the following new names for cookies which were previously called
(cookie_control_consent, cookie_control_enabled_cookies)
:(cookie_control_is_consent_given, cookie_control_cookies_enabled_ids)
- remove methods
useAcceptNecessary
,acceptNecessary
,useSetConsent
,getCookieControlConsent
,clearCookies
,setHead
,setConsent
,setCookies
- expect state properties
cookiesEnabled
,cookiesEnabledIds
andisConsentGiven
to be possibly undefined - expect required cookies to be included in enabled cookie list
- potentially check for existence of cookie control's own cookies potentially as no cookie is being saved until a user allows cookies to be saved now
- do not expect the library to trigger page reloads anymore and instead decide if you need a page reload on cookie configuration change yourself
- simply
watch
enabled cookies for changes you wish a page reload for and execute it in your client's code as shown in v2.0.0
- simply
Features
- add module option to switch target id visibility (4264052)
- add ability to customize module's own cookie names and expiry
- add method
getCookieIds
Bug Fixes
- cookie-control: correct local cloned state configuration usage (393d59f)
- cookie-control: properly save partial cookie configurations (ebb396e)
- cookie-control: update local configuration on global change (8a253eb)
- cookie: set same-site to strict (0ab00f7)
- locale: correct decline string (f7bce65)
- module: remove unused Nuxt 2 code (bd7b234)
- playground: correct locale type (189e937)
- use js-cookie outside component (9b689d9)
- correct display of unsaved changes hint
- properly initialize state by reading from cookies
3.0.0-beta.7
3.0.0-beta.6
3.0.0-beta.5
3.0.0-beta.5 (2023-01-14)
Bug Fixes
- cookie-control: properly save partial cookie configurations (ebb396e)