Added
- Added suggesting the use of the
eagerly()
function to lazy-loaded element queries in the Blitz Hints utility. - Added a template stack trace to the Blitz Hints utility.
- 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
- The Blitz Hints utility is now powered by Sprig, no longer tracks route variable hints and no longer requires an external package.
- Elements that are propagating are no longer ignored from the cache refresh process (#631).
- Changed the default branch in the Git Deployer to
main
. - 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).
Removed
- Removed the
SettingsModel::clearOnRefresh
method. UseSettingsModel::shouldClearOnRefresh
instead. - Removed the
SettingsModel::expireOnRefresh
method. UseSettingsModel::shouldExpireOnRefresh
instead. - Removed the
SettingsModel::generateOnRefresh
method. UseSettingsModel::shouldGenerateOnRefresh
instead. - Removed the
SettingsModel::purgeAfterRefresh
method. UseSettingsModel::shouldPurgeAfterRefresh
instead. - Removed the
SettingsModel::generatePageBasedOnQueryString
method. UseSettingsModel::shouldGeneratePageBasedOnQueryString
instead. - Removed the
SettingsModel::purgeAssetImages
method. UseSettingsModel::shouldPurgeAssetImages
instead.