cookie-consent/CHANGELOG.md
Pdn Technology 2fa105ac1a
Some checks failed
CI / test (20) (push) Has been cancelled
CI / test (22) (push) Has been cancelled
index.d.ts bugfix
2026-06-20 09:20:23 +03:00

47 lines
1.6 KiB
Markdown

# 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`, not `export function`)
## [1.1.0] - 2026-06-20
### Added
- `theme` prop on `CookieConsent` for brand color customization via CSS variables
- `className` prop on `CookieConsent`
- Optional `cookies` prop with expandable cookie inventory tables per category
- New label keys for cookie table headers and storage error messages
- `onConsentSaved` and `onConsentError` callbacks on `CookieConsent`
- `PersistResult` return values from `setConsent`, `acceptAll`, and `rejectAll`
- `configureConsent({ onStorageError })` global error callback
- `debug: true` console warnings for invalid or failed consent writes
- `ads_data_redaction` and `url_passthrough` in bootstrap default script
- Multi-tab consent sync via the `storage` event
- Keyboard support: `Escape` closes 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