Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Jan 17, 2017
1 parent fd1005e commit b412467
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [2.1.0](https://github.com/sonata-project/SonataTranslationBundle/compare/2.0.2...2.1.0) - 2017-01-17
### Added
- Addded missing flag image `ja.png`

### Changed
- Use `AbstractAdminExtension` instead of deprecated `AdminExtension`

### Deprecated
- Deprecate `Translatable` in favor of `TranslatableTrait`
- Deprecate `PersonalTranslatable` in favor of `PersonalTranslatableTrait`

### Fixed
- Fix missing locale annotation for Gedmo trait
- Display flags for locales with country code

## [2.0.2](https://github.com/sonata-project/SonataTranslationBundle/compare/2.0.1...2.0.2) - 2016-06-15
### Fixed
- Remove wrong `doctrine-orm-admin-bundle` and `doctrine-phpcr-admin-bundle` composer requirements
Expand Down
4 changes: 2 additions & 2 deletions Traits/Gedmo/PersonalTranslatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Sonata\TranslationBundle\Traits\Gedmo;

@trigger_error(
'The '.__NAMESPACE__.'\PersonalTranslatable class is deprecated since version 2.x and will be removed in 3.0.'.
'The '.__NAMESPACE__.'\PersonalTranslatable class is deprecated since version 2.1 and will be removed in 3.0.'.
'Use the '.__NAMESPACE__.'\PersonalTranslatableTrait class instead.',
E_USER_DEPRECATED
);
Expand All @@ -24,7 +24,7 @@
*
* @author Nicolas Bastien <nbastien.pro@gmail.com>
*
* @deprecated since version 2.x and will be removed in 3.0
* @deprecated since version 2.1 and will be removed in 3.0
*/
trait PersonalTranslatable
{
Expand Down
4 changes: 2 additions & 2 deletions Traits/Translatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Sonata\TranslationBundle\Traits;

@trigger_error(
'The '.__NAMESPACE__.'\Translatable class is deprecated since version 2.x and will be removed in 3.0.'.
'The '.__NAMESPACE__.'\Translatable class is deprecated since version 2.1 and will be removed in 3.0.'.
'Use the '.__NAMESPACE__.'\TranslatableTrait class instead.',
E_USER_DEPRECATED
);
Expand All @@ -24,7 +24,7 @@
*
* @author Nicolas Bastien <nbastien.pro@gmail.com>
*
* @deprecated since version 2.x and will be removed in 3.0
* @deprecated since version 2.1 and will be removed in 3.0
*/
trait Translatable
{
Expand Down
3 changes: 3 additions & 0 deletions UPGRADE-2.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
UPGRADE 2.x
===========

UPGRADE FROM 2.0 to 2.1
=======================

### Tests

All files under the ``Tests`` directory are now correctly handled as internal test classes.
Expand Down

0 comments on commit b412467

Please sign in to comment.