Releases: putyourlightson/craft-blitz
Releases · putyourlightson/craft-blitz
5.1.3
Changed
- Reverted back to listening for resave and propagate element events.
5.1.2
4.16.2
5.1.1
4.16.1
5.1.0
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
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
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. Usecraft.blitz.includeCached()
orcraft.blitz.includeDynamic()
instead. - Removed the
craft.blitz.getUri()
template variable. Usecraft.blitz.fetchUri()
instead. - Removed the
blitz/templates/get
controller action. - Removed the
cacheElements
config setting. UsetrackElements
instead. - Removed the
cacheElementQueries
config setting. UsetrackElementQueries
instead. - Removed the
craft.blitz.options.cacheElements()
template variable. Usecraft.blitz.options.trackElements()
instead. - Removed the
craft.blitz.options.cacheElementQueries()
template variable. Usecraft.blitz.options.trackElementQueries()
instead. - Removed the
createGzipFiles
setting. - Removed the
createBrotliFiles
setting. - Removed the
BlitzVariable::CACHED_INCLUDE_ACTION
constant. UseCacheRequestService::CACHED_INCLUDE_ACTION
instead. - Removed the
BlitzVariable::DYNAMIC_INCLUDE_ACTION
constant. UseCacheRequestService::DYNAMIC_INCLUDE_ACTION
instead. - Removed the
ElementTypeHelper::LIVE_STATUSES
constant. - 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.
4.15.0
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
Fixed
- Fixed an error that could be thrown when returning to a page via the breadcrumbs in the Blitz Diagnostics utility (#645).