All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.4.0 - 2021-12-09
- [#385] Added support for Symfony 6. (@jordisala1991)
- [#385] Removed support for Symfony 5.2. (@jordisala1991)
- [#385] Removed support for PHP < 7.3. (@jordisala1991)
3.3.1 - 2021-12-04
- [#384] Fixed command registration (@jordisala1991)
- [#384] Fixed inconsistent return types (@jordisala1991)
3.3.0 - 2021-03-28
- [#321] Add Symfony 5 support (@VincentLanglet)
- [#309] Add support for PHP 8.x (@Yozhef)
3.2.1 - 2020-01-28
- Changed return type declarations from
void
toint
on the commandsexecute()
methods
3.2.0 - 2020-01-28
- Added symfony 5 components in composer.json
- Removed support for symfony 3
3.1.0 - 2019-06-03
- missing argument for SSI and ESI cache
- Fix return code of flush command for symfony cache
- crash when running
sonata:cache:flush-all
orsonata:cache:flush
- Fix deprecation for symfony/config 4.2+
- not providing a cache manager to commands extending
Sonata\CacheBundle\Command\BaseCacheCommand
3.0.1 - 2018-12-15
- Wrong namespace for
sonata.cache.phpcr_odm.event_subscriber.default
config sonata.cache.phpcr_odm.event_subscriber.default
is nowpublic
- definition pointing to a non existent class
3.0.0 - 2018-06-27
- support for sonata/cache 2
- support for sonata/cache 1
- support for Twig 1
- PHP 5.3 through 5.5 support was removed
- Symfony 2.2 through 2.7 support was removed
- removed deprecated twig template classes
- removed calling deprecated twig classes in bundle boot
- Fixed sonata.cache.invalidation.simple service definition typo
Sonata\CacheBundle\Twig\TwigTemplate14
was renamed toSonata\CacheBundle\Twig\TwigTemplate
2.4.2 - 2018-03-12
- Usage of twig service in SonataCacheBundle is optional now
2.4.1 - 2018-02-23
- made service public
- Symfony 4.0 for
symfony/config
- Commands not working on symfony4
2.4.0 - 2017-11-30
- Added password configuration option under Predis cache configuration.
- Rollback to PHP 5.6 as minimum support.
- Changed internal folder structure to
src
,tests
anddocs
Sonata\CacheBundle\Invalidation\SimpleCacheInvalidation
, useSonata\Cache\Invalidation\SimpleCacheInvalidation
insteadSonata\CacheBundle\Invalidation\Recorder
, useSonata\Cache\Invalidation\Recorder
instead.Sonata\CacheBundle\Invalidation\ModelCollectionIdentifiers
, useSonata\Cache\Invalidation\ModelCollectionIdentifiers
insteadSonata\CacheBundle\Invalidation\InvalidationInterface
, useSonata\Cache\Invalidation\InvalidationInterface
insteadSonata\CacheBundle\Invalidation\DoctrinePHPCRODMListener
, useSonata\Cache\Invalidation\DoctrinePHPCRODMListener
insteadSonata\CacheBundle\Invalidation\DoctrineORMListener
, useSonata\Cache\Invalidation\DoctrineORMListener
insteadSonata\CacheBundle\Cache\CacheManager
, useSonata\Cache\CacheManager
instead.Sonata\CacheBundle\Cache\CacheManagerInterface
, useSonata\Cache\CacheManagerInterface
insteadSonata\CacheBundle\Cache\CacheInterface
, useSonata\Cache\CacheInterface
instead.Sonata\CacheBundle\Adapter\MemcachedCache
, useSonata\Cache\Adapter\Cache\MemcachedCache
insteadSonata\CacheBundle\Adapter\MongoCache
, useSonata\Cache\Adapter\Cache\MongoCache
insteadSonata\CacheBundle\Adapter\NoopCache
, useSonata\Cache\Adapter\Cache\NoopCache
insteadSonata\CacheBundle\Adapter\PRedisCache
, useSonata\Cache\Adapter\Cache\PRedisCache
instead- Deprecation warning when using
\Twig_Template::getAttribute
function. - omitting the
$argumentsResolver
argument when instanciatingSsiCache
orVarnishCache
- DoctrineBundle and DoctrinePHPCRBundle can be loaded before or after SonataCacheBundle.
- deprecation about using a
ControllerResolverInterface
to resolve arguments - It is now allowed to install Symfony 4
- Support for PHP <7.1
- Support for old versions of PHP and Symfony.
2.3.1 - 2016-09-06
- Fixed variable conflict when multiple Varnish servers are configured
2.3.0 - 2016-09-02
- Possibility to configure the timeout to clear the Symfony cache
- IP detection in SymfonyCache