Skip to content

Releases: sonata-project/SonataBlockBundle

3.9.0

12 Dec 16:58
3.9.0
e068ba3
Compare
Choose a tag to compare

Added

  • Added missing validation translations
  • Added missing translation to blocks

Changed

  • Changed MenuRegistry::add method signature to allow string values instead of MenuBuilderInterface
  • Removed usage of old form type aliases

Deprecated

  • deprecated sonata.block.menu tag in favor of the existing knp_menu.menu tag
  • deprecated MenuBuilderInterface class

3.8.0

30 Nov 11:02
3.8.0
6e07d8d
Compare
Choose a tag to compare

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

28 Nov 17:06
3.7.0
59d2bc4
Compare
Choose a tag to compare

Changed

  • menuRegistry parameter in Sonata\BlockBundle\Block\Service\MenuBlockService to be allowed the type of array

3.6.0

27 Nov 16:13
3.6.0
a18a2be
Compare
Choose a tag to compare

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

25 Oct 08:24
3.5.0
e9722f2
Compare
Choose a tag to compare

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

19 Sep 15:15
3.4.0
052f1eb
Compare
Choose a tag to compare

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

23 Mar 12:54
3.3.2
7cdf6e5
Compare
Choose a tag to compare

Fixed

  • Resolve container parameters before comparing class names
  • Internal deprecations finally fixed

3.3.1

28 Feb 13:40
3.3.1
f5aaddf
Compare
Choose a tag to compare

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

17 Jan 11:57
3.3.0
3d8d6c3
Compare
Choose a tag to compare

Added

  • Created MenuManager to collect all menus for the MenuBlockService
  • Added new sonata.block_menu tag

Changed

  • Empty block names are automatically set via TweakCompilerPass

Deprecated

  • Deprecated the array parameter in MenuBlockServicein favor of the new MenuManager

Fixed

  • Missing italian translation

Removed

  • Deprecated BaseBlockService class was removed from the list of classes to compile

3.2.0

20 Sep 08:01
3.2.0
987b9e9
Compare
Choose a tag to compare

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