Releases: sonata-project/SonataBlockBundle
Releases · sonata-project/SonataBlockBundle
4.2.0
3.18.4
3.18.3
4.1.0
4.0.0
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 togetTwig
- 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
incomposer.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
3.18.1
3.18.0
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
Deprecated
- "sonata.templating", "sonata.templating.locator" and "sonata.templating.name_parser" services;
Sonata\BlockBundle\Templating\TwigEngine
andSonata\BlockBundle\Test\FakeTemplating
classes.
Fixed
- Fixed validation of
EditableBlock