Skip to content

Commit

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

## [4.13.0](https://github.com/sonata-project/SonataBlockBundle/compare/4.12.0...4.13.0) - 2022-05-24
### Added
- [[#1055](https://github.com/sonata-project/SonataBlockBundle/pull/1055)] Add explicit dependency on `psr/container` and `psr/log`. ([@jordisala1991](https://github.com/jordisala1991))

### Changed
- [[#1051](https://github.com/sonata-project/SonataBlockBundle/pull/1051)] Block services are now accessed via service locator within `BlockServiceManager` ([@dmaicher](https://github.com/dmaicher))

### Deprecated
- [[#1068](https://github.com/sonata-project/SonataBlockBundle/pull/1068)] FormMapper::create() method. ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#1051](https://github.com/sonata-project/SonataBlockBundle/pull/1051)] Deprecated not passing container types as second argument to `BlockServiceManager::__construct` ([@dmaicher](https://github.com/dmaicher))

### Removed
- [[#1055](https://github.com/sonata-project/SonataBlockBundle/pull/1055)] Remove dependency on `sonata-project/twig-extensions` since it wasn't used. ([@jordisala1991](https://github.com/jordisala1991))

## [4.12.0](https://github.com/sonata-project/SonataBlockBundle/compare/4.11.0...4.12.0) - 2022-04-27
### Changed
- [[#1042](https://github.com/sonata-project/SonataBlockBundle/pull/1042)] Marked `BlockHelper::__construct` as `@internal` ([@dmaicher](https://github.com/dmaicher))
Expand Down
2 changes: 1 addition & 1 deletion src/Block/BlockServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(ContainerInterface $container, ?array $containerType
if (null === $containerTypes) {
@trigger_error(
sprintf(
'Not Passing an array as argument 2 for method "%s" is deprecated since sonata-project/block-bundle 4.x. The argument will be required in 5.0.',
'Not Passing an array as argument 2 for method "%s" is deprecated since sonata-project/block-bundle 4.13. The argument will be required in 5.0.',
__METHOD__
),
\E_USER_DEPRECATED
Expand Down
2 changes: 1 addition & 1 deletion src/Form/Mapper/FormMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface FormMapper
/**
* NEXT_MAJOR: Remove this method.
*
* @deprecated since sonata-project/block-bundle 4.x. To be removed in 5.0.
* @deprecated since sonata-project/block-bundle 4.13. To be removed in 5.0.
*
* @param class-string<FormTypeInterface>|null $type
* @param array<string, mixed> $options
Expand Down

0 comments on commit 2892960

Please sign in to comment.