Releases: sonata-project/SonataBlockBundle
Releases · sonata-project/SonataBlockBundle
4.16.2
Removed
- [#1098] Remove
editable
field fromContainerBlockService
, it was added twice. (@jordisala1991)
4.16.1
Changed
- [#1093] Change typehint of
addChild
toBlockInterface
instead ofself
. (@jordisala1991)
Fixed
- [#1090] Avoid deprecation for the
hasChildren
method. (@jordisala1991)
4.16.0
Added
- [#1087] BlockInterface::addChild() (@VincentLanglet)
- [#1087] BlockInterface::hasChild() (@VincentLanglet)
Changed
- [#1087] BlockInterface::getChildren() now returns iterable (@VincentLanglet)
Deprecated
- [#1087] BlockInterface::addChildren() (@VincentLanglet)
- [#1087] BlockInterface::hasChildren() (@VincentLanglet)
4.15.0
Added
- [#1080] Add lazy description to commands. (@jordisala1991)
4.14.0
4.13.0
Added
- [#1055] Add explicit dependency on
psr/container
andpsr/log
. (@jordisala1991)
Changed
Deprecated
- [#1068] FormMapper::create() method. (@VincentLanglet)
- [#1051] Deprecated not passing container types as second argument to
BlockServiceManager::__construct
(@dmaicher)
Removed
- [#1055] Remove dependency on
sonata-project/twig-extensions
since it wasn't used. (@jordisala1991)
4.12.0
Changed
Deprecated
- [#1045] Deprecated method
AbstractBlockService::renderPrivateResponse()
(@dmaicher) - [#1045] Deprecated option
cache_policy
onMenuBlockService
(@dmaicher) - [#1042] Deprecated passing an instance of
BlockServiceManagerInterface
as first argument forBlockHelper::__construct
(@dmaicher) - [#1042] Deprecated
BaseBlock::$ttl
(@dmaicher) - [#1039] Deprecated passing array
$cacheBlocks
as 3rd argument forBlockContextManager::__construct
(@dmaicher) - [#1039] Deprecated
BlockContextManagerInterface::CACHE_KEY
(@dmaicher)
4.11.0
Deprecated
- [#1011] Integration with
SonataCacheBundle
has been deprecated (@dmaicher) - [#1011] Interface
Sonata\BlockBundle\Cache\HttpCacheHandlerInterface
and it's implementations have been deprecated (@dmaicher) - [#1011] Constructor Signature of
Sonata\BlockBundle\Templating\Helper\BlockHelper
changed: all caching related arguments should be removed (@dmaicher) - [#1011] All caching configuration options have been deprecated and
sonata_block.http_cache
should be set tofalse
(@dmaicher)
Fixed
- [#1026] Do not trigger a deprecation if a template setting is not provided in a block context
__construct
. (@VincentLanglet)
4.10.0
Deprecated
- [#1012] Not passing a string value for the template setting of a BlockContext (@VincentLanglet)
4.9.1
Fixed
- [#997] Wrong deprecation message in BlockContextManager with Symfony 4 (@VincentLanglet)