Releases: FriendsOfSymfony/FOSHttpCacheBundle
1.3.15
2.2.2
2.2.1
1.3.14
2.2.0
Support for Symfony 4. (Note that only the fos_http_cache.cache_manager
service is public in Symfony 4. Use dependency injection if you need direct
access to other services.)
Added
-
You can now use cache tags and invalidate them with the Symfony
HttpCache
reverse proxy. You can tweak configuration in theproxy_client.symfony
section of the configuration. See the FOSHttpCache documentation for
instructions on how to set up the cache. -
Allow to configure the purge method for the Symfony proxy client.
-
You can now also match requests with regular expressions on the query string.
The new optionmatch.query_stringis available for cache control rules, tags
and invalidation. -
ETags can now be false, strong or weak by setting
headers.etagoption to
"strong"or"weak"respectively.
Valuetruedue to backward compatibility will be resolved as"strong".
Fixed
-
The FlashMessageListener has been broken during refactoring for 2.0 and now
works again. Constructor uses an options array. -
Tag annotations now work with SensioFrameworkExtraBundle 4. An accidental
exception prevents using them with FOSHttpCacheBundle 2.0 and 2.1. -
User context is more reliable not cache when the hash mismatches. (E.g. after
login/logout.) -
The
ContextInvalidationLogoutHandlerhas been deprecated in favor of the
ContextInvalidationSessionLogoutHandler. The original handler was called
after the invalidation of the session, and thus did not invalidate the session
it should have but a newly created one. You should remove the deprecated service
fos_http_cache.user_context.logout_handlerfrom the logout.handlers section
of your firewall configuration. -
User context compatibility which was broken due to Symfony making responses
private if the session is started as of Symfony 3.4+.
Deprecated
- Setting up custom services with the commands provided in this bundle has been
deprecated. The$commandNameconstructor argument will be removed in 3.0.
1.3.13
2.1.2
2.2.0-alpha1
First pre-release of 2.2
Changelog
Added
-
You can now also match requests with regular expressions on the query string.
The new optionmatch.query_stringis available for cache control rules, tags
and invalidation. -
ETags can now be false, strong or weak by setting
headers.etagoption to
"strong"or"weak"respectively.
Valuetruedue to backward compatibility will be resolved as"strong".
Fixed
-
The FlashMessageListener has been broken during refactoring for 2.0 and now
works again. Constructor uses an options array. -
Tag annotations now work with SensioFrameworkExtraBundle 4. An accidental
exception prevents using them with FOSHttpCacheBundle 2.0 and 2.1. -
User context is more reliable not cache when the hash mismatches. (E.g. after
login/logout.)
Todo
- Pending a cleanup of the context invalidation during logout (#394)
- Stable version will wait for PHP 7.2 stable and Symfony 3.4/4.0 to be sure we can support those properly in the 2.2 version
- Adjustments to new FOSHttpCache library features