Skip to content

Releases: FriendsOfSymfony/FOSHttpCacheBundle

1.3.16

29 Jun 08:20
@dbu dbu
1.3.16
c5798e9
Compare
Choose a tag to compare

2.4.0

18 Jun 08:14
@dbu dbu
2.4.0
a2326ed
Compare
Choose a tag to compare
  • Support for the Varnish xkey vmod for more efficient cache tagging.
  • Autoconfigure/Autowiring support

2.3.1

24 Apr 15:46
@dbu dbu
2.3.1
Compare
Choose a tag to compare

Fixed

  • Regression in the configuration when you explicitly specified the default
    proxy client. This started to be reported as error in 2.3.0 and now works
    again.

2.3.0

24 Apr 11:13
@dbu dbu
2.3.0
Compare
Choose a tag to compare
  • [Symfony HttpCache] You can now configure the Symfony proxy client to
    directly call the HttpCache for invalidation requests instead of executing
    real web requests.
    Use the new configuration option proxy_client.symfony.use_kernel_dispatcher
    and follow the instructions in FOSHttpCache to adjust your kernel and
    bootstrap things accordingly.

1.3.15

24 Apr 11:06
@dbu dbu
1.3.15
860edff
Compare
Choose a tag to compare
  • Fix session_listener decoration when session is not enabled.

2.2.2

20 Apr 16:35
@dbu dbu
2.2.2
6b75eba
Compare
Choose a tag to compare
  • Fix session_listener decoration when session is not enabled.

2.2.1

16 Apr 10:47
@dbu dbu
2.2.1
Compare
Choose a tag to compare
  • Adjust user context listener to handle Symfony 4.1 breaking behaviour change.

1.3.14

14 Apr 09:30
@dbu dbu
1.3.14
Compare
Choose a tag to compare
  • Backported fix for user context caching. The feature has been broken with Symfony 3.4 due to Symfony making responses private if the session is started as of Symfony 3.4+.

2.2.0

23 Mar 15:55
@dbu dbu
2.2.0
Compare
Choose a tag to compare

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 the proxy_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 option match.query_string is available for cache control rules, tags
    and invalidation.

  • ETags can now be false, strong or weak by setting headers.etag option to
    "strong" or "weak" respectively.
    Value true due 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 ContextInvalidationLogoutHandler has 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_handler from 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 $commandName constructor argument will be removed in 3.0.

1.3.13

23 Mar 15:05
@dbu dbu
1.3.13
e8a825b
Compare
Choose a tag to compare
  • Symfony HttpCache User Context: Move the AnonymousRequestMatcher to FOSHttpCache.

    The recommended way to ignore cookie based sessions is to set session_name_prefix to
    false rather than omit the Cookie header from user_identifier_headers.