@@ -3,39 +3,43 @@ Changelog
33
44See also the [ GitHub releases page] ( https://github.com/FriendsOfSymfony/FOSHttpCache/releases ) .
55
6- 2.0.0 (unreleased)
7- ------------------
6+ 2.0.0
7+ -----
8+
9+ ### General
10+
11+ * ** BC break:** raised minimum PHP version to 5.5.
812
913### HTTP
1014
11- * Replaced hard coupling on Guzzle HTTP client with HTTPlug. You now need
12- to explicitly specify a supported HTTP adapter in composer.json, see [ installation instructions ]
13- (http://foshttpcache.readthedocs.io/en/stable/installation.html )
14- * BC Break: Separated the HttpDispatcher from the proxy clients. All existing
15- clients still use HTTP to send invalidation requests.
15+ * ** BC break: ** Replaced hard coupling on Guzzle HTTP client with HTTPlug.
16+ You now need to explicitly specify a supported HTTP adapter in composer.json;
17+ see [ installation instructions ] (http://foshttpcache.readthedocs.io/en/stable/installation.html ).
18+ * ** BC break: ** Separated the HttpDispatcher from the proxy clients. All
19+ existing clients still use HTTP to send invalidation requests.
1620* Added support and documentation for setting a custom TTL specifically for the
1721 caching proxy.
1822
1923### Logging
2024
21- * BC BREAK: Renamed the log event listener from Logsubscriber to LogListener.
25+ * ** BC break:** Renamed the log event listener from ` LogSubscriber ` to
26+ ` LogListener ` .
2227
2328### Tagging
2429
25- * Abstracting tags by adding new ` TagsInterface ` for ProxyClients, as part of
26- that also:
27- BC break: Moved tag invalidation to ` CacheInvalidator ` , and rename TagHandler
28- to ResponseTagger.
29- * The ResponseTagger validates that no tags are empty. It can skip empty tags
30- or throw exceptions
30+ * ** BC break:** Moved tag invalidation to ` CacheInvalidator ` , and renamed
31+ ` TagHandler ` to ` ResponseTagger ` .
32+ * Abstracting tags by adding new ` TagsInterface ` for ProxyClients.
33+ * Added ` strict ` option to ` ResponseTagger ` that throws an exception when empty
34+ tags are added. By default, empty tags are ignored.
3135
3236### Varnish
3337
3438* Varnish configuration are now files that you can directly include from your
3539 .vcl and call custom functions to avoid copy-pasting VCL code.
40+ * Added support for and changed default to Varnish version 5.
3641* Moved Varnish 4 and 5 configuration files from ` resources/config/varnish-4/ `
3742 to ` resources/config/varnish/ ` .
38- * Changed default Varnish version to 5.
3943
4044### NGINX
4145
@@ -44,18 +48,17 @@ See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpC
4448
4549### Symfony HttpCache
4650
47- * BC BREAK: Renamed all event listeners to XxListener instead of XxSubscriber.
48- * BC BREAK: Constructors for PurgeListener and RefreshListener now use an
51+ * ** BC break: ** Renamed all event listeners to XxListener instead of XxSubscriber.
52+ * ** BC break: ** Constructors for PurgeListener and RefreshListener now use an
4953 options array for customization.
5054* Provide a trait for the event dispatching kernel, instead of a base class.
5155 The trait offers both the addSubscriber and the addListener methods.
5256
5357### Testing
5458
55- * In ProxyTestCase, ` getHttpClient() ` has been replaced with ` getHttpAdapter() ` ;
56- added HTTP method parameter to ` getResponse() ` .
57- * Refactored the proxy client test system into traits. Removed ProxyTestCase,
58- use the traits ` CacheAssertions ` and ` HttpCaller ` instead.
59+ * ** BC break:** Refactored the proxy client test system into traits. Removed
60+ ` ProxyTestCase ` ; use the traits ` CacheAssertions ` and ` HttpCaller ` instead.
61+ * Added HTTP method parameter to ` HttpCaller::getResponse() ` .
5962
60631.4.2
6164-----
0 commit comments