1.6 KiB
1.6 KiB
Changelog
All notable changes to this project are documented in this file.
[1.1.3] - 2026-06-20
Fixed
- TypeScript declaration for
defaultConfig(export const, notexport function)
[1.1.0] - 2026-06-20
Added
themeprop onCookieConsentfor brand color customization via CSS variablesclassNameprop onCookieConsent- Optional
cookiesprop with expandable cookie inventory tables per category - New label keys for cookie table headers and storage error messages
onConsentSavedandonConsentErrorcallbacks onCookieConsentPersistResultreturn values fromsetConsent,acceptAll, andrejectAllconfigureConsent({ onStorageError })global error callbackdebug: trueconsole warnings for invalid or failed consent writesads_data_redactionandurl_passthroughin bootstrap default script- Multi-tab consent sync via the
storageevent - Keyboard support:
Escapecloses preferences or returns to banner - Focus management when the banner opens
- TypeScript definitions for
@pdntechnology/cookie-consent/react - Cookie schema helpers exported from the main package
- Vitest test suite and GitHub Actions CI
- Next.js demo app in
examples/next-app - Turkish documentation in
README.tr.md CONTRIBUTING.md
Changed
- Banner styles now use CSS custom properties instead of hardcoded colors
- Bootstrap script includes advanced Consent Mode settings by default
[1.0.0] - 2026-06-20
Added
- Initial release with Google Consent Mode v2 integration
- React banner and Next.js bootstrap components
- Optional GTM and Meta Pixel loaders
- Framework-agnostic consent API