Skip to content

4.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Mar 18:25
· 206 commits to develop since this release
4.14.0
3271e60

Added

  • Added batched generate cache jobs (#537).
  • Added a new driverJobBatchSize config setting that sets the batch size to use for driver jobs that support batching.
  • Added a new refreshCacheEnabled config setting that determines whether cached pages are refreshed whenever content changes or an integration triggers it.
  • Added a new injectScriptPosition config setting that determines the position in the HTML in which to output the injected script (#636).
  • Added a verbose output mode to blitz/cache console commands that can be activated by adding a --verbose flag (#642).
  • Added a default timeout of 60 seconds to the Local Generator.

Changed

  • Campaign now requires Craft CMS 4.4.0 or later.
  • The Local Generator now uses the bootstrap.php file in the project root, if it exists.
  • The Local Generator now sets the server port according to the HTTP protocol.
  • Changed the default timeout of the HTTP Generator to 60 seconds.

Fixed

  • Fixed an SQL error that could occur when too many site URIs were being expired at once during the refresh cache process (#639).
  • Fixed minor bugs and typos in the recommendations provided in the Blitz Diagnostics utility (#641).

Deprecated

  • Deprecated the SettingsModel::clearOnRefresh method. Use SettingsModel::shouldClearOnRefresh instead.
  • Deprecated the SettingsModel::expireOnRefresh method. Use SettingsModel::shouldExpireOnRefresh instead.
  • Deprecated the SettingsModel::generateOnRefresh method. Use SettingsModel::shouldGenerateOnRefresh instead.
  • Deprecated the SettingsModel::purgeAfterRefresh method. Use SettingsModel::shouldPurgeAfterRefresh instead.
  • Deprecated the SettingsModel::generatePageBasedOnQueryString method. Use SettingsModel::shouldGeneratePageBasedOnQueryString instead.
  • Deprecated the SettingsModel::purgeAssetImages method. Use SettingsModel::shouldPurgeAssetImages instead.