Skip to content

Commit

Permalink
4.19.0 (#7934)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Sep 27, 2022
1 parent 52ec43b commit 4e957eb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.19.0](https://github.com/sonata-project/SonataAdminBundle/compare/4.18.0...4.19.0) - 2022-09-27
### Changed
- [[#7922](https://github.com/sonata-project/SonataAdminBundle/pull/7922)] [BC break] Change json error output for ajax calls to create or edit admin endpoints. ([@jordisala1991](https://github.com/jordisala1991))

### Deprecated
- [[#7927](https://github.com/sonata-project/SonataAdminBundle/pull/7927)] BCLabelTranslatorStrategy ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7930](https://github.com/sonata-project/SonataAdminBundle/pull/7930)] `ModelManager::getIdentifierValues` ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7930](https://github.com/sonata-project/SonataAdminBundle/pull/7930)] `ModelManager::getIdentifierFieldNames` ([@VincentLanglet](https://github.com/VincentLanglet))

### Fixed
- [[#7930](https://github.com/sonata-project/SonataAdminBundle/pull/7930)] ModelToIdPropertyTransformer now supports composite identifiers ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7926](https://github.com/sonata-project/SonataAdminBundle/pull/7926)] Fix missing default translation for actions label on list view. ([@jordisala1991](https://github.com/jordisala1991))

## [4.18.0](https://github.com/sonata-project/SonataAdminBundle/compare/4.17.0...4.18.0) - 2022-08-21
### Added
- [[#7913](https://github.com/sonata-project/SonataAdminBundle/pull/7913)] Security attributes can be string or symfony expression language expressions ([@VincentLanglet](https://github.com/VincentLanglet))
Expand Down
7 changes: 2 additions & 5 deletions UPGRADE-4.x.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
UPGRADE 4.x
===========

UPGRADE FROM 4.x to 4.x
=======================
UPGRADE FROM 4.18 to 4.19
=========================

## Form errors retrieved via ajax calls

Expand Down Expand Up @@ -48,9 +48,6 @@ After:
}
```

UPGRADE FROM 4.18 to 4.19
=========================

## BCLabelTranslatorStrategy

The BCLabelTranslatorStrategy is deprecated. Please use another label translator strategy or
Expand Down
4 changes: 2 additions & 2 deletions src/Translator/BCLabelTranslatorStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
*
* NEXT_MAJOR: Remove this class.
*
* @deprecated since sonata-project/admin-bundle 4.x, will be removed in 5.0.
* @deprecated since sonata-project/admin-bundle 4.19, will be removed in 5.0.
*/
final class BCLabelTranslatorStrategy implements LabelTranslatorStrategyInterface
{
public function getLabel(string $label, string $context = '', string $type = ''): string
{
@trigger_error(sprintf(
'The "%s" class is deprecated since sonata-project/admin-bundle version 4.x and will be'
'The "%s" class is deprecated since sonata-project/admin-bundle version 4.19 and will be'
.' removed in 5.0 version.',
self::class
), \E_USER_DEPRECATED);
Expand Down

0 comments on commit 4e957eb

Please sign in to comment.