NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1586 most downloaded on Packagist
Symfony SonataBlockBundle
Last release 6 days ago
02 Oct 2026
Release timing varies
gaps range from 3 weeks to 11 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
111 releases · first in 2013
[ #1253 ] Support for doctrine/collections 3 ( @dmaicher )
One column per quarter.
[ #1245 ] Support for Symfony 8 ( @dmaicher )
[ #1240 ] Symfony 7.4 deprecations ( @dmaicher )
[ #1232 ] Extending BlockHelper ( @VincentLanglet )
[ #1218 ] Fix: form validations are by passed when an Exception is thrown ( @sad270 )
[ #1212 ] Symfony 7.1 deprecation about Symfony\Component\HttpKernel\DependencyInjection\Extension usage ( @VincentLanglet )
Symfony\Component\HttpKernel\DependencyInjection\Extension usage (@VincentLanglet)[ #1193 ] Symfony 7 support ( @VincentLanglet )
[ #1187 ] Italian translation keys from sonata.block.* to sonata.block.service.* ( @gremo )
- No significant changes
[ #1056 ] Remove BlockManagerInterface deprecated class. ( @jordisala1991 )
FormMapper. (@jordisala1991)doctrine/common ^2 (@jordisala1991)BlockManagerInterface deprecated class. (@jordisala1991)[ #1172 ] Support for sonata-project/form-extensions 2.0 ( @jordisala1991 )
sonata-project/form-extensions 2.0 (@jordisala1991)[#1129] Src/Resources/translations/SonataBlockBundle.ar.xliff (@nalabdou)
[#1122] Support for doctrine/collections 2 (@VincentLanglet)
[#1112] AbstractMenuBlockService (@VincentLanglet)
[#1100] Add removeChild to be consistent with addChild for Block Model. (@jordisala1991)
removeChild to be consistent with addChild for Block Model. (@jordisala1991)[#1098] Remove editable field from ContainerBlockService, it was added twice. (@jordisala1991)
editable field from ContainerBlockService, it was added twice. (@jordisala1991)[#1090] Avoid deprecation for the hasChildren method. (@jordisala1991)
addChild to BlockInterface instead of self. (@jordisala1991)hasChildren method. (@jordisala1991)[#1087] BlockInterface::addChild() (@VincentLanglet)
[#1080] Add lazy description to commands. (@jordisala1991)
[#1075] Command deprecations using Symfony 6.1 (@franmomu)
[#1051] Deprecated not passing container types as second argument to BlockServiceManager::__construct (@dmaicher)
psr/container and psr/log. (@jordisala1991)BlockServiceManager::__construct (@dmaicher)sonata-project/twig-extensions since it wasn't used. (@jordisala1991)[#1045] Deprecated method AbstractBlockService::renderPrivateResponse() (@dmaicher)
AbstractBlockService::renderPrivateResponse() (@dmaicher)cache_policy on MenuBlockService (@dmaicher)BlockServiceManagerInterface as first argument for BlockHelper::__construct (@dmaicher)BaseBlock::$ttl (@dmaicher)$cacheBlocks as 3rd argument for BlockContextManager::__construct (@dmaicher)BlockContextManagerInterface::CACHE_KEY (@dmaicher)[#1011] Integration with SonataCacheBundle has been deprecated (@dmaicher)
SonataCacheBundle has been deprecated (@dmaicher)Sonata\BlockBundle\Cache\HttpCacheHandlerInterface and it's implementations have been deprecated (@dmaicher)Sonata\BlockBundle\Templating\Helper\BlockHelper changed: all caching related arguments should be removed (@dmaicher)sonata_block.http_cache should be set to false (@dmaicher)__construct. (@VincentLanglet)[#1012] Not passing a string value for the template setting of a BlockContext (@VincentLanglet)
[#997] Wrong deprecation message in BlockContextManager with Symfony 4 (@VincentLanglet)
[#990] Added support for symfony/event-dispatcher-contracts ^3.0. (@jordisala1991)
symfony/event-dispatcher-contracts ^3.0. (@jordisala1991)[#939] Deprecations triggered using Symfony 5.4 (@franmomu)
[#899] Sonata\BlockBundle\Form\Mapper\FormMapper methods signature to be compatible with Sonata\AdminBundle\Form\Mapper\FormMapper (@VincentLanglet)
Sonata\BlockBundle\Form\Mapper\FormMapper methods signature to be compatible with Sonata\AdminBundle\Form\Mapper\FormMapper (@VincentLanglet)[#882] Allow installation with psr/cache versions 2 and 3. (@dbu)
sonata.block.form.type.container_template service array argument in the extension (@VincentLanglet)[#861] BlockServiceTestCase phpdoc (@VincentLanglet)
BlockServiceTestCase phpdoc (@VincentLanglet)[#846] Assertion made by assertSettings() (@VincentLanglet)
assertSettings() (@VincentLanglet)[#841] Remove @internal annotation from BlockServiceTestCase class (@core23)
[#782] Added Dutch translations (@franmomu)
### Added - Hungarian translations - Allow knp-menu-bundle 3
Added support for symfony/event-dispatcher-contracts 2.x
symfony/event-dispatcher-contracts 2.xReplaced deprecated FilterResponseEvent
BlockLoaderInterface::exists method to interfaceBlockContextManagerInterface::exists method to interfaceAbstractBlockService::getTemplating method renamed to getTwigTweakCompilerPasssymfony/event-dispatcher dependencyAbstractBlockService classsymfony/templating in composer.jsonFakeTemplating classAbstractBlockServiceTest::$container[#973] Fix phpdoc for BlockServiceTestCase (@core23)
[#891] Fix inconsistencies in parameter names between interfaces and their implementations (@greg0ire)
[#873] Flipped ServiceListType returned choices option (@gremo)
[#844] Support for "symfony/asset:^5.2" (@phansys)
[#841] Remove @internal annotation from BlockServiceTestCase class (@core23)
[#778] Added Dutch translations (@zghosts)
remove SonataCoreBundle dependencies
### Added - Support for doctrine/common 3.
doctrine/common 3.### Fixed - Drop unnecessary constructor
Removed deprecation warnings when extending BlockServiceTestCase
BlockServiceTestCaseCrash when attempting to display the side menu when using sonata/ecommerce and Symfony 4.1
### Fixed - Make cache optional again
Replaced deprecated EngineInterface
Deprecate Sonata Cache in favor of PSR Cache
Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch() deprecation"sonata.templating", "sonata.templating.locator" and "sonata.templating.name_parser" services;
Sonata\BlockBundle\Templating\TwigEngine and Sonata\BlockBundle\Test\FakeTemplating classes.EditableBlockAdded support for PHPUnit 8 for provided BlockServiceTestCase
BlockServiceTestCaseRemoved deprecation warning when block name does not match service id
BaseCommand classAbstractBlockServiceTestCase class with BlockServiceTestCaseAdminBlockServiceInterface interfaceAbstractAdminBlockService classBlockServiceInterface::getName methodBaseCommand::getBlockServiceManager() method in favor of BaseCommand::$blockManager property;DebugBlocksCommand class, which will be declared final in 4.0;DebugBlocksCommand with "debug:sonata:block" as name.@finalBlockDataCollectorContainerAwareCommand.Improve performance and entropy when calling uniqid from @jacquesbh.
uniqid from @jacquesbh.null as a block name in service definitionsDeprecations about Sonata\CoreBundle\Form\*
Sonata\CoreBundle\Form\*Sonata\CoreBundle\Model\*Now the deprecated setDefaultSettings() for blocks is handled correctly. You should avoid using it in favor of configureSettings() but it will work an…
sonata.block will be auto registeredEditableBlockService and FormMapper interfacesMeta\Metadata class (import from CoreBundle)Meta\MetadataInterface class (import from CoreBundle)debug:sonata:block command alias for DebugBlocksCommandsetDefaultSettings() for blocks is handled correctly.
You should avoid using it in favor of configureSettings() but it will work
and show the deprecated message.BlockServiceInterface::getJavascripts()BlockServiceInterface::getStylesheets()### Added - Missing italian translations ### Fixed - sonata.block.manager is public - Fixed old form alias usage
Your coding agent can read these notes before it upgrades. Set up the MCP server →