Skip to content

Releases: putyourlightson/craft-blitz

5.1.3

13 Apr 16:06
5.1.3
674b67e
Compare
Choose a tag to compare

Changed

  • Reverted back to listening for resave and propagate element events.

5.1.2

13 Apr 02:01
5.1.2
deea768
Compare
Choose a tag to compare

Changed

  • Dynamic includes in preview requests are now also sent via AJAX, passing through the token param (#653).

Fixed

  • Fixed a bug in which propagated saves were not triggering refresh cache jobs (#654).

4.16.2

13 Apr 01:57
4.16.2
9ad5246
Compare
Choose a tag to compare

Changed

  • Dynamic includes in preview requests are now also sent via AJAX, passing through the token param (#653).

5.1.1

12 Apr 15:03
5.1.1
d4457a6
Compare
Choose a tag to compare

Fixed

  • Fixed a bug in which the Blitz Diagnostic utility could throw an error when viewing tracked includes and when using Postgres (#653).
  • Fixed an edge-case bug in which cached includes were not being refreshed when expired in a multi-site setup using subfolders.

4.16.1

12 Apr 14:48
4.16.1
f11ba6f
Compare
Choose a tag to compare

Fixed

  • Fixed a bug in which the Blitz Diagnostic utility could throw an error when viewing tracked includes and when using Postgres (#653).
  • Fixed an edge-case bug in which cached includes were not being refreshed when expired in a multi-site setup using subfolders.

5.1.0

11 Apr 01:16
5.1.0
b6dc2a8
Compare
Choose a tag to compare

Added

  • Added tracked includes to the Blitz Diagnostics utility.

Fixed

  • Fixed a bug in which cached includes were not being refreshed when a URL was provided.
  • Fixed an edge-case bug in which cached includes were not being refreshed when expired.

4.16.0

11 Apr 01:08
4.16.0
ea1666a
Compare
Choose a tag to compare

Added

  • Added tracked includes to the Blitz Diagnostics utility.

Fixed

  • Fixed a bug in which cached includes were not being refreshed when a URL was provided.
  • Fixed an edge-case bug in which cached includes were not being refreshed when expired.

5.0.0

08 Apr 14:12
5.0.0
64416d5
Compare
Choose a tag to compare

Added

  • Added compatibility with Craft 5.
  • Added suggesting the use of the eagerly() function to lazy-loaded element queries in the Blitz Hints utility.

Changed

  • The Blitz Hints utility is now powered by Sprig, no longer tracks route variable hints and no longer requires an external package.

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.
  • Removed the SettingsModel::clearOnRefresh method. Use SettingsModel::shouldClearOnRefresh instead.
  • Removed the SettingsModel::expireOnRefresh method. Use SettingsModel::shouldExpireOnRefresh instead.
  • Removed the SettingsModel::generateOnRefresh method. Use SettingsModel::shouldGenerateOnRefresh instead.
  • Removed the SettingsModel::purgeAfterRefresh method. Use SettingsModel::shouldPurgeAfterRefresh instead.
  • Removed the SettingsModel::generatePageBasedOnQueryString method. Use SettingsModel::shouldGeneratePageBasedOnQueryString instead.
  • Removed the SettingsModel::purgeAssetImages method. Use SettingsModel::shouldPurgeAssetImages instead.

4.15.0

08 Apr 14:11
4.15.0
9bc1f09
Compare
Choose a tag to compare

Added

  • Added a new blitz/cache/refresh-expired-elements console command for refreshing cached pages that track expired elements.
  • Added the BaseCachePurger::shouldPurgeAfterRefresh() method.

Changed

  • Drivers are now listed in alphabetical order, with “None” always listed first.
  • Improved the progress indicator during the generate cache process.
  • Simplified the default cache control header settings.
  • Pages that return empty content are no longer ignored from being cached.
  • The Content-Encoding header is no longer removed from responses.

Fixed

  • Fixed a bug in which expiry dates were always being output using the current timestamp in the Blitz Diagnostics utility.
  • Fixed an edge-case bug in which cached includes were not being refreshed when expired.

5.0.0-beta.4

25 Mar 14:03
5.0.0-beta.4
df61810
Compare
Choose a tag to compare
5.0.0-beta.4 Pre-release
Pre-release

Fixed

  • Fixed an error that could be thrown when returning to a page via the breadcrumbs in the Blitz Diagnostics utility (#645).