CookieConsent v3.2.0

v3.2.0

cookieconsent v3.2.0

Added 4
  • Improved WebComponents support
  • Allow leaving out the cookie domain
  • Add respectGpc option to honor the Global Privacy Control signal
  • Detect the browser language from navigator.languages
Fixed 30
  • Background entry animation was ignored
  • aria-hidden="false" is no longer used because it is not valid
  • Accessibility fixes
  • Add missing aria-haspopup attribute
  • Remove deprecated overflow-y:overlay from .pm__body
  • Use resolved language code in setLanguage

From CookieConsent

Features
  • Improved WebComponents Support by @rubinda in https://github.com/orestbida/cookieconsent/pull/816
  • feat: allow leaving out the cookie domain (close #793) by @orestbida in 9687cef5e120fb5af979a6784026b0de0894691a
  • feat: add respectGpc option to honor the global privacy control signal (close #811) by @orestbida in 485543ad51233a4a958a644c23828a3586a2af2f
  • feat: detect the browser language from navigator.languages (close #752) by @orestbida in 950ba60a0ea0b105b59417ca9cd9196c59fcdbcc
Bug fixes
  • fix: background entry animation ignored by @Massi-X in https://github.com/orestbida/cookieconsent/pull/698
  • fix: aria-hidden="false" is no longer valid (ref. #803) by @orestbida in 6613d97dbf3347af17bea3495b5955f3945c0b67
  • Accessibility fixes. by @pasitiis in https://github.com/orestbida/cookieconsent/pull/797
  • fix(a11y): missing aria-haspopup by @orestbida in 706f25c6772fb6974a42e5517bfcca6e69484c1e
  • fix: remove deprecated overflow-y:overlay in .pm__body by @terminalchai in https://github.com/orestbida/cookieconsent/pull/825
  • fix: use resolved language code in setLanguage (close #815) by @orestbida in 8596c7990200920cbc9cdc7b64c3caebe570b650
  • fix: reset enabled services draft when discarding unsaved preferences by @rudycelekli in https://github.com/orestbida/cookieconsent/pull/838
  • Fix Shift+Tab from the initial modal focus by @samipuro in https://github.com/orestbida/cookieconsent/pull/839
  • fix: strip html from toggle labels without regex (ref #813) by @orestbida in 7fad42d3713d8da80e2e6d431be69f3008a14940
  • fix: do not accept services of excluded categories by @orestbida in f5de675a5414bb652863216a69b9cf5d40a52ea4
  • fix: ignore undefined categories in acceptCategory by @orestbida in fb97fa622b6bf4e5ce5d39f9a2a724d5d2af48f7
  • fix: preserve null values in deepCopy by @orestbida in d179ae96a041c35f435a0101f7cb7ae757f796b2
  • fix: add buttons missing in the previous language on setLanguage by @orestbida in 9f3d450f0599769fac53dfbd8306b13973563640
  • fix: ignore inherited object properties when resolving language by @orestbida in 7a830f76f611ba2d6e544ae049792bef5a1a50fb
  • fix: reject translation files that respond with an error status by @orestbida in eb77f86923737455c97023115a4d002ef65e9f8f
  • fix: core version throwing on run by @orestbida in 35d5eefb57e7182ff999a5524bd7f23445ef3510
  • fix: acceptService not updating services in core version by @orestbida in 5f3591907f246282a35e99dbca61235a6977190e
  • fix: run without categories by @orestbida in efbc8db85117b699b3ccb5a7ac71acea1b97eae1
  • fix: hide consent modal from assistive technologies until shown (ref #830) by @orestbida in deed5cb1b965d12e22998777fd5894163a21d94d
  • fix(a11y): move focus into preferences modal on its first open (close #688) by @orestbida in 39cc02400f4026878f0cd600b2474bad46450baf
  • fix: prevent page scroll when focusing modal elements (close #833) by @orestbida in 43f06e0a552d203bafc3388796c094333f613469
  • fix: update consent modal aria labels on setLanguage by @orestbida in fb24eeadfcc64d2d2f3f609c77518a5126dd55fe
  • fix(a11y): use header keys for cookie table cell ids by @orestbida in 2d54aa1aa023d54f19aad9cf280058dcacfdc238
  • fix: match cookie names literally in getSingleCookie by @orestbida in cb96226a6634d700d5d8fa9ce2b28e0af5f0e5d6
  • fix: loadScript throwing when src contains quotes by @orestbida in f7ac25f39464c0f623bd4b65b6d1e631c9665384
  • fix: remove show-preferencesModal listeners on reset by @orestbida in 614b0f96dd446e829bc6b3a3798ad72b45975a3c
  • fix: respect lazyHtmlGeneration for consent modal by @Steve0x2a in 85f5166b94d3668be1a64e41bd8f102bfbf35a3e (from #832)
  • fix(a11y): add name attribute to toggle checkboxes (close #791) by @orestbida in ddc2343f16a8c59276b9d72a87714d9f5fba6fff
  • fix: reset svg vertical-align inherited from host page (ref #759) by @orestbida in b4b268809221284b2646d02206a610bc15d6006e
  • fix(a11y): make toggles at least 24px tall to meet target size (close #831) by @orestbida in 213181cd52df0f08be0791d09846e8eae77256da
New Contributors

Full Changelog: https://github.com/orestbida/cookieconsent/compare/v3.1.0...v3.2.0

View original

Upgraded? How did it go?

Discussion