Skip to content

Latest commit

 

History

History
99 lines (76 loc) · 3.47 KB

File metadata and controls

99 lines (76 loc) · 3.47 KB

Changelog

All notable changes to the 84EM Consent plugin will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.3.4] - 2025-12-02

Fixed

  • Fixed CSS not loading due to async media: 'print' technique not being handled by theme's async CSS loader
  • Reverted to standard media: 'all' for reliable CSS loading

Changed

  • Bumped cookie_version to 2025-12-02 to trigger re-consent

[1.3.3] - 2025-11-25

Fixed

  • Fixed page scroll on first load caused by focus management in consent banner

[1.3.2] - 2025-11-25

Changed

  • Minified consent banner HTML output to a single line for cleaner page source

[1.3.0] - 2025-11-16

Added

  • Performance Optimizations - Improved loading speed and reduced render-blocking resources
    • Implemented async CSS loading using media: 'print' technique to prevent blocking initial render (84em-consent.php:118)
    • Added PHPDoc note about performance optimizations (84em-consent.php:109)

Changed

  • Script Loading Strategy - Updated JavaScript to use modern WordPress 6.3+ defer strategy
    • Changed from 'strategy' => 'async' to 'strategy' => 'defer' for better execution control (84em-consent.php:136)
    • Ensures script executes after DOM is ready and in order with localized data
    • Maintains 'in_footer' => true for optimal performance
  • Expected Performance Improvements
    • Reduced render-blocking CSS (consent banner CSS loads asynchronously)
    • Better script execution timing (defer ensures DOM ready before execution)
    • Works seamlessly with theme's async CSS loader in performance.php

[1.2.2] - 2025-11-15

Changed

  • Refined accent color to improve visual consistency

[1.2.1] - 2025-10-30

Changed

  • Updated color scheme to match 84EM logo

[1.2.0] - 2025-10-23

Added

  • PHP 8+ type hints for properties (nullable and array types)
  • Return type declarations on all methods
  • Comprehensive PHPDoc comments for all methods
  • Named parameters for improved code readability

Changed

  • Refactored code to use modern PHP 8+ syntax
  • Improved code documentation and inline comments

[1.1.3] - 2025-10-23

Changed

  • Updated license from GPL-2.0-or-later to MIT
  • Added LICENSE file with MIT License text
  • Updated plugin header with MIT license information

[1.1.2] - 2025-09-15

Changed

  • Updated wp_enqueue_script() to use array syntax for the in_footer parameter instead of boolean
  • Changed secondary button text color from accent color to white for better contrast

[1.1.1] - 2025-09-14

Removed

  • Removed unnecessary @font-face declarations from CSS

[1.1.0] - 2025-09-14

Changed

  • Improved mobile button layout for better user experience on small screens
  • Added CHANGELOG.md

[1.0.0] - 2025-09-13

Added

  • Initial release of 84EM Consent plugin
  • Simple cookie consent banner for strictly necessary cookies
  • Dual storage system using localStorage and cookies for redundancy
  • JavaScript API for checking consent status
  • PHP helper function for server-side consent checking
  • Configurable settings via WordPress filter system
  • AJAX handler for server-side cookie setting
  • Responsive design with accessibility features
  • Build system for asset minification
  • Support for custom branding and colors
  • Privacy policy link integration
  • Cookie version tracking for re-consent
  • Automatic consent expiration (180 days default)