Releases: danielsitek/dgp-cookie-consent
Releases · danielsitek/dgp-cookie-consent
DKP Cookie Consent v1.7.0
DKP Cookie Consent v1.6.4
Main changes:
- Updated GitHub actions by @danielsitek in #18
- Fixed "failed to execute atob on windows" by @danielsitek in #19
- Fix circular dependency by @danielsitek in #20
Full Changelog: v1.6.3...v1.6.4
DKP Cookie Consent v1.6.3
Main changes:
- Updated
package.json
name and description. - Created
types.d.ts
TypeScript declaration file. - Added visibility setting for cross button with
disableCross
. Default value isfalse
.
Full Changelog: v1.6.2...v1.6.3
DKP Cookie Consent v1.6.2
Main changes:
- Bumped release version to fix bug with forEach over NodeList.
Full Changelog: v1.6.1...v1.6.2
DKP Cookie Consent v1.6.1
Main changes:
- You can toggle the button "Allow All" visibility on the second (middle) tab with settings:
tabDetails.showButtonAllowAll
. - Header visibility is now optional. You can change it with the
disableHeader
option in settings. The default value isfalse
, - Add links to other tabs or actions "allow all" or "reject all" to text content areas—more info in readme.
- More optimisations and refactoring:
- The
createComponent
function was rewritten to create virtual DOM elements. - All components are refactored from the ground up.
ConsentDialog
class refactored and decomposed to smaller components.
- The
Full Changelog: v1.6.0...v1.6.1
DKP Cookie Consent v1.6.0
Main changes:
- Buttons "Reject All" on the first and last tab are now visible by default. You can still alter their visibility in settings.
- Modal window is now aligned to the bottom of the page, because of legal requirements.
- New cross button in the modal window.
- By clicking on it, the modal window will hide until the page reload. This feature was also added because of legal requirements.
- Click on the cross button fires a new event
consent-close
.
- Added badge button.
- A new simple badge button stays visible on the page after closing the modal window.
- Click on the badge button will show the modal window.
- By default the badge button is enabled, you can disable it with a new settings option
disableBadge
.
Full Changelog: v1.5.2...v1.6.0
DKP Cookie Consent v1.5.2
Main changes:
- Fixed bug:
- Uncaught TypeError: Cannot read properties of undefined (reading 'enableDarkMode')
Full Changelog: v1.5.1...v1.5.2
DKP Cookie Consent v1.5.1
Main changes:
- Dark mode is now disabled by default.
- You can enable the automatic switch to the dark mode theme via the
enableDarkMode
settings.
Full Changelog: v1.5.0...v1.5.1
DKP Cookie Consent v1.5.0
DKP Cookie Consent v1.4.1
Main changes:
- Fixed switch background on iOS.
- Fixed rendering multiple consent elements.
- Updated cookie definition - added
Secure
andSameSite=Lax
parameters. - Created new script
cookies-gtm.js
available via CDN, with a predefined implementation with GTM. For a simple implementation, you can include only this script from CDN and that's all. - Updated GitHub Actions workflows.
Full Changelog: v1.4.0...v1.4.1