Skip to content

Commit

Permalink
2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Nov 17, 2021
1 parent 18daf05 commit c9a5a10
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [2.10.0](https://github.com/sonata-project/SonataTranslationBundle/compare/2.9.1...2.10.0) - 2021-11-17
### Added
- [[#578](https://github.com/sonata-project/SonataTranslationBundle/pull/578)] Support for 5.x versions in `symfony/browser-kit`, `symfony/config`, `symfony/css-selector`, `symfony/dependency-injection`, `symfony/http-foundation`, `symfony/intl`, `symfony/options-resolver`, `symfony/phpunit-bridge` and `symfony/templating` ([@phansys](https://github.com/phansys))

### Deprecated
- [[#571](https://github.com/sonata-project/SonataTranslationBundle/pull/571)] `Sonata\TranslationBundle\Model\TranslatableInterface` in favor of specific package interfaces (gedmo or knplabs) ([@franmomu](https://github.com/franmomu))
- [[#571](https://github.com/sonata-project/SonataTranslationBundle/pull/571)] `Sonata\TranslationBundle\Model\Gedmo\TranslatableInterface` in favor of `Gedmo\Translatable\Translatable` ([@franmomu](https://github.com/franmomu))

## [2.9.1](https://github.com/sonata-project/SonataTranslationBundle/compare/2.9.0...2.9.1) - 2021-10-19
### Fixed
- [[#557](https://github.com/sonata-project/SonataTranslationBundle/pull/557)] Setting the proper locale to Gedmo translatable listener ([@franmomu](https://github.com/franmomu))
Expand Down
4 changes: 2 additions & 2 deletions UPGRADE-2.x.md
@@ -1,8 +1,8 @@
UPGRADE 2.x
===========

UPGRADE FROM 2.9 to 2.x
=======================
UPGRADE FROM 2.9 to 2.10
========================

### Deprecated `Sonata\TranslationBundle\Model\Gedmo\TranslatableInterface`

Expand Down
4 changes: 2 additions & 2 deletions src/Admin/Extension/Gedmo/TranslatableAdminExtension.php
Expand Up @@ -85,7 +85,7 @@ public function alterNewInstance(AdminInterface $admin, $object)
if ($object instanceof TranslatableInterface) {
@trigger_error(sprintf(
'Implementing "%s" for entities using gedmo/doctrine-extensions is deprecated'
.' since sonata-project/translation-bundle 2.x and will not work in 3.0. You MUST implement "%s"'
.' since sonata-project/translation-bundle 2.10 and will not work in 3.0. You MUST implement "%s"'
.' instead.',
TranslatableInterface::class,
Translatable::class,
Expand Down Expand Up @@ -120,7 +120,7 @@ public function alterObject(AdminInterface $admin, $object)
if ($object instanceof TranslatableInterface) {
@trigger_error(sprintf(
'Implementing "%s" for entities using gedmo/doctrine-extensions is deprecated'
.' since sonata-project/translation-bundle 2.x and will not work in 3.0. You MUST implement "%s"'
.' since sonata-project/translation-bundle 2.10 and will not work in 3.0. You MUST implement "%s"'
.' instead.',
TranslatableInterface::class,
Translatable::class,
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Gedmo/TranslatableInterface.php
Expand Up @@ -18,7 +18,7 @@
/**
* This is a Convenient interface made to easily plug Gedmo admin extension on models.
*
* @deprecated since sonata-project/translation-bundle 2.x, to be removed in 3.0.
* @deprecated since sonata-project/translation-bundle 2.10, to be removed in 3.0.
*
* @author Nicolas Bastien <nbastien.pro@gmail.com>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Model/TranslatableInterface.php
Expand Up @@ -14,7 +14,7 @@
namespace Sonata\TranslationBundle\Model;

/**
* @deprecated since sonata-project/translation-bundle 2.x, to be removed in 3.0.
* @deprecated since sonata-project/translation-bundle 2.10, to be removed in 3.0.
*
* @author Nicolas Bastien <nbastien.pro@gmail.com>
*/
Expand Down

0 comments on commit c9a5a10

Please sign in to comment.