Releases: chiiya/haven
Releases · chiiya/haven
v0.7.0
ℹ️ CHANGELOG
- When a save button is present, cookie preferences are not applied immediately (upon checkbox value change) anymore. Instead they are only applied when the save button is clicked.
- Improved toggle accessibility.
v0.6.2
ℹ️ CHANGELOG
- Added API to access notification and preferences components
const haven = Haven.create(...);
haven.preferences.init();
haven.notification.init();
v0.6.1
v0.6.0
In this release, the bundling process has been improved. Haven now comes with better support for tree-shaking and improved source map support.
⚠️ BREAKING CHANGES
- Haven does not include any core-js polyfills anymore. This leads to a 50% reduction in bundle size. When using Haven in older browsers, make sure to include all necessary polyfills. The source code is still compiled down to ES5 using Babel.
ℹ️ CHANGELOG
- Updated dependencies
- Improved bundling process, removing polyfills and improving tree-shaking and source map support.
v0.5.11
ℹ️ CHANGELOG
- Fix consent cookies being set as session cookies (bug introduced in v0.5.8)
v0.5.10
v0.5.9
v0.5.8
ℹ️ CHANGELOG
- Add configuration option for consent cookie attributes (
cookieAttributes
)
v0.5.7
ℹ️ CHANGELOG
- Fix cookie-notification and cookie-preference components not being initialized when DOM content has already been loaded (in which case the
DOMContentLoaded
will not fire anymore).