Skip to content

Releases: orestbida/cookieconsent

cookieconsent v3.0.0-rc.12

16 Jan 12:26
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Fix .acceptService does not work when preferencesModal does not exist ba770c2 e34457a (ref. #434)
  • Fix .acceptService sometimes fails to check/uncheck the correct checkboxes ddac3a2
  • Fix transform: scale() causes toggles to randomly glitch in Safari 53c478d
  • Fix incorrect spacing and alignment when service's label is very long 395ea51

Tweaks

  • Service.enabled option should only work if mode: 'opt-out' 7439f71

Other

  • Add CONTRIBUTING.md guide cad650f
  • Update all dev. dependencies to the latest version
  • Prevent Stale Bot from closing issues if they haven't been "triaged" yet 61f146d

Full Changelog: v3.0.0-rc.11...v3.0.0-rc.12

cookieconsent v3.0.0-rc.11

28 Nov 21:13
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Fix modals out of viewport when no guiOptions is provided, due to missing default layout classes 349192e

Full Changelog: v3.0.0-rc.10...v3.0.0-rc.11

cookieconsent v3.0.0-rc.10

28 Nov 01:40
Compare
Choose a tag to compare
Pre-release

Breaking Changes

  • Use a simple object — rather than an array of objects — for the (optional) attributes in .loadScript() 3462415

    CookieConsent.loadScript('<path>', {
        'id': 'my-id',
        'another-attr': 'another-value'
    });

Enhancements

  • Tweak border-radius and allow fancier values dbe02f7
  • Use safer overscroll-behavior to avoid issues with panning while zoomed in 7f97984
  • Remove unnecessary fields in types.d.ts 5dea84b

Bug Fixes

  • Fix error when acceptService() is called but no service is defined b11b9ef

Other

Full Changelog: v3.0.0-rc.9...v3.0.0-rc.10

cookieconsent v2.8.9

28 Nov 00:39
d33d2c1
Compare
Choose a tag to compare

Bugfixes

  • Fix missing data-cc event listener when consent modal is re-created 8147993 (ref. #424)
  • Fix missing reload option in types.d.ts 0892d83

Other

  • Switch to pnpm and update dev. dependencies b317760

Full Changelog: v2.8.8...v2.8.9

cookieconsent v3.0.0-rc.9

11 Nov 17:50
Compare
Choose a tag to compare
Pre-release

Enhancements

Bugfixes

  • Fix focus trap not working after .setLanguage() 618fea1
  • Fix buttons not inlined properly on some layouts 5cfd354 7fbcd4d
  • Fix minor a11y issue: add aria-labelledby only if title is provided 9a81694
  • Add top-right close icon only if title is provided to avoid overlapping elements 4760aef

Other

Full Changelog: v3.0.0-rc.8...v3.0.0-rc.9

cookieconsent v3.0.0-rc.8

24 Oct 15:09
Compare
Choose a tag to compare
Pre-release

Bugfixes

  • Fix preferencesModal is re-created on each mouse hover 435d3d1 (ref. #398)

Full Changelog: v3.0.0-rc.7...v3.0.0-rc.8

cookieconsent v3.0.0-rc.7

19 Oct 00:12
Compare
Choose a tag to compare
Pre-release

Bugfixes

  • Fix lazyHtmlGeneration breaks methods such as acceptCategory() a35e88b (ref. #384)
  • Fix potential issues caused by changes in the plugin's config. object. (5077129) (ref. #389)
  • Fix minor button inconsistencies caused by unexpectedly long/short strings c57ee2e

Enhancements

  • The root option now accepts a querySelector string 7d0a239
  • The serviceCounterLabel option now allows for both singular and plural labels 48620a7
  • Hide services counter if no label is provided 8d81a56
  • Pass the modal HTMLElement to the onModalReady callback 3628243 7e5a201
  • Slightly increase transition duration on bar layout 321b36c
  • Use a simpler service icon 56b73a7

Docs

  • Update the onModalReady callback/event 61be2b7
  • Update the root option 377d9b6

Other

Full Changelog: v3.0.0-rc.6...v3.0.0-rc.7

cookieconsent v2.8.8

18 Oct 23:29
Compare
Choose a tag to compare

Bugfixes

  • Fix for variable scope issue (autoclear function) @at0mat in #392

Minor tweaks

Docs

  • Fix incorrect usage of the allowedCategory method in Readme.md by @stephenheron in #373

New Contributors

Full Changelog: v2.8.6...v2.8.8

cookieconsent v3.0.0-rc.6

01 Oct 14:21
Compare
Choose a tag to compare
Pre-release

Bugfixes

  • Fix: incorrect types due to changes in the previous rc release (93ccc79)
  • Fix: plugin is executed twice inside the useEffect hook in dev/strict mode in React (#383) (94fb83a)

Full Changelog: v3.0.0-rc.5...v3.0.0-rc.6

cookieconsent v3.0.0-rc.5

19 Sep 00:13
Compare
Choose a tag to compare
Pre-release

Core Changes

  • BC: remove .init() method (c86809c)
  • Fix: onReject is not a function error when no onReject method is provided (278781d)
  • Fix: disablePageInteraction did not block page scroll (beefbef)
  • Fix: ui glitch on Safari that caused the smaller toggles to become invisible (37742f7)
  • Fix: .reset() method did not remove data-cc event listeners by @orestbida (fb87a0a)
  • Fix: double/overlapping top-border on the cookie table (f7e0136)
  • New: added lazyHtmlGeneration (enabled by default) for better performance (956a05e)
  • New: added onModalReady callback/event (956a05e)
  • Use a neutral color scheme (ref. #366) (867aaa2)
  • Set the z-index value to max. allowed value (ref. #377) (ff9e2ae)
  • Minor tweaks to padding and border radius
  • Code refactoring/cleanup

Docs

  • Fix: autoClear example with cookie by @clgleroux in #357
  • Update angular example (ed88e27)
  • Added docs. section about lazyHtmlGeneration option and onModalReady callback

Full Changelog: v3.0.0-rc.4...v3.0.0-rc.5