Skip to content

Commit

Permalink
4.10.0 (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Feb 28, 2022
1 parent b26a7a6 commit 0f664bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.10.0](https://github.com/sonata-project/SonataBlockBundle/compare/4.9.1...4.10.0) - 2022-02-28
### Deprecated
- [[#1012](https://github.com/sonata-project/SonataBlockBundle/pull/1012)] Not passing a string value for the template setting of a BlockContext ([@VincentLanglet](https://github.com/VincentLanglet))

## [4.9.1](https://github.com/sonata-project/SonataBlockBundle/compare/4.9.0...4.9.1) - 2022-01-01
### Fixed
- [[#997](https://github.com/sonata-project/SonataBlockBundle/pull/997)] Wrong deprecation message in BlockContextManager with Symfony 4 ([@VincentLanglet](https://github.com/VincentLanglet))
Expand Down
4 changes: 2 additions & 2 deletions src/Block/BlockContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(BlockInterface $block, array $settings = [])
{
if (!\array_key_exists('template', $settings)) {
@trigger_error(
'Not providing a "template" setting is deprecated since sonata-project/block-bundle 4.x'
'Not providing a "template" setting is deprecated since sonata-project/block-bundle 4.10'
.' and will be throw an exception in version 5.0.',
\E_USER_DEPRECATED
);
Expand All @@ -44,7 +44,7 @@ public function __construct(BlockInterface $block, array $settings = [])
} elseif (!\is_string($settings['template'])) {
@trigger_error(
'Not providing a string value for the "template" setting is deprecated since'
.' sonata-project/block-bundle 4.x and will be throw an exception in version 5.0.',
.' sonata-project/block-bundle 4.10 and will be throw an exception in version 5.0.',
\E_USER_DEPRECATED
);

Expand Down

0 comments on commit 0f664bf

Please sign in to comment.