Repository navigation
Release v1.1.0
Release v1.1.0
Cookie inventory (YAML + DB), granular per-cookie selection, allowed_by_default,
preferences bubble, CookieDefinition admin CRUD, two-step modal close control,
and rebuilt consent modal assets.
See docs/CHANGELOG.md for full notes.
Changelog
Added
- Granular cookie selection — optional per-cookie toggles inside each category block when
granular_cookie_selectionis enabled on the active profile (CookieConsentConfig::granularCookieSelectionor bundle default) - Cookie inventory —
use_cookie_inventory, staticcookie_inventoryYAML, and Doctrine entitiesCookieDefinition/CookieDefinitionTranslationwith translatable provider and purpose allowed_by_defaulton cookie definitions — controls pre-checked state for individual cookies and category toggles before consent is saved- Per-cookie consent storage — optional cookie map persisted alongside category choices;
CookieChecker::isCookieAllowedByUser()respects granular preferences - Preferences bubble — floating cookie button (
preferences_bubble_enabled,preferences_bubble_position) to reopen the modal after consent; Twig helpernowo_cookie_consent_should_embed_modal() - Cookie definition admin CRUD —
CookieDefinitionAdminControllerand Bootstrap admin views under/cookie-consent-config/{id}/cookies(wire routes in your app) - Two-step modal navigation — close control on the preferences step returns to the consent banner (
data-nowo-hide-preferences) - CookieConsent v3 alignment — color themes, two-step banner, preference sections, iframe placeholders, diagnostics script, category/granular toggle TypeScript modules
- Twig helpers —
nowo_cookie_consent_granular_cookie_selection(),nowo_cookie_consent_preferences_bubble_*(),nowo_cookie_consent_two_step_modal(), and related CMP UX helpers - Demo enhancements — legal pages, cookie inventory CRUD with locale tabs, playground preset seed, shared demo catalog (
DemoCookieCatalog)
Changed
- Rebuilt
nowo-consent-modal.js(granular toggle CSS, step manager, category sync) CookieConsentTypeinitial state derives category and cookie checkboxes from inventoryallowed_by_defaultwhen no consent cookie exists- Database-backed config payload and CMP UX resolver expose new profile flags
- PHP test suite expanded (123 tests); TypeScript tests cover step manager, granular toggles, and category toggles
Documentation
- CONFIGURATION.md — cookie inventory, granular selection, preferences bubble, admin CRUD
- USAGE.md — embed modal with bubble, per-cookie checks, inventory admin
- UPGRADING.md — upgrade path from 1.0.0