Releases: sonata-project/SonataBlockBundle
Releases · sonata-project/SonataBlockBundle
3.16.0
Deprecated
BaseCommand
class- JMS annotations
AbstractBlockServiceTestCase
class withBlockServiceTestCase
- Passing block name to the AbstractBlockService class
AdminBlockServiceInterface
interfaceAbstractAdminBlockService
classBlockServiceInterface::getName
methodBaseCommand::getBlockServiceManager()
method in favor ofBaseCommand::$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
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
3.13.0
Added
- All blocks containing
sonata.block
will be auto registered - Added
EditableBlockService
andFormMapper
interfaces - Added
Meta\Metadata
class (import from CoreBundle) - Added
Meta\MetadataInterface
class (import from CoreBundle) - Added
debug:sonata:block
command alias forDebugBlocksCommand
Fixed
- Allow autowiring blocks
- Now the deprecated
setDefaultSettings()
for blocks is handled correctly.
You should avoid using it in favor ofconfigureSettings()
but it will work
and show the deprecated message.
Deprecated
- Deprecated
BlockServiceInterface::getJavascripts()
- Deprecated
BlockServiceInterface::getStylesheets()
3.12.1
Added
- Missing italian translations
Fixed
- sonata.block.manager is public
- Fixed old form alias usage
3.12.0
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
Added
- Added
symfony/asset
andsymfony/templating
dependencies - Added new service
sonata.templating
for use in place oftemplating
- Add tag
templating.helper
back tosonata.block.templating.helper
service
Changed
- Referencing templates using Twig namespaced syntax
Removed
- Removed tag
templating.helper
fromsonata.block.templating.helper
service
3.10.0
Fixed
- Definition argument incompatibilities with Symfony 2.8
Removed
- Removed requirement for
default_contexts
config parameter
3.9.2
Fixed
- Symfony recipe compatibility with twig-bundle requirement.
3.9.1
Fixed
- Make services explicit public
- Autoregister blocks as public services