See also the GitHub releases page.
- Replace hard coupling on Guzzle HTTP client with HTTP adapter. You now need to explicitly specify the adapter you want, see [installation instructions] (http://foshttpcache.readthedocs.org/en/stable/installation.html)
- The NGINX purge location is no longer passed as constructor argument but by
calling
setPurgeLocation(). - In ProxyTestCase,
getHttpClient()has been replaced withgetHttpAdapter(); added HTTP method parameter togetResponse(). - Changed default Varnish version to 4.
- Added support and documentation for setting a custom TTL specifically for the caching proxy.
- Refactored the proxy client test system into traits. Removed ProxyTestCase,
use the traits
CacheAssertionsandHttpCallerinstead. - Abstracting tags by adding new
TagsInterfacefor ProxyClients, as part of that also: BC break: Moved tag invalidation toCacheInvalidator, and rename TagHandler to ResponseTagger. - The ResponseTagger validates that no tags are empty. It can skip empty tags or throw exceptions
- The TagHandler constructor now accepts a
headerLenghtargument which will cause it'sinvalidateTagsfunction to invalidate in batches if the header length exceeds this value.
- Support for Symfony 3.
- Added symfony/http-kernel HttpCache client.
- Added SymfonyTestCase.
- Removed unneeded files from dist packages.
- Added
TagHandler->hasTags()method.
- Added authentication support to user context subscribe.
- Fixed usage of deprecated Guzzle subtree splits.
- Fixed exposed cache tags.
- Added TagHandler.
- It is no longer possible to change the event dispatcher of the CacheInvalidator once its instantiated. If you need a custom dispatcher, set it right after creating the invalidator instance.
- Deprecated
CacheInvalidator::addSubscriberin favor of either using the event dispatcher instance you inject or doinggetEventDispatcher()->addSubscriber($subscriber).
- Added support for the symfony/http-kernel component reverse proxy HttpCache.
- Fixed documentation for user context varnish configuration to also work when
client omits the
AcceptHTTP header.