Features
- Improved WebComponents Support by @rubinda in #816
- feat: allow leaving out the cookie domain (close #793) by @orestbida in 9687cef
- feat: add respectGpc option to honor the global privacy control signal (close #811) by @orestbida in 485543a
- feat: detect the browser language from navigator.languages (close #752) by @orestbida in 950ba60
Bug fixes
- fix: background entry animation ignored by @Massi-X in #698
- fix: aria-hidden="false" is no longer valid (ref. #803) by @orestbida in 6613d97
- Accessibility fixes. by @pasitiis in #797
- fix(a11y): missing aria-haspopup by @orestbida in 706f25c
- fix: remove deprecated overflow-y:overlay in .pm__body by @terminalchai in #825
- fix: use resolved language code in setLanguage (close #815) by @orestbida in 8596c79
- fix: reset enabled services draft when discarding unsaved preferences by @rudycelekli in #838
- Fix Shift+Tab from the initial modal focus by @samipuro in #839
- fix: strip html from toggle labels without regex (ref #813) by @orestbida in 7fad42d
- fix: do not accept services of excluded categories by @orestbida in f5de675
- fix: ignore undefined categories in acceptCategory by @orestbida in fb97fa6
- fix: preserve null values in deepCopy by @orestbida in d179ae9
- fix: add buttons missing in the previous language on setLanguage by @orestbida in 9f3d450
- fix: ignore inherited object properties when resolving language by @orestbida in 7a830f7
- fix: reject translation files that respond with an error status by @orestbida in eb77f86
- fix: core version throwing on run by @orestbida in 35d5eef
- fix: acceptService not updating services in core version by @orestbida in 5f35919
- fix: run without categories by @orestbida in efbc8db
- fix: hide consent modal from assistive technologies until shown (ref #830) by @orestbida in deed5cb
- fix(a11y): move focus into preferences modal on its first open (close #688) by @orestbida in 39cc024
- fix: prevent page scroll when focusing modal elements (close #833) by @orestbida in 43f06e0
- fix: update consent modal aria labels on setLanguage by @orestbida in fb24eea
- fix(a11y): use header keys for cookie table cell ids by @orestbida in 2d54aa1
- fix: match cookie names literally in getSingleCookie by @orestbida in cb96226
- fix: loadScript throwing when src contains quotes by @orestbida in f7ac25f
- fix: remove show-preferencesModal listeners on reset by @orestbida in 614b0f9
- fix: respect lazyHtmlGeneration for consent modal by @Steve0x2a in 85f5166 (from #832)
- fix(a11y): add name attribute to toggle checkboxes (close #791) by @orestbida in ddc2343
- fix: reset svg vertical-align inherited from host page (ref #759) by @orestbida in b4b2688
- fix(a11y): make toggles at least 24px tall to meet target size (close #831) by @orestbida in 213181c
New Contributors
- @Massi-X made their first contribution in #698
- @pasitiis made their first contribution in #797
- @rubinda made their first contribution in #816
- @terminalchai made their first contribution in #825
- @Steve0x2a made their first contribution in 85f5166 (from #832)
- @rudycelekli made their first contribution in #838
- @samipuro made their first contribution in #839
Full Changelog: v3.1.0...v3.2.0