Skip to content

Release v1.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Jun 16:22
· 155 commits to master since this release

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_selection is enabled on the active profile (CookieConsentConfig::granularCookieSelection or bundle default)
  • Cookie inventory — use_cookie_inventory, static cookie_inventory YAML, and Doctrine entities CookieDefinition / CookieDefinitionTranslation with translatable provider and purpose
  • allowed_by_default on 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 helper nowo_cookie_consent_should_embed_modal()
  • Cookie definition admin CRUD — CookieDefinitionAdminController and 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)
  • CookieConsentType initial state derives category and cookie checkboxes from inventory allowed_by_default when 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