Skip to content

Releases: danielsitek/dgp-cookie-consent

DKP Cookie Consent v1.6.3

06 Mar 10:48
Compare
Choose a tag to compare

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 is false.

Full Changelog: v1.6.2...v1.6.3

DKP Cookie Consent v1.6.2

31 Jan 13:40
Compare
Choose a tag to compare

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

29 Jan 21:13
Compare
Choose a tag to compare

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 is false,
  • Add links to other tabs or actions "allow all" or "reject all" to text content areas鈥攎ore 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.

Full Changelog: v1.6.0...v1.6.1

DKP Cookie Consent v1.6.0

05 Dec 16:55
Compare
Choose a tag to compare

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

14 Apr 13:10
Compare
Choose a tag to compare

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

13 Apr 08:41
Compare
Choose a tag to compare

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

12 Apr 12:09
Compare
Choose a tag to compare

Main changes:

  • Created customizable dark mode theme.

Full Changelog: v1.4.1...v1.5.0

DKP Cookie Consent v1.4.1

11 Apr 15:14
Compare
Choose a tag to compare

Main changes:

  • Fixed switch background on iOS.
  • Fixed rendering multiple consent elements.
  • Updated cookie definition - added Secure and SameSite=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

DKP Cookie Consent v1.4.0

04 Feb 10:12
Compare
Choose a tag to compare

Main changes:

  • Improved accessibility.
  • Fixed gap between buttons on Safari 14 and 13.
  • Added settings object for possible future options.
  • Added optional "Reject All" button to first and the last tab.
  • Added button-border-radius theme option.
  • Updated README with all new features.
  • Some code improvements.

Full Changelog: v1.3.0...v1.4.0

DKP Cookie Consent v1.3.0

18 Jan 07:27
Compare
Choose a tag to compare

Main changes:

  • Improved script size by minified CSS class names.
  • Removed hashing on consent data cookie with auto-update older consent.
  • Generated consent ID on script load and save it to consent data cookie with auto-update older consent.
  • Set type of consent which is dependent on what consent user chose and save it to consent data cookie with auto-update older consent.
  • Added more lifecycle events: consent-show, consent-hide, consent-ready.
  • Updated README with all new features.
  • Some code improvements.

Full Changelog: v1.2.0...v1.3.0