Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): 3.0.0-beta.2 [skip ci]
# [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.
- Loading branch information