Skip to content
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 22 commits into from
Jan 14, 2023
Merged

feat!: v3 #23

merged 22 commits into from
Jan 14, 2023

Commits on Jan 13, 2023

  1. feat!: remove page reload

    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.
    dargmuesli committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    9b85dd9 View commit details
    Browse the repository at this point in the history
  2. chore(release): 3.0.0-beta.1 [skip ci]

    # [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.
    semantic-release-bot committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    cf27598 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2023

  1. feat(plugin)!: do not initialize cookies

    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.
    dargmuesli committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    2d85581 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7bce65 View commit details
    Browse the repository at this point in the history
  3. fix(module): remove unused Nuxt 2 code

    The module currently only supports Nuxt 3.
    dargmuesli committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    bd7b234 View commit details
    Browse the repository at this point in the history
  4. feat!: rework control persistence

    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
    dargmuesli committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    7631391 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4495c54 View commit details
    Browse the repository at this point in the history
  6. 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.
    semantic-release-bot committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    4bca5f4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    189e937 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    393d59f View commit details
    Browse the repository at this point in the history
  9. chore(release): 3.0.0-beta.3 [skip ci]

    # [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))
    semantic-release-bot committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    5634046 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4264052 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8a253eb View commit details
    Browse the repository at this point in the history
  12. chore(release): 3.0.0-beta.4 [skip ci]

    # [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))
    semantic-release-bot committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    9962060 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ebb396e View commit details
    Browse the repository at this point in the history
  14. chore(release): 3.0.0-beta.5 [skip ci]

    # [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))
    semantic-release-bot committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    d4a3f7d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9b689d9 View commit details
    Browse the repository at this point in the history
  16. chore(release): 3.0.0-beta.6 [skip ci]

    # [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))
    semantic-release-bot committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    5d155ac View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0ab00f7 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5da85fa View commit details
    Browse the repository at this point in the history
  19. chore(release): 3.0.0-beta.7 [skip ci]

    # [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))
    semantic-release-bot committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    c82093d View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ed4f794 View commit details
    Browse the repository at this point in the history