All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.7.0 - 2017-11-28
- menuRegistry parameter in
Sonata\BlockBundle\Block\Service\MenuBlockService
to be allowed the type of array
3.6.0 - 2017-11-27
- Rollback to PHP 5.6 as minimum support.
- Register commands as services to prevent deprecation notices on Symfony 3.4
- move
commands.yml
to correct folder
- Remove pre sf2.8 bc code
3.5.0 - 2017-10-25
- support for sonata/cache 2
- Option resolver BC trick.
- OutOfBoundsException while replacing block service default name argument
- Support for old versions of PHP and Symfony.
3.4.0 - 2017-09-19
- added block annotation
- 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 - 2017-03-23
- Resolve container parameters before comparing class names
- Internal deprecations finally fixed
3.3.1 - 2017-02-28
- 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 - 2017-01-17
- Created
MenuManager
to collect all menus for theMenuBlockService
- Added new
sonata.block_menu
tag
- Empty block names are automatically set via
TweakCompilerPass
- Deprecated the array parameter in
MenuBlockService
in favor of the newMenuManager
- Missing italian translation
- Deprecated
BaseBlockService
class was removed from the list of classes to compile
3.2.0 - 2016-09-20
- 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
- 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
3.1.1 - 2016-07-12
- Deprecate
Tests\Block\Service\FakeTemplating
in favor ofTest\Mock\MockTemplating
(missing PR for 3.1.0)
3.1.0 - 2016-07-12
- Tests for
*BlockService*
now usesAbstractBlockServiceTestCase
- Deprecate empty class
BaseTestBlockService
- Deprecate
Tests\Block\AbstractBlockServiceTest
in favor ofTest\AbstractBlockServiceTestCase
- Profiler block design for Symfony Profiler v2
- Internal test classes are now excluded from the auto-loader
3.0.1 - 2016-06-14
- The log level on exceptions in
BlockRenderer
is decreased from critical to error - Replaced profiler icon with existing icon from profiler toolbar
- Error with the default extension configuration for
config:dump-reference
command
- Removed the asterisk sign from the profiler toolbar to be compliant with Symfony standard