Skip to content

Releases: putyourlightson/craft-blitz

5.0.0-beta.1

14 Feb 15:27
5.0.0-beta.1
5ab5b9e
Compare
Choose a tag to compare
5.0.0-beta.1 Pre-release
Pre-release

Added

  • Added compatibility with Craft 5.0.0.

Removed

  • Removed the craft.blitz.getTemplate() template variable. Use craft.blitz.includeCached() or craft.blitz.includeDynamic() instead.
  • Removed the craft.blitz.getUri() template variable. Use craft.blitz.fetchUri() instead.
  • Removed the blitz/templates/get controller action.
  • Removed the cacheElements config setting. Use trackElements instead.
  • Removed the cacheElementQueries config setting. Use trackElementQueries instead.
  • Removed the craft.blitz.options.cacheElements() template variable. Use craft.blitz.options.trackElements() instead.
  • Removed the craft.blitz.options.cacheElementQueries() template variable. Use craft.blitz.options.trackElementQueries() instead.
  • Removed the createGzipFiles setting.
  • Removed the createBrotliFiles setting.
  • Removed the BlitzVariable::CACHED_INCLUDE_ACTION constant. Use CacheRequestService::CACHED_INCLUDE_ACTION instead.
  • Removed the BlitzVariable::DYNAMIC_INCLUDE_ACTION constant. Use CacheRequestService::DYNAMIC_INCLUDE_ACTION instead.
  • Removed the ElementTypeHelper::LIVE_STATUSES constant.

4.11.1

12 Feb 23:43
4.11.1
65efb05
Compare
Choose a tag to compare

Fixed

  • Fixed the tracking of non-cacheable block elements when eager-loaded.

4.11.0

12 Feb 19:20
4.11.0
312f1cb
Compare
Choose a tag to compare

Added

  • Added recommendations to the Blitz diagnostics utility.
  • Added the user that runs controller actions to log messages.
  • Added an expiry date column to pages and elements in the Blitz cache utility (#615).
  • Added a wrapperClass property to the VariableConfigModel class (#620).
  • Added new console commands for clearing, generating and purging the cache: blitz/cache/clear-site, blitz/cache/clear-tagged, blitz/cache/clear-urls, blitz/cache/generate-site, blitz/cache/generate-tagged, blitz/cache/generate-urls, blitz/cache/purge-site, blitz/cache/purge-tagged, blitz/cache/purge-urls.

Changed

  • The Cache Folder Path column now displays aliases in the cached file table in the File Storage utility.
  • Entry queries for “single” sections are no longer tracked.
  • Improved error handling in a previous migration.
  • Made minor optimisations to the file storage driver.
  • Expired URIs are now deleted from the database immediately when refreshing expired cache.
  • Invalid element query params no longer throw an error when applied (#579).

Fixed

  • Fixed a bug in which line breaks were not being replaced with spaces in raw SQL query output in the Blitz diagnostics utility (#611).

3.14.0

02 Feb 18:43
3.14.0
3cd8d07
Compare
Choose a tag to compare

Changed

  • Increased the minimum Craft version requirement to 3.7.5.
  • The cache refresh process is now triggered when an asset’s file is replaced or its filename is changed (#514).
  • Changed the refreshable status check to always consider elements with live and active statuses as refreshable (#572).

4.10.3

13 Jan 13:30
4.10.3
706905d
Compare
Choose a tag to compare

Fixed

  • Fixed more Postgres errors.

4.10.2

12 Jan 16:15
4.10.2
b5ea8e2
Compare
Choose a tag to compare

Fixed

  • Fixed Postgres errors introduced in 4.10.0 (#605).

4.10.1

10 Jan 17:59
4.10.1
9af1c71
Compare
Choose a tag to compare

Fixed

  • Fixed a bug in which SQL queries were executed in the Blitz Diagnostics utility that required minimum database versions above those required by Craft 4 (#602).
  • Fixed a bug in which paginated pages could go beyond their maximum in the Blitz Diagnostics utility (#603).
  • Fixed a bug in which Sprig Core was not being bootstrapped for all CP requests.
  • Fixed a bug in which legacy non-cacheable element types were causing errors in the Blitz Diagnostics utility.

4.10.0

09 Jan 17:15
4.10.0
9be68d4
Compare
Choose a tag to compare

Added

Fixed

  • Fixed a bug in which all cached pages were being marked as expired when no cacheable site URIs were refreshed (#598).

4.9.4

20 Dec 01:21
4.9.4
c915a64
Compare
Choose a tag to compare

Changed

  • The path param is now removed from query strings before being cached.
  • Slashes in cached include URLs are no longer decoded (#595).

Fixed

  • Fixed a bug that could cause an error when an element’s ID is unset (#594).

4.9.3

28 Nov 16:29
4.9.3
5494c30
Compare
Choose a tag to compare

Changed

  • Send site URIs to the EVENT_AFTER_REFRESH_ALL_CACHE event if cache generation is enabled.