Releases: sonata-project/SonataBlockBundle
Releases · sonata-project/SonataBlockBundle
3.9.0
Added
- Added missing validation translations
- Added missing translation to blocks
Changed
- Changed
MenuRegistry::add
method signature to allow string values instead ofMenuBuilderInterface
- Removed usage of old form type aliases
Deprecated
- deprecated
sonata.block.menu
tag in favor of the existingknp_menu.menu
tag - deprecated
MenuBuilderInterface
class
3.8.0
Added
- added Russian translations
- Implement reset method in
BlockDataCollector
to be compatible with Symfony 3.4
Fixed
- It is now allowed to install Symfony 4
AbstractBlockServiceTestCase
now works with PHPUnit >= 6.0
3.7.0
Changed
- menuRegistry parameter in
Sonata\BlockBundle\Block\Service\MenuBlockService
to be allowed the type of array
3.6.0
Changed
- Rollback to PHP 5.6 as minimum support.
Fixed
- Register commands as services to prevent deprecation notices on Symfony 3.4
- move
commands.xml
to correct folder
Removed
- Remove pre sf2.8 bc code
3.5.0
Added
- support for sonata/cache 2
Deprecated
- Option resolver BC trick.
Fixed
- OutOfBoundsException while replacing block service default name argument
Removed
- Support for old versions of PHP and Symfony.
3.4.0
Added
- added block annotation
Fixed
- a notice that appeared when defining blocks through annotations
- Changed order of statements in the getEventListeners() method, to prevent issues where you pass in a \Closure class
- deprecation notices related to
addClassesToCompile
3.3.2
Fixed
- Resolve container parameters before comparing class names
- Internal deprecations finally fixed
3.3.1
Fixed
- Profiler block Twig 2.0 compatibility
- Some unwanted deprecation notices about code we can't change until next major version have been removed
3.3.0
Added
- Created
MenuManager
to collect all menus for theMenuBlockService
- Added new
sonata.block_menu
tag
Changed
- Empty block names are automatically set via
TweakCompilerPass
Deprecated
- Deprecated the array parameter in
MenuBlockService
in favor of the newMenuManager
Fixed
- Missing italian translation
Removed
- Deprecated
BaseBlockService
class was removed from the list of classes to compile
3.2.0
Added
- Created
Sonata\BlockBundle\Block\Service\AbstractAdminBlockService
class - Created
Sonata\BlockBundle\Block\Service\AbstractBlockService
class - Created
Sonata\BlockBundle\Block\Service\AdminBlockServiceInterface
class - Created
Sonata\BlockBundle\Block\Service\BlockServiceInterface
class
Deprecated
- The class
Sonata\BlockBundle\Block\AbstractBlockService
is deprecated - The class
Sonata\BlockBundle\Block\BaseBlockService
is deprecated - The class
Sonata\BlockBundle\Block\BlockAdminServiceInterface
is deprecated - The class
Sonata\BlockBundle\Block\BlockServiceInterface
is deprecated