Releases: putyourlightson/craft-blitz
5.7.1
5.7.0
Warning
This update includes a fix for an issue in which Blitz could send incorrect Cache-Control headers. Please read this article to find out whether the issue affects your site, and what you should do. To ensure the changes in this update are applied, the cache should be refreshed after this update completes.
Added
- Added a check for whether the cache should be refreshed after every request has ended, meaning that setting the
RefreshCacheService::batchMode
property no longer serves a purposes and can be safely removed. - Added compatibility with Craft 5.3.0 for detecting eager-loading opportunities in the Blitz Hints utility.
Changed
- The expiry date displayed in the element sidebar panel now reflects the entry’s expiry date, if set and sooner than the cached page’s expiry date (#698).
- The
refreshCacheEnabled
config setting is now actually respected.
Fixed
- Fixed the default cache control header values that were inadvertently set to incorrect values (learn more).
- Fixed the nested element type count displayed in the Blitz Diagnostics utility.
- Fixed a bug in which the date cached and expiry dates were not being displayed in the correct timezone in the element sidebar panel (#698).
- Fixed a bug in which the homepage was not being displayed as cached in the element sidebar panel.
- Fixed a bug that was causing integrity constraint violation errors to be logged (#699).
Deprecated
- Deprecated the
RefreshCacheService::batchMode
property.
4.23.0
Warning
This update includes a fix for an issue in which Blitz could send incorrect Cache-Control headers. Please read this article to find out whether the issue affects your site, and what you should do. To ensure the changes in this update are applied, the cache should be refreshed after this update completes.
Added
- Added a check for whether the cache should be refreshed after every request has ended, meaning that setting the
RefreshCacheService::batchMode
property no longer serves a purposes and can be safely removed from your code.
Changed
- Blitz now requires Craft CMS 4.5.11 or later.
- The expiry date displayed in the element sidebar panel now reflects the entry’s expiry date, if set and sooner than the cached page’s expiry date (#698).
Fixed
- Fixed the default cache control header values that were inadvertently set to incorrect values (learn more).
- Fixed a bug in which the date cached and expiry dates were not being displayed in the correct timezone in the element sidebar panel (#698).
- Fixed a bug in which the homepage was not being displayed as cached in the element sidebar panel.
Deprecated
- Deprecated the
RefreshCacheService::batchMode
property.
5.6.4
Note
The cache should be cleared or refreshed after this update completes.
Changed
- Recreated some database tables to ensure that composite primary keys are correctly created.
5.6.3
5.6.2
5.6.1
Fixed
- Fixed a bug that could throw an exception when viewing tracked entries in the Blitz Diagnostics utility when the database tables have a prefix.
5.6.0
Note
For the cache and expiry dates to appear in the new sidebar panel, the cache should be cleared or refreshed after this update completes.
Added
- Added a sidebar panel to element edit pages (#690).
- Added a
dateCached
column to cache records which is output in the sidebar panel and the Blitz Diagnostics utility. - Added the ability to track eager-loaded relation fields nested inside matrix blocks (#657).
- Added a structure view to tracked nested element pages in the Blitz Diagnostics utility.
Changed
- The
craft.blitz.csrfInput()
,craft.blitz.csrfParam()
andcraft.blitz.csrfToken()
functions now output inline values rather than inject scripts when called via AJAX requests. - The Commerce integration now only refreshes product variants if their inventory is tracked.
4.22.0
Note
For the cache and expiry dates to appear in the new sidebar panel, the cache should be cleared or refreshed after this update completes.
Added
- Added a sidebar panel to element edit pages (#690).
- Added a
dateCached
column to cache records which is output in the sidebar panel and the Blitz Diagnostics utility.
Changed
- Blitz now requires Craft CMS 4.5.0 or later.
- The
craft.blitz.csrfInput()
,craft.blitz.csrfParam()
andcraft.blitz.csrfToken()
functions now output inline values rather than inject scripts when called via AJAX requests. - The Commerce integration now only refreshes product variants that don’t have unlimited stock.