Skip to content

Commit

Permalink
4.3.0 (#7605)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Nov 20, 2021
1 parent 0ccf024 commit 0639d12
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.3.0](https://github.com/sonata-project/SonataAdminBundle/compare/4.2.2...4.3.0) - 2021-11-19
### Added
- [[#7579](https://github.com/sonata-project/SonataAdminBundle/pull/7579)] Added `AbstractAdminExtension::preBatchAction()` and `AdminExtensionInterface::preBatchAction()` (as annotation for BC) to have an extension point on batch actions. ([@7ochem](https://github.com/7ochem))
- [[#7579](https://github.com/sonata-project/SonataAdminBundle/pull/7579)] Added `AdminEventExtension::preBatchAction()` that dispatches a `sonata.admin.event.batch_action.pre_batch_action` event with a BatchActionEvent object containing the data ([@7ochem](https://github.com/7ochem))
- [[#7579](https://github.com/sonata-project/SonataAdminBundle/pull/7579)] Added BatchActionEvent class as a transport for (newly introduced) batch action events ([@7ochem](https://github.com/7ochem))
- [[#7604](https://github.com/sonata-project/SonataAdminBundle/pull/7604)] `ModelManagerThrowable` ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7604](https://github.com/sonata-project/SonataAdminBundle/pull/7604)] `CRUDController::handleModelManagerThrowable()` ([@VincentLanglet](https://github.com/VincentLanglet))

### Deprecated
- [[#7580](https://github.com/sonata-project/SonataAdminBundle/pull/7580)] `FormTypeFieldExtension::getValueFromFieldDescription()` ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7604](https://github.com/sonata-project/SonataAdminBundle/pull/7604)] `CRUDController::handleModelManagerException()` ([@VincentLanglet](https://github.com/VincentLanglet))

## [4.2.2](https://github.com/sonata-project/SonataAdminBundle/compare/4.2.1...4.2.2) - 2021-11-08
### Fixed
- [[#7599](https://github.com/sonata-project/SonataAdminBundle/pull/7599)] French translations ([@VincentLanglet](https://github.com/VincentLanglet))
Expand Down
4 changes: 2 additions & 2 deletions src/Form/Extension/Field/Type/FormTypeFieldExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function configureOptions(OptionsResolver $resolver): void
/**
* NEXT_MAJOR: Remove this method.
*
* @deprecated since sonata-project/admin-bundle version 4.x and will be removed in 5.0.
* @deprecated since sonata-project/admin-bundle version 4.3 and will be removed in 5.0.
*
* return the value related to FieldDescription, if the associated object does no
* exists => a temporary one is created.
Expand All @@ -197,7 +197,7 @@ public function configureOptions(OptionsResolver $resolver): void
public function getValueFromFieldDescription(?object $object, FieldDescriptionInterface $fieldDescription)
{
@trigger_error(sprintf(
'The method "%s()" is deprecated since sonata-project/admin-bundle 4.x and will be removed in 5.0.',
'The method "%s()" is deprecated since sonata-project/admin-bundle 4.3 and will be removed in 5.0.',
__METHOD__
), \E_USER_DEPRECATED);

Expand Down

0 comments on commit 0639d12

Please sign in to comment.