Changelog

1.3.0 — 2025-08-12

Added

  • Tabbed settings UI (Appearance / Content & Labels / Default Consent / Storage & Logging / Advanced) with a two-column layout: tabs on the left, live preview on the right.
  • Overlay modes for the banner: none, dim, dim-lock (with optional body scroll lock).
  • Centered position + layout-centered styles; compact/minimal layout refinements.
  • Action order presets (optional): Balanced, Accept-first, Manage-between, Stacked (mobile).
  • Learn more: custom label + page selector (fallback to Privacy Policy).
  • Log privacy modes: Anonymize (default) or Full (opt-in) with clear guidance.
  • Empty-state messaging and category placeholders when no cookies exist.
  • Shortcode: [cpc_consent_gate] to reveal embeds/blocks only after consent.

Changed

  • Banner architecture: PHP Banner + PreviewBanner classes; clean wrapper/option methods; CSS class system for position/layout/font/button styles.
  • Admin UX polish: cards, spacing, and accessible tabs (ARIA roles/attributes).
  • Front-end UX: “Manage preferences” opens an accordion with per-category lists; smoother transitions.

Fixed

  • Checkbox sync on reopen after Accept/Reject (no page reload needed).
  • Default consent saving (no accidental pre-consent); localStorage seeding won’t auto-consent new visitors.
  • DB activation reliability for the consentpress table; internal/external cleanup honors retention.
  • Asset hygiene: removed remaining inline JS/CSS; proper enqueue only on plugin pages.
  • Cache busting for cookie-definitions.json to avoid stale previews.

Developer

  • Namespaced, PSR-4 autoloaded classes
  • Hooks/filters for extensibility (e.g., consentpress_banner_classes).
  • Script Manager templates (GTM/GA, Meta, LinkedIn, Hotjar, Ads, YouTube/Vimeo, Maps, TikTok, Cloudflare Turnstile, HubSpot) + advanced rules parser.

Notes

  • Backward compatible; no data migrations required.
  • Anonymized logging is on by default for compliance-friendly defaults.

1.2.0 — 2025-08-08

New

  • Script Manager (Autoblocking): blocks known vendor scripts/iframes until consent, then re-hydrates.
  • Vendor templates: GTM/GA, Meta, LinkedIn, Hotjar, Google Ads, YouTube/Vimeo, reCAPTCHA, Maps, TikTok, Cloudflare Turnstile, HubSpot.
  • Advanced Rules: substring or regex:/…/flags → category mapping.
  • Front-end loader: early-blocker script; optional placeholders for blocked embeds.

Improved

  • Localized blocker config to JS; better GTM Consent Mode compatibility.

1.1.0 — 2025-08-01

New

  • Manage-preferences accordion (per-category lists + empty states).
  • Live admin preview panel.
  • PHP Banner class + Preview subclass; JS controller.
  • GTM Consent Mode v2 events (analytics_storage, ad_storage, etc.).
  • Hybrid cookie definitions (JSON + browser scan + Open Cookie DB labeling).

Fixed

  • Checkbox sync on reopen; preview overflow/resize issues.
  • Removed inline JS/CSS.

1.0.0 — 2025-07-22

Initial release

Features

  • 🎉 GDPR- & CCPA-compliant cookie banner with customizable:
  • Accent color, layout style (full/compact/minimal), position (top/bottom/corner)
  • Banner title, description text, button labels (Accept/Reject/Save), and “Learn more” link text & target page
  • Font size, font family (theme, system, serif, sans-serif)
  • Button style (filled/outline/subtle) and corner radius (sharp/rounded/pill)
  • ✅ Automatic “live scan” of browser cookies for classification
  • 📋 Editable cookie-definitions table (name, type, domain, path, duration, purpose, provider)
  • 📄 Shortcode [cpc_cookie_table] to embed a categorized cookie list anywhere
  • 🔗 Google Tag Manager & Facebook/LinkedIn pixel integration, per-domain mapping
  • 🔒 Internal (WP) or external MySQL consent logging, with configurable retention (1–12 months)
  • 🛠️ Admin tools: clear local prefs, enable debug mode, quick overview dashboard with charts
  • 🌐 Fully translation-ready (.pot included), WPML/Polylang compatible fallbacks
  • ⚙️ Clean uninstall: drops custom table, removes all options & cron jobs

Performance & UX

  • 🚀 No inline scripts or styles—everything enqueued properly
  • 🎨 Fully styled admin pages (cards, tabs, live preview)
  • 🔐 Secure sanitization, escaping, nonce & capability checks