Releases: freshheads/cookie-guard
Releases · freshheads/cookie-guard
v4.0.1
What's Changed
- Fix label in README by @svenluijten in #34
- chore: mark context provider as client component by @martinbroos in #36
New Contributors
- @svenluijten made their first contribution in #34
Full Changelog: v4.0.0...v4.0.1
v4.0.0
What's Changed
V4.0 is React only
Build with Vite
New Contributors
- @rensio made their first contribution in #27
- @dependabot made their first contribution in #29
- @sunnyfeijen made their first contribution in #32
Full Changelog: v3.0.0...v4.0.0
v3.0.0
For changes see notes of alpha releases.
To upgrade from 2.x to 3.x check the upgrade guide.
v3.0.0-alpha.1
- Reverts to ES5 build due to problems when using the library in webpack with babel that needs to be converted to ES5. Will be fixed in next release if we already want to move forward and serve ES2015 code for modern browsers.
v3.0.0-alpha.0
- [ADDED] Accepting / Refusing cookie consent without notification being visible on page. Useful for settings page, use CookieConsentStore.
- [CHANGED] Rewrite in Typescript with better separation of concerns
- [CHANGED] Publish build with typescript
- [CHANGED] Builds into ES2015 instead of ES5
- [CHANGED] Moved styles out of src directory as these are not part of the build
- [CHANGED] No longer publish src directory
- [CHANGED] Names of some config parameters to make them more clear
- [REMOVED] Option to set custom name for request count watcher cookie to simplify implementation
- [REMOVED] onRevoke selector / callback is dropped in favor of using the CookieConsentStore
v2.1.0
Added
- option to automatically accept cookies after x requests
v2.0.3
Update
- dev dependencies updated, including babel 6 to 7.x
- deep merge, cookie-js updated
Fixes
- Build errors when merging options
v2.0.2
[FIX] Non-existent guardedScript
result throwing
v2.0.1
[FIX] that the user can't scroll on mobile
v2.0.0
- no longer remove revoke elements from DOM this can be done in the callback if needed