Releases: FriendsOfSymfony/FOSHttpCache
Releases · FriendsOfSymfony/FOSHttpCache
2.9.0
General
- Added support for the fastly caching service
- Raised minimal PHP version to 7.1
- Test helper classes upgraded to support PHPUnit 7/8
Symfony HttpCache
- Fixed issue with
PurgeTagsListener
and Symfony 5
- Fixed clearing the cache completely together with toflar psr6 store did not work
2.8.0
- Support Symfony 5
- Use
LegacyEventDispatcherProxy
for Symfony >= 4.3 to avoid deprecation messages.
2.7.0
Symfony HttpCache
- Added request type to the CacheEvent.
2.6.0
- Added: ClearCapable to clear the whole cache in one efficient call. Currently
supported only by the Symfony HttpCache.
- Allow installing with Httplug 2.0 / PSR-18.
2.5.4
Symfony HttpCache
- Fixed: Avoid regression of 2.5.3: If there are no messages to be dispatched,
do not throw an exception if the HttpCache is not set.
2.5.3
Symfony HttpCache
- Fixed: Handle HttpCache not available in KernelDispatcher and fix return
type annotations - if HttpCache is not set, it can't be returned.
2.5.2
Varnish
- Fixed: Remove the xkey header in vcl_deliver if we are not in debug mode
- Do not cleanup the Vary header and keep the user context hash if we are in debug mode
Cache Tagging
- Fixed: Clear the ResponseTagger after we tagged a response. Usually PHP uses
a new instance for every request. But for example the hash lookup when using
Symfony HttpCache does two requests in the same PHP process.
2.5.1
- Fixed:
MaxHeaderValueLengthFormatter::getTagsHeaderName
now actually returns the value.
2.5.0
Cache Tagging
- Added:
MaxHeaderValueLengthFormatter
to allow splitting cache tag headers into
multiple headers.
Symfony HttpCache
- Have cache invalidator check for presence of Psr6Store for a better guess
whether the cache really is TagCapable or not.