Skip to content

Releases: putyourlightson/craft-blitz

5.7.1

29 Aug 18:21
5.7.1
4d81357
Compare
Choose a tag to compare

Fixed

  • Fixed a bug in which installing the plugin via the CLI could cause an error (#705).

5.7.0

29 Aug 08:03
5.7.0
953f2db
Compare
Choose a tag to compare

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

29 Aug 07:42
4.23.0
1c5289f
Compare
Choose a tag to compare

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

15 Aug 12:21
5.6.4
b4a646e
Compare
Choose a tag to compare

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

15 Aug 10:55
5.6.3
9b6b13d
Compare
Choose a tag to compare

Note

The cache should be cleared or refreshed after this update completes.

Fixed

  • Fixed an exception that could be thrown during updating when using MariaDB (#693).

5.6.2

05 Aug 12:29
5.6.2
3b5b233
Compare
Choose a tag to compare

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.
  • Fixed the dropping of a foreign key in a database migration (#693).

5.6.1

05 Aug 11:59
5.6.1
191a511
Compare
Choose a tag to compare

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

05 Aug 11:21
5.6.0
ae76872
Compare
Choose a tag to compare

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() and craft.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

05 Aug 11:29
4.22.0
0b1f82c
Compare
Choose a tag to compare

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() and craft.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.

4.21.0

24 Jul 08:12
4.21.0
ff3774d
Compare
Choose a tag to compare

Added

  • Added the ability to track eager-loaded relation fields nested inside matrix blocks (#657).
  • Added statuses and edit links to elements displayed in the Blitz Diagnostics utility.