Skip to content

2.1.0

Compare
Choose a tag to compare
@dbu dbu released this 19 Dec 16:34
· 344 commits to 3.x since this release
2.1.0
  • Support Symfony 4.

Testing

  • Upgraded phpunit to 5.7 / 6. If you use anything from the
    FOS\HttpCache\Test namespace you need to update your project to use
    PHPUnit 6 (or 5.7, if you are using PHP 5.6).

Symfony HttpCache

  • Cache tagging supprt for Symfony HttpCache

    Added a PurgeTagsListener for tag based invalidation with the Symfony
    HttpCache reverse caching proxy. This requires the newly created
    Toflar Psr6Store
    built on PSR-6 cache and supporting pruning expired cache entries.

  • Using Request::isMethodCacheable rather than Request::isMethodSafe to
    correctly handle OPTIONS and TRACE requests.