Skip to content

Releases: sonata-project/SonataBlockBundle

4.2.0

21 Mar 15:12
4.2.0
002aa9f
Compare
Choose a tag to compare

Added

  • Hungarian translations
  • Allow knp-menu-bundle 3

3.18.4

10 Feb 18:59
3.18.4
5b5115a
Compare
Choose a tag to compare

Removed

  • Removed deprecation warnings when extending BlockServiceTestCase

3.18.3

30 Dec 20:16
3.18.3
3ed57da
Compare
Choose a tag to compare

Fixed

  • Crash when attempting to display the side menu when using sonata/ecommerce and Symfony 4.1

4.1.0

16 Dec 19:08
4.1.0
b0259a5
Compare
Choose a tag to compare

Added

  • Added support for symfony/event-dispatcher-contracts 2.x

Changed

  • Remove current timestamp from cache key

4.0.0

24 Nov 13:52
4.0.0
13abfe1
Compare
Choose a tag to compare

Added

  • Added support for Symfony 5
  • Add support for twig 3
  • Add BlockLoaderInterface::exists method to interface
  • Add BlockContextManagerInterface::exists method to interface

Changed

  • Replaced deprecated FilterResponseEvent
  • Make command fully lazy
  • Make all services public by default
  • Use symfony event dispatcher contracts
  • Use Twig directly in Blocks and Exception renderers
  • AbstractBlockService::getTemplating method renamed to getTwig
  • The block name is automatically set via TweakCompilerPass

Fixed

  • Fix some PhpStorm findings
  • Fix some phpstan findings
  • Fix twig import of macros
  • Load menu block only when KnpMenuBundle exist
  • Remove undefined method call

Removed

  • Remove service class parameters
  • Remove PageBundle specific code
  • Remove addClassesToCompile
  • Removed block id autowiring
  • Removed ConvertFromFqcn component
  • Dropped support for old symfony (=< 4.3) versions
  • Dropped support for twig 1.x
  • Dropped support for PHP 7.2 and lower
  • Removed symfony/event-dispatcher dependency
  • Removed default null values for arguments of AbstractBlockService class
  • Removed dependency on symfony/templating in composer.json
  • Removed all temporary classes for templating
  • Removed FakeTemplating class
  • internal test classes are now excluded from the autoloader
  • Removed AbstractBlockServiceTest::$container

3.18.2

24 Nov 13:31
3.18.2
e169c14
Compare
Choose a tag to compare

Fixed

  • Make cache optional again

3.18.1

19 Sep 20:57
3.18.1
7520297
Compare
Choose a tag to compare

Changed

  • Replaced deprecated EngineInterface

3.18.0

11 Sep 17:11
3.18.0
694d396
Compare
Choose a tag to compare

Added

  • Added support for PSR Cache

Deprecated

  • Deprecate Sonata Cache in favor of PSR Cache

Removed

  • Remove default image from metadata

Changed

  • Removed unused BlockServiceManager constructor arguments

Fixed

  • Fix auto-registration of tagged blocks
  • Added explicit type check
  • Added check before calling deprecated method
  • Fix Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch() deprecation

3.17.0

16 Aug 11:17
3.17.0
38619fa
Compare
Choose a tag to compare

Deprecated

  • "sonata.templating", "sonata.templating.locator" and "sonata.templating.name_parser" services;
  • Sonata\BlockBundle\Templating\TwigEngine and Sonata\BlockBundle\Test\FakeTemplating classes.

Fixed

  • Fixed validation of EditableBlock

3.16.1

05 Aug 06:31
3.16.1
4606e3c
Compare
Choose a tag to compare

Added

  • Added support for PHPUnit 8 for provided BlockServiceTestCase