Releases: putyourlightson/craft-blitz
Releases · putyourlightson/craft-blitz
5.0.0-beta.1
Added
- Added compatibility with Craft 5.0.0.
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.
4.11.1
Fixed
- Fixed the tracking of non-cacheable block elements when eager-loaded.
4.11.0
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 theVariableConfigModel
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
4.10.3
Fixed
- Fixed more Postgres errors.
4.10.2
4.10.1
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
Added
- Added the Blitz Diagnostics utility (read the announcement).
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
4.9.3
Changed
- Send site URIs to the
EVENT_AFTER_REFRESH_ALL_CACHE
event if cache generation is enabled.