Skip to content

Releases: dargmuesli/nuxt-cookie-control

4.0.3

29 Jan 23:44
Compare
Choose a tag to compare

4.0.3 (2023-01-29)

Bug Fixes

  • locale: correct language switch reactivity (5957224)

4.0.2

29 Jan 21:37
Compare
Choose a tag to compare

4.0.2 (2023-01-29)

Bug Fixes

  • locale: simplify german cookie manage string (df4899d)

4.0.1

29 Jan 19:58
Compare
Choose a tag to compare

4.0.1 (2023-01-29)

Bug Fixes

  • component: remove color set check (3d942ed), closes #31
  • types: set all module options defined (65a183e)

4.0.0

29 Jan 18:53
Compare
Choose a tag to compare

4.0.0 (2023-01-29)

BREAKING CHANGES

  • add accept locale string
  • rename acceptNecessary locale string todecline
  • rename barDescription locale string to bannerDescription
  • rename barTitle locale string to bannerTitle
  • rename blockedIframe locale string to iframeBlocked
  • rename functional locale string to cookiesFunctional
  • rename necessary locale string to cookiesNecessary
  • rename optional locale string to cookiesOptional
  • remove none locale string, do not show empty cookie types
  • rename unsaved locale string to settingsUnsaved

4.0.0-beta.2

18 Jan 03:36
Compare
Choose a tag to compare
4.0.0-beta.2 Pre-release
Pre-release

4.0.0-beta.2 (2023-01-18)

Bug Fixes

  • locale: revert decline all translation (fd09a21)

4.0.0-beta.1

18 Jan 03:29
Compare
Choose a tag to compare
4.0.0-beta.1 Pre-release
Pre-release

4.0.0-beta.1 (2023-01-18)

  • feat(locale)!: rework locale strings (abd302b)

BREAKING CHANGES

    • add accept locale string
  • rename acceptNecessary locale string todecline
  • rename barDescription locale string to bannerDescription
  • rename barTitle locale string to bannerTitle
  • rename blockedIframe locale string to iframeBlocked
  • rename functional locale string to cookiesFunctional
  • rename necessary locale string to cookiesNecessary
  • rename optional locale string to cookiesOptional
  • remove none locale string, do not show empty cookie types
  • rename unsaved locale string to settingsUnsaved

3.0.0

14 Jan 16:34
Compare
Choose a tag to compare

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 and isConsentGiven 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

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

14 Jan 06:10
Compare
Choose a tag to compare
3.0.0-beta.7 Pre-release
Pre-release

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

Bug Fixes

  • cookie: set same-site to strict (0ab00f7)

3.0.0-beta.6

14 Jan 05:59
Compare
Choose a tag to compare
3.0.0-beta.6 Pre-release
Pre-release

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

Bug Fixes

  • use js-cookie outside component (9b689d9)

3.0.0-beta.5

14 Jan 04:51
Compare
Choose a tag to compare
3.0.0-beta.5 Pre-release
Pre-release

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

Bug Fixes

  • cookie-control: properly save partial cookie configurations (ebb396e)