Free Gift Coupons v3.7.0 – PHP 8.2 Compatibility & Store API Improvements

Important

Minimum PHP version updated

This version now requires PHP 7.2 or higher. Please ensure your server environment meets this requirement before updating.


Updates

Tested up to WooCommerce 8.7.0

Free Gift Coupons has been tested for compatibility with WooCommerce 8.7.0.


New

Removed dynamic properties for PHP 8.2+ compatibility

Eliminated the use of dynamic object properties to prevent deprecation warnings in PHP 8.2 and newer. This ensures cleaner logs and better forward compatibility with modern PHP versions.


Improvements

Updated Store API hydration context detection

Improved the way hydration context is identified during Store API requests, resulting in more reliable behavior in block-based and headless environments.


Why this matters

  • Ensures compatibility with PHP 8.2 and newer
  • Prevents deprecation warning notices
  • Improves reliability of Store API interactions
  • Maintains compatibility with recent WooCommerce versions

Similar Posts