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
voidtointon 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-allorsonata: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.defaultconfig sonata.cache.phpcr_odm.event_subscriber.defaultis 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\TwigTemplate14was 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,testsanddocs
Sonata\CacheBundle\Invalidation\SimpleCacheInvalidation, useSonata\Cache\Invalidation\SimpleCacheInvalidationinsteadSonata\CacheBundle\Invalidation\Recorder, useSonata\Cache\Invalidation\Recorderinstead.Sonata\CacheBundle\Invalidation\ModelCollectionIdentifiers, useSonata\Cache\Invalidation\ModelCollectionIdentifiersinsteadSonata\CacheBundle\Invalidation\InvalidationInterface, useSonata\Cache\Invalidation\InvalidationInterfaceinsteadSonata\CacheBundle\Invalidation\DoctrinePHPCRODMListener, useSonata\Cache\Invalidation\DoctrinePHPCRODMListenerinsteadSonata\CacheBundle\Invalidation\DoctrineORMListener, useSonata\Cache\Invalidation\DoctrineORMListenerinsteadSonata\CacheBundle\Cache\CacheManager, useSonata\Cache\CacheManagerinstead.Sonata\CacheBundle\Cache\CacheManagerInterface, useSonata\Cache\CacheManagerInterfaceinsteadSonata\CacheBundle\Cache\CacheInterface, useSonata\Cache\CacheInterfaceinstead.Sonata\CacheBundle\Adapter\MemcachedCache, useSonata\Cache\Adapter\Cache\MemcachedCacheinsteadSonata\CacheBundle\Adapter\MongoCache, useSonata\Cache\Adapter\Cache\MongoCacheinsteadSonata\CacheBundle\Adapter\NoopCache, useSonata\Cache\Adapter\Cache\NoopCacheinsteadSonata\CacheBundle\Adapter\PRedisCache, useSonata\Cache\Adapter\Cache\PRedisCacheinstead- Deprecation warning when using
\Twig_Template::getAttributefunction. - omitting the
$argumentsResolverargument when instanciatingSsiCacheorVarnishCache
- DoctrineBundle and DoctrinePHPCRBundle can be loaded before or after SonataCacheBundle.
- deprecation about using a
ControllerResolverInterfaceto 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