Version 4.2.3

October 19, 2022

Fixed

  • Fixed a bug in which one-time use tokens would not work with Blitz enabled (#448).

Version 4.2.2

September 26, 2022

Changed

  • The Local Generator now continues generating pages, rather than failing, even when Twig template errors are encountered (#444).
  • The Git Deployer now only appends /index.html to site URIs with HTML mime types (#443).

Version 4.2.1

July 21, 2022

Fixed

  • Fixed an issue with the Local Generator when Twig extensions were being registered via a module (#437).

Version 4.2.0

July 5, 2022

Added

  • Added a Commerce plugin integration that refreshes variants on order completion so that their stock is updated (#432).

Changed

  • The cache is now refreshed when the focal point of an asset is changed (#431).

Version 4.1.4

June 21, 2022

Changed

  • Exceptions are caught and logged, rather than being thrown, during cache generation using the HTTP Generator (#418).

Fixed

  • Fixed an issue in which expiry dates were not being added or updated for pending entries (#422).

Version 4.1.3

May 23, 2022

Fixed

  • Fixed issues with Apache server rewrites that could prevent pages from being cached (#411).

Version 4.1.2

May 17, 2022

Added

  • Added the Blitz Hints announcement to the dashboard.

Version 4.1.1

May 16, 2022

Changed

  • Bumped the required version of the Blitz Hints package.

Version 4.1.0

May 16, 2022

Added

Fixed

  • Fixed the Local Generator bootstrap process for older Craft installations (#404).

Version 4.0.3

May 6, 2022

Fixed

  • Fixed a bug in a migration when no cache purger settings existed (#402).

Version 4.0.2

May 5, 2022

Fixed

  • Fixed a bug in a migration when no cache purger settings existed (#402).

Version 4.0.1

May 5, 2022

Fixed

  • Fixed a bug in the purge console command.
  • Fixed a bug in the custom log target.

Version 4.0.0

May 4, 2022

Cache warmers have been completely replaced by cache generators. The included/excluded query string parameters config setting format has changed. See the new formats here.

Added

  • Added compatibility with Craft 4.
  • Added a new Refresh Mode setting that determines when and how the cache should be refreshed.
  • Added the concept of cache generation, that supersedes cache warming, and is used both for generating, regenerating and in some cases removing cached pages.
  • Added the ability to revalidate cached pages that have expired when serving cached responses (#381).
  • Added the included/excluded query string parameter settings to the Advanced Settings tab and added the ability for them to be site-specific.
  • Added the ability for cache purgers to be run in queue jobs.
  • Added a new refreshCacheWhenElementMovedInStructure config setting, defaulting to true, that controls whether the cache should be refreshed when an element is moved within a structure (#289).
  • Added a new cacheNonHtmlResponses config setting, defaulting to false, that allows enabling caching of pages that return non-HTML responses.

Changed

  • Replaced all Warmer drivers and classes with Generator drivers and classes.
  • Replaced the Guzzle Warmer with the HTTP Generator.
  • Replaced the Local Warmer (experimental) with the Local Generator (stable).
  • Replaced the Log To File helper package with a custom Monolog log target.
  • Changed the included/excluded query string parameters config setting format, see the new format here.

Removed

  • Removed the Clear Cache Automatically and Warm Cache Automatically settings (use the Refresh Mode setting instead).
  • Removed the Warm Cache Delay setting on cache purgers.
  • Removed the warmCacheDelay property from the CachePurgerTrait class.
  • Removed the delay property from the DriverJob class.
  • Removed the delay parameter from all methods in the CacheWarmerInterface class.