Releases: orestbida/cookieconsent
Releases · orestbida/cookieconsent
cookieconsent v3.0.0-rc.12
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 ifmode: '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
Bug Fixes
- Fix modals out of viewport when no
guiOptions
is provided, due to missing defaultlayout
classes 349192e
Full Changelog: v3.0.0-rc.10...v3.0.0-rc.11
cookieconsent v3.0.0-rc.10
Breaking Changes
-
Use a simple object — rather than an array of objects — for the (optional) attributes in
.loadScript()
3462415CookieConsent.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
- Add playground and stackblitz demo links in the navbar b60c05a
- Add test for the
root
option 5902b8e - Update dev. dependencies 17d4dc4
- Major code refactoring 3b3e114
Full Changelog: v3.0.0-rc.9...v3.0.0-rc.10
cookieconsent v2.8.9
Bugfixes
- Fix missing
data-cc
event listener when consent modal is re-created 8147993 (ref. #424) - Fix missing
reload
option intypes.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
Enhancements
- Add
language.rtl
option to support RTL languages 113dc08 e955874 (ref. #388) - Add
consentModal.label
option for better a11y edb4745 - Add
data-type
attribute to support other types such astype="module"
d94a839 - Improve types: add
ModalName
type 5420384 - Build individual css "components" for more flexibility 3662d56
- Adopt the same button order for both modals by default abb8dce
- Remove
disable--interaction
class whenconsentModal
is hidden 56e7665 (ref. #396) - Remove unused css rules 6fe66be
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
- Docs: improve script management section 7496247
- Playground: added optional togglable consentModal elements
- Playground: many bugfixes
- Update all dependencies to the latest version
- Update demo examples
Full Changelog: v3.0.0-rc.8...v3.0.0-rc.9
cookieconsent v3.0.0-rc.8
Bugfixes
Full Changelog: v3.0.0-rc.7...v3.0.0-rc.8
cookieconsent v3.0.0-rc.7
Bugfixes
- Fix
lazyHtmlGeneration
breaks methods such asacceptCategory()
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 theonModalReady
callback 3628243 7e5a201 - Slightly increase transition duration on
bar
layout 321b36c - Use a simpler service icon 56b73a7
Docs
Other
- Switch to
pnpm
ddadc2b (ref. #385) - Add demo playground (work-in-progress)
Full Changelog: v3.0.0-rc.6...v3.0.0-rc.7
cookieconsent v2.8.8
Bugfixes
Minor tweaks
- Remove hardcoded css values for a simpler styling by @orestbida in #379 (ref. #367)
- Set
z-index
to highest possible value by @orestbida in #380 (ref. #377) - Added css variable to configure border radius by @aforcada in #387
Docs
- Fix incorrect usage of the
allowedCategory
method in Readme.md by @stephenheron in #373
New Contributors
- @stephenheron made their first contribution in #373
- @aforcada made their first contribution in #387
- @at0mat made their first contribution in #392
Full Changelog: v2.8.6...v2.8.8
cookieconsent v3.0.0-rc.6
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
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 removedata-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 andonModalReady
callback
Full Changelog: v3.0.0-rc.4...v3.0.0-rc.5