Skip to content

Releases: FriendsOfSymfony/FOSHttpCacheBundle

2.0.0-alpha1

06 Mar 15:07
Compare
Choose a tag to compare
2.0.0-alpha1 Pre-release
Pre-release

General

  • Updated the version of FOSHttpCache to 2.0.0. See the FOSHttpCache changelog
    for more information. Most importantly, we removed the hard coupling on the
    Guzzle HTTP client (using HTTPlug). Your composer.json now needs to
    specify which HTTP client to install; see the installation instructions.
  • Deprecated methods have been removed.

Proxy client

  • The configuration for the proxy client has been adjusted. Proxy servers are
    now configured under http and servers must be a list - a comma separated
    string of server IPs is no longer supported.

Event listeners

  • BC break: the UserContextListener constructor signature was changed to
    take an array of options.
  • BC break: renamed the event listener classes to XyzListener.

Rule matcher

  • BC break: The match_response and additional_cacheable_status
    configuration parameters were removed for individual match rules.

  • BC break: The second argument of the RuleMatcher constructor was changed
    to take a ResponseMatcherInterface.

  • Cacheable status codes are now configured globally
    (cacheable.response.additional_status or cacheable.response.expression).

Tags

  • BC break: The TagHandler has been split. Invalidating tags happens through the
    CacheManager (if you use annotations for tag invalidation, you don't need to
    change anything). Recording tags and writing them into the responses is now
    done through the SymfonyResponseTagger.

Tests

  • BC break: Dropped the proxy client services as they where not used anywhere. The
    services fos_http_cache.test.client.varnish and
    fos_http_cache.test.client.nginx no longer exist.

User context

  • Added an option always_vary_on_context_hash to make it possible to disable
    automatically setting the vary headers for the user hash.

1.3.10

06 Jan 14:48
@dbu dbu
Compare
Choose a tag to compare
  • Avoid calling deprecated method in Symfony 3.2

1.3.9

06 Sep 11:31
@dbu dbu
Compare
Choose a tag to compare
  • fix configuration handling when only custom proxy client is configured

1.3.8

31 Aug 08:31
@dbu dbu
Compare
Choose a tag to compare
  • Do not sanity check hash on anonymous requests.

1.3.7

24 Feb 21:38
@dbu dbu
Compare
Choose a tag to compare
  • sanity check on user context hash in case session got lost meanwhile
  • trigger deprecation notices for things that will go away in 2.0

1.3.6

11 Dec 18:03
@dbu dbu
Compare
Choose a tag to compare
Merge pull request #268 from FriendsOfSymfony/symfony-3

Symfony 3

1.3.5

09 Dec 22:57
Compare
Choose a tag to compare
  • 0a17d0b Make tests pass on Symfony 2.8 deprecation notices (David de Boer)
  • a89ae50 Only load test clients when needed (David de Boer)
  • 37d6c93 Test against Symfony 2.8 (David de Boer)
  • b75a42a Merge pull request #261 from Tobion/patch-1 (David Buchmann)
  • 15cc7bb Fix dependency on a non-existent service "security.context" (Tobias Schultze)
  • dad3372 Merge pull request #254 from XWB/cleanup (David de Boer)
  • 04803a6 Removed whitespace (Karel Souffriau)

1.3.4

30 Sep 07:03
Compare
Choose a tag to compare
  • Add compatibility with Symfony 2.8’s service validation by loading test clients only when needed.

1.3.3

20 Aug 07:03
@dbu dbu
Compare
Choose a tag to compare
  • fix configuration to make custom proxy client for the cache manager work

1.3.2

13 Jul 18:24
Compare
Choose a tag to compare
  • Fixed some status codes (such as 204 and 302) not triggering invalidation.