-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: v3 #23
Merged
Merged
feat!: v3 #23
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BREAKING CHANGE: decide if you need a page reload on cookie configuration change yourself instead! Simply `watch` enabled cookies for changes you wish a page reload for and execute it in your client's code instead of having page reloads forced upon you.
# [3.0.0-beta.1](2.2.4...3.0.0-beta.1) (2023-01-13) * feat!: remove page reload ([9b85dd9](9b85dd9)) ### BREAKING CHANGES * decide if you need a page reload on cookie configuration change yourself instead! Simply `watch` enabled cookies for changes you wish a page reload for and execute it in your client's code instead of having page reloads forced upon you.
BREAKING CHANGE: 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.
The module currently only supports Nuxt 3.
BREAKING CHANGE: 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
# [3.0.0-beta.2](3.0.0-beta.1...3.0.0-beta.2) (2023-01-14) ### Bug Fixes * **locale:** correct decline string ([f7bce65](f7bce65)) * **module:** remove unused Nuxt 2 code ([bd7b234](bd7b234)) * feat!: rework control persistence ([7631391](7631391)) * feat(plugin)!: do not initialize cookies ([2d85581](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.
# [3.0.0-beta.3](3.0.0-beta.2...3.0.0-beta.3) (2023-01-14) ### Bug Fixes * **cookie-control:** correct local cloned state configuration usage ([393d59f](393d59f)) * **playground:** correct locale type ([189e937](189e937))
# [3.0.0-beta.4](3.0.0-beta.3...3.0.0-beta.4) (2023-01-14) ### Bug Fixes * **cookie-control:** update local configuration on global change ([8a253eb](8a253eb)) ### Features * add module option to switch target id visibility ([4264052](4264052))
# [3.0.0-beta.5](3.0.0-beta.4...3.0.0-beta.5) (2023-01-14) ### Bug Fixes * **cookie-control:** properly save partial cookie configurations ([ebb396e](ebb396e))
# [3.0.0-beta.6](3.0.0-beta.5...3.0.0-beta.6) (2023-01-14) ### Bug Fixes * use js-cookie outside component ([9b689d9](9b689d9))
# [3.0.0-beta.7](3.0.0-beta.6...3.0.0-beta.7) (2023-01-14) ### Bug Fixes * **cookie:** set same-site to strict ([0ab00f7](0ab00f7))
🎉 This PR is included in version 3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.