airfleet/airfleet-cache-control-plugin

Project releases

airfleet-cache-control-plugin

Release 4.1.1

Added method_exists checks to BladeCache to fix fatal errors.

GitHub
View full changelog

Fixed

  • Fixed fatal error in BladeCache when ClearCacheAction::clear() or RegenerateCacheAction::regenerate() methods do not exist by adding method_exists checks alongside class_exists
airfleet-cache-control-plugin

Release 4.1.0

Updated BladeCache to call static methods directly and logs errors on cache failures.

GitHub
View full changelog

Changed

  • Updated BladeCache to call ClearCacheAction::clear() and RegenerateCacheAction::regenerate() static methods directly, with fallback to actions for backward compatibility with older versions of Views Blade plugin
  • BladeCache now logs error messages from WP_Error on cache clear and regenerate failures
airfleet-cache-control-plugin

Release 4.0.0

PHP version requirement is increased to 8.2 and the package manager is switched to Bun.

GitHub
View full changelog

Changed

  • Breaking: Increased PHP version requirement to >=8.2
  • Added plugin dependencies in main plugin file (Requires Plugins metadata field)
  • Internal: Increased Node.js version requirement to >=24
  • Internal: Bump npm dependency @airfleet/wordpress-dev to ^4.0.0
  • Internal: Bump composer dependency airfleet/wordpress-dev to ^4.0.0
  • Internal: Switched package manager to Bun
  • Internal: Updated linters and development tools
  • Internal: Updated configuration for development tools
  • Internal: Moved configuration sections from package.json to dedicated config files
  • Internal: Updated browserslist configuration
  • Internal: Updated package.json scripts to use Airfleet CLI
  • Internal: Updated README.md to remove Getting Started and Documentation sections
  • Internal: Updated Plugin URI metadata field in main plugin file
  • Internal: Updated GitHub workflows
  • Internal: Updated scoper.custom.php to add excluded constants for WordPress and WooCommerce requests
  • Internal: Bump composer dependency airfleet/wordpress-framework to ^1.19.1
airfleet-cache-control-plugin

Release 3.9.2

Fixed a fatal error caused by uninitialized variables for private plugins and translations.

GitHub
View full changelog

Fixed

  • Fixed: Fatal error caused by uninitialized variable for private plugins and translations
airfleet-cache-control-plugin

Release 3.9.1

Triggers Default Caches preload after updating or activating a plugin.

GitHub
View full changelog

Updated

  • Trigger Default Caches preload after updating or activating an Airfleet plugin.
airfleet-cache-control-plugin

Release 3.9.0

Added automated cache clearing actions and options for plugin updates and activations.

GitHub
View full changelog

Changed

  • Added an automated Clear Default caches action when Airfleet plugins are updated or activated.
  • Added options to control automated cache purge when Airfleet plugins are updated or activated.
airfleet-cache-control-plugin

Release 3.8.0

Added feature to disable specific cache purges

GitHub
View full changelog

Added

  • Added feature to disable any specific cache purge.
airfleet-cache-control-plugin

Release 3.6.1

Admin notice show/hide classes changed to prevent forced display.

GitHub
View full changelog

Changed

  • Changed admin notice show/hide classes to prevent forced display of notices by Redirection plugin.
airfleet-cache-control-plugin

Release 3.6.0

Added Cloudflare cache clearing functionality and updated dependencies.

GitHub
View full changelog

Added

  • Added CloudflareCache class to clear cloudflare cache.
  • Added airfleet/cache-control/options/cloudflare-supported filter hook to check if cloudflare is supported.

Updated

  • Updated error message for CloudfrontCache when distribution_id is missing.
  • Bumped airfleet/wordpress-framework dependency to 1.15.0
airfleet-cache-control-plugin

Release 3.5.3

Removed deprecated WPRocketCache run_rocket_bot function.

GitHub
View full changelog

Fixed

  • WPRocketCache: removed deprecated function run_rocket_bot.
airfleet-cache-control-plugin

Release 3.5.2

Fixed fatal error when requesting cache clear through the API.

GitHub
View full changelog

Fixed

  • Fixed fatal error when requesting cache clear through the API by only using json_decode() if payload param from request is a string.
airfleet-cache-control-plugin

Release 3.5.1

Fixed issue with empty payload in clear cache requests.

GitHub
View full changelog

Fixed

  • Fixed empty payload causing incorrect default param for json_decode() when processing clear cache request from API.
airfleet-cache-control-plugin

Release 3.5.0

Plugin migration now runs automatically during upgrades, and Cloudways cache clearing method has been improved.

GitHub
View full changelog

Changed

  • Changed options migration to run without needing explicit plugin activation, e.g. the migration will occur automatically when the plugin is upgraded without needing to deactivate the plugin and reactivate it.
  • Improved Cloudways cache clearing method. No longer requires API integration and works more reliably and faster.

Added

  • Added airfleet/cache-control/cloudways/varnish-url filter hook to change Varnish cache URL.
  • Added airfleet/cache-control/cloudways/varnish-args filter hook to change arguments to clear Varnish cache.

Fixed

  • Fixed missing API Endpoint field in API tab.
airfleet-cache-control-plugin

Release 3.4.0

Added Clear Caches dropdown menu to WordPress admin bar for clearing caches, with options to clear certain caches or all caches individually.

GitHub
View full changelog

Added

  • Added "Clear Caches" dropdown menu to WordPress admin bar for clearing caches.
  • Added option to only clear certain caches by default.
  • Added separate buttons to clear default caches and to clear all caches.
  • Added the ability to clear individual caches.
  • Added the ability to clear cache groups (code, content).
  • Added event tracking.

Changed

  • Hide 3rd party cache purge options/buttons except for Airfleet users.
  • Update the UI of Cache Control dashboard page.
  • Improved readability of log messages by adding emojies and updating formatting.
  • Bumped npm dependency @airfleet/wordpress-dev version to ^3.5.0.
  • Bumped composer-scoped dependency airfleet/wordpress-framework to 1.13.0 (@wpengine.local users are now considered Airfleet users).
  • Internal: Added .airfleet-license and .airfleet-visible
airfleet-cache-control-plugin

Release 3.3.2

Added timestamp to version of theme static assets and bumped @airfleet/wordpress-dev version to ^3.4.0

GitHub
View full changelog

Added

  • Added timestamp to version of theme static assets.

Changed

  • Bumped @airfleet/wordpress-dev version to ^3.4.0
airfleet-cache-control-plugin

Release 3.3.1

Fixed Cloudways clear cache integration issue

GitHub
View full changelog

Fixed

  • Fixed Cloudways clear cache integration not working due to incorrect API usage
airfleet-cache-control-plugin

Release 3.3.0

Added support for clearing cache for Cloudways and Blade cache through Airfleet Views Blade plugin, and improved logging of changed file types.

GitHub
View full changelog

Added

  • Added support to clear cache for Cloudways
  • Added support to clear/preload Blade cache through Airfleet Views Blade plugin

Changed

  • Changed logging of "changed file types", no repetition of file types
airfleet-cache-control-plugin

Release 3.2.1

Set composer autoloader suffix based on plugin name

GitHub
View full changelog

Changed

  • Set composer vendor-scoped autoloader-suffix based on plugin name
airfleet-cache-control-plugin

Release 3.2.0

Cache control is now accessible from the core tools menu.

GitHub
View full changelog

Changed

  • Moved Cache Control under core Tools menu
airfleet-cache-control-plugin

Release 3.1.0

Added support to clear cache for Cloudfront and changed the order of cache clearing.

GitHub
View full changelog

Changed

  • Added support to clear cache for Cloudfront (as long as official plugin is also installed)
  • Changed order of clearing cache, moving object cache before WP Engine and Kinsta
airfleet-cache-control-plugin

Release 3.0.3

Added logging for API endpoint cache request parameters and fixed cache request branch and identifier detection, as well as the uninstall process.

GitHub
View full changelog

Added

  • Added an option to log API endpoint cache request params

Fixed

  • Fixed wrong detection of cache request branch and identifier
  • Fixed uninstall
airfleet-cache-control-plugin

Release 3.0.2

Fixed processing of clear cache request parameters

GitHub
View full changelog

Fixed

  • Fixed processing of clear cache request params and added more logging
airfleet-cache-control-plugin

Release 3.0.1

Plugin actions links now include Clear Cache, Settings, and Logs

GitHub
View full changelog

Changed

  • Changed plugin actions links to have Clear Cache, Settings, and Logs
airfleet-cache-control-plugin

Release 3.0.0

Added features for clearing cache and preloading, a new endpoint, and logging.

GitHub
View full changelog

Added

  • Added clear cache and preloading feature (WP Rocket, Permalinks, WP Engine, Kinsta, WP object cache)
  • Added clear cache endpoint
  • Added logging