Skip to content

3.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@dargmuesli dargmuesli released this 14 Jan 03:17
· 1244 commits to beta since this release

3.0.0-beta.2 (2023-01-14)

Bug Fixes

  • locale: correct decline string (f7bce65)

  • module: remove unused Nuxt 2 code (bd7b234)

  • feat!: rework control persistence (7631391)

  • feat(plugin)!: do not initialize cookies (2d85581)

BREAKING CHANGES

  • control persistence is reworked completely, see changes below
  • change own cookie names from (cookie_control_consent, cookie_control_enabled_cookies) to (cookie_control_is_consent_given, cookie_control_cookies_enabled_ids)
  • remove methods useAcceptNecessary, acceptNecessary, useSetConsent, getCookieControlConsent, clearCookies, setHead, setConsent, setCookies
  • state properties cookiesEnabled, cookiesEnabledIds and isConsentGiven can be undefined
  • include required cookies in enabled cookie list

feat:

  • add ability to customize module's own cookie names and expiry
  • add method getCookieIds

fix:

  • correct display of unsaved changes hint
  • properly initialize state by reading from cookies
  • no cookie is being saved until a user allows cookies to be saved. You now need to check for existence of cookie control's own cookies.