Skip to content

Releases: FriendsOfSymfony/FOSHttpCache

2.0.0

10 Jun 11:18
@dbu dbu
2.0.0
Compare
Choose a tag to compare

See CHANGELOG.md for a list of the changes

2.0.0-beta3

30 May 06:31
@dbu dbu
Compare
Choose a tag to compare
2.0.0-beta3 Pre-release
Pre-release

Decoupled ResponseTagger from ProxyClient.

BC break with 2.0.0-beta2: The ResponseTagger no longer expects an instance of TagCapable as first argument. To adjust the tag header name or the way the tags are formatted, use the new header_formatter option with a TagHeaderFormatter.

2.0.0-beta2

03 Apr 06:21
@dbu dbu
Compare
Choose a tag to compare
2.0.0-beta2 Pre-release
Pre-release
  • Added extension point for dynamic caching servers in HttpDispatcher

2.0.0-beta1

03 Feb 21:29
Compare
Choose a tag to compare
2.0.0-beta1 Pre-release
Pre-release
  • Raised minimum PHP version to 5.6.
  • BC break: Removed the Interface suffix from all interfaces.
  • BC break: Renamed HashGenerator to DefaultHashGenerator.
  • Added interface HashGenerator.

2.0.0-alpha1

15 Nov 14:20
Compare
Choose a tag to compare
2.0.0-alpha1 Pre-release
Pre-release

PHP

  • Raised minimum PHP version to 5.5.

HTTP

  • BC break: Replaced hard coupling on Guzzle HTTP client with HTTPlug.
    You now need to explicitly specify a supported HTTP adapter in composer.json;
    see installation instructions.
  • BC break: Separated the HttpDispatcher from the proxy clients. All
    existing clients still use HTTP to send invalidation requests.
  • Added support and documentation for setting a custom TTL specifically for the
    caching proxy.

Logging

  • BC break: Renamed the log event listener from LogSubscriber to
    LogListener.

Tagging

  • BC break: Moved tag invalidation to CacheInvalidator, and renamed
    TagHandler to ResponseTagger.
  • Abstracting tags by adding new TagsInterface for ProxyClients.
  • Added strict option to ResponseTagger that throws an exception when empty
    tags are added. By default, empty tags are ignored.

Varnish

  • Varnish configuration are now files that you can directly include from your
    .vcl and call custom functions to avoid copy-pasting VCL code.
  • Added support for and changed default to Varnish version 5.
  • Moved Varnish 4 and 5 configuration files from resources/config/varnish-4/
    to resources/config/varnish/.
  • Changed default Varnish version to 5.
  • Removed special case for anonymous users in user context behaviour. Varnish
    now does a hash lookup for anonymous users as well.

NGINX

  • The NGINX purge location is no longer passed as constructor argument but by
    calling setPurgeLocation().

Symfony HttpCache

  • BC break: Renamed all event listeners to XxListener instead of
    XxSubscriber.
  • BC break: Constructors for PurgeListener and RefreshListener now use
    an options array for customization.
  • BC break: Converted abstract event dispatching kernel class
    EventDispatchingHttpCache to a trait, which now provides the addSubscriber
    and addListener methods. In your AppCache, replace
    AppCache extends EventDispatchingHttpInterface with a
    use EventDispatchingHttpCache; statement.
  • The user context by default does not use a hardcoded hash for anonymous users
    but does a hash lookup. You can still configure a hardcoded hash.

Testing

  • BC break: Refactored the proxy client test system into traits. Removed
    ProxyTestCase; use the traits CacheAssertions and HttpCaller instead.
  • Added HTTP method parameter to HttpCaller::getResponse().

1.4.2

02 Feb 12:09
@dbu dbu
Compare
Choose a tag to compare

fix invalidating of long lists of tags that might surpass the maximum header size of varnish.

1.4.1

12 Dec 13:57
Compare
Choose a tag to compare
  • eb24688 Merge pull request #259 from FriendsOfSymfony/symfony-3.0-1.4 (David Buchmann)
  • c89e4f6 Merge pull request #261 from FriendsOfSymfony/symfony2 (David Buchmann)
  • a048f13 Replace 'Symfony2' with 'Symfony' (David de Boer)
  • fd08370 Upgrade Symfony dependencies to 3.0 (David de Boer)

1.4.0

04 Jun 06:10
Compare
Choose a tag to compare
  • 54117e2 Merge pull request #205 from FriendsOfSymfony/document-symfony-test-case (David de Boer)
  • 1e3138c document the symfony test case (David Buchmann)
  • 1741f68 bump composer branch alias (David Buchmann)
  • 4b6599f Merge pull request #204 from FriendsOfSymfony/symfony-process-dep (David Buchmann)
  • 284476d Note that symfony/process is a requirement for running tests (David de Boer)
  • 8332e2e Merge pull request #201 from FriendsOfSymfony/hhvm-symfony-travis (David de Boer)
  • 2a8ec17 fix AppKernel and no longer skip symfony cache client tests with hhvm (David Buchmann)
  • 64c4acd Merge pull request #193 from FriendsOfSymfony/symfony-cache-client (David de Boer)
  • df54ddc add tests for the symfony proxy client (David Buchmann)
  • 6d27bc0 Merge pull request #196 from FriendsOfSymfony/cleanup-setup (David de Boer)
  • 211c59b cleanup cache setup (David Buchmann)
  • d3274be Merge pull request #197 from FriendsOfSymfony/smaller-packages (David Buchmann)
  • 8485e9d Exclude files and dirs when building packages (David de Boer)
  • 40b24bd adding client for the symfony built-in reverse proxy HttpCache (David Buchmann)
  • b56f545 Fix docs line emphasis (David de Boer)
  • d39c132 Merge pull request #194 from FriendsOfSymfony/build-matrix (David Buchmann)
  • cb7e474 adding more builds to the matrix and adjust to correct lowest requirements (David Buchmann)
  • e2fb221 Merge pull request #195 from FriendsOfSymfony/doc-improvements (David Buchmann)
  • 645e739 Add link to GitHub (David de Boer)
  • b603caa Fix typo (David de Boer)
  • bf54037 Don't show version number in title (David de Boer)

1.3.2

08 May 09:17
@dbu dbu
Compare
Choose a tag to compare
  • Added TagHandler->hasTags() method (#190)
  • Documentation cleanups

1.3.1

01 Apr 08:13
Compare
Choose a tag to compare
  • Add authentication support to user context subscribe (#167).
  • Use guzzle/guzzle instead of deprecated subtree splits (#177).
  • Do not expose cache tags (#174).