Skip to content

Releases: sonata-project/SonataBlockBundle

3.16.0

31 Jul 21:47
3.16.0
2fe7a11
Compare
Choose a tag to compare

Deprecated

  • BaseCommand class
  • JMS annotations
  • AbstractBlockServiceTestCase class with BlockServiceTestCase
  • Passing block name to the AbstractBlockService class
  • AdminBlockServiceInterface interface
  • AbstractAdminBlockService class
  • BlockServiceInterface::getName method
  • BaseCommand::getBlockServiceManager() method in favor of BaseCommand::$blockManager property;
  • Extending DebugBlocksCommand class, which will be declared final in 4.0;
  • Invoking DebugBlocksCommand with "debug:sonata:block" as name.
  • Marked all classes as @final

Removed

  • Removed deprecation warning when block name does not match service id

Fixed

  • error when debugging blocks with the required options.
  • serializing issue for BlockDataCollector
  • Deprecation caused by usage of ContainerAwareCommand.

3.15.0

03 Mar 22:46
3.15.0
d0a67fc
Compare
Choose a tag to compare

Changed

  • Improve performance and entropy when calling uniqid from @jacquesbh.

Fixed

  • crash when using null as a block name in service definitions

3.14.0

12 Jan 13:08
3.14.0
57cba96
Compare
Choose a tag to compare

Fixed

  • Deprecations about Sonata\CoreBundle\Form\*
  • Deprecations about Sonata\CoreBundle\Model\*
  • Fix deprecation for symfony/config 4.2+

Removed

  • support for php 5 and php 7.0

3.13.0

03 Dec 19:18
3.13.0
72f1a2f
Compare
Choose a tag to compare

Added

  • All blocks containing sonata.block will be auto registered
  • Added EditableBlockService and FormMapper interfaces
  • Added Meta\Metadata class (import from CoreBundle)
  • Added Meta\MetadataInterface class (import from CoreBundle)
  • Added debug:sonata:block command alias for DebugBlocksCommand

Fixed

  • Allow autowiring blocks
  • Now the deprecated setDefaultSettings() for blocks is handled correctly.
    You should avoid using it in favor of configureSettings() but it will work
    and show the deprecated message.

Deprecated

  • Deprecated BlockServiceInterface::getJavascripts()
  • Deprecated BlockServiceInterface::getStylesheets()

3.12.1

12 Mar 10:04
3.12.1
8196b71
Compare
Choose a tag to compare

Added

  • Missing italian translations

Fixed

  • sonata.block.manager is public
  • Fixed old form alias usage

3.12.0

08 Feb 10:01
3.12.0
e88bf24
Compare
Choose a tag to compare

Added

  • added title translation domain option to RssBlockService
  • added icon option to RssBlockService
  • added class option to RssBlockService

Fixed

  • Fixed OptionsResolver handling in command

Removed

  • Removed default title from RssBlockService
  • Redesign RssBlockService template
  • Removed support for PHPUnit 4 in AbstractBlockServiceTestCase

3.11.0

23 Jan 15:20
3.11.0
c58b58f
Compare
Choose a tag to compare

Added

  • Added symfony/asset and symfony/templating dependencies
  • Added new service sonata.templating for use in place of templating
  • Add tag templating.helper back to sonata.block.templating.helper service

Changed

  • Referencing templates using Twig namespaced syntax

Removed

  • Removed tag templating.helper from sonata.block.templating.helper service

3.10.0

16 Jan 10:10
3.10.0
c7b9ac6
Compare
Choose a tag to compare

Fixed

  • Definition argument incompatibilities with Symfony 2.8

Removed

  • Removed requirement for default_contexts config parameter

3.9.2

08 Jan 09:40
3.9.2
904d35f
Compare
Choose a tag to compare

Fixed

  • Symfony recipe compatibility with twig-bundle requirement.

3.9.1

07 Jan 10:22
3.9.1
e279706
Compare
Choose a tag to compare

Fixed

  • Make services explicit public
  • Autoregister blocks as public services