Skip to content

Latest commit

 

History

History
174 lines (140 loc) · 8.8 KB

CHANGELOG.md

File metadata and controls

174 lines (140 loc) · 8.8 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

2.8.1 - 2021-05-18

Fixed

  • [#491] Fixed registering sonata_translation.listener.translatable when no translatable_listener_service is defined (@franmomu)

2.8.0 - 2021-03-28

Added

  • [#453] Add support for PHP 8.x (@Yozhef)
  • [#464] Added sonata_translation.gedmo.translatable_listener_service option to specify the translatable listener service name (@franmomu)

Deprecated

  • [#464] Deprecated not setting sonata_translation.gedmo.translatable_listener_service option when using gedmo (@franmomu)

2.7.0 - 2020-11-25

Added

  • [#416] Added support for knplabs/doctrine-behaviors 2. (@franmomu)
  • [#405] Added SonataTranslationBundle.pt.xliff to support Portuguese(Portugal) language. (@joelpro2)
  • [#375] Add support for SonataBlockBundle 4.0 (@franmomu)

Changed

Deprecated

  • [#393] Deprecated Sonata\TranslationBundle\Test\DoctrineOrmTestCase. (@franmomu)
  • [#393] Deprecated constructing AbstractTranslatableAdminExtension without the default translation locale. (@franmomu)
  • [#393] Deprecated protected AbstractTranslatableAdminExtension::getContainer() method. (@franmomu)
  • [#393] Deprecated protected AbstractTranslatableAdminExtension::getTranslationLocales() method. (@franmomu)
  • [#393] Deprecated protected AbstractTranslatableAdminExtension::getDefaultTranslationLocale() method. (@franmomu)
  • [#393] Deprecated constructing Sonata\TranslationBundle\Admin\Extension\Gedmo\TranslatableAdminExtension without an instance of TranslatableListener and ManagerRegistry. (@franmomu)

2.6.0 - 2020-09-04

Added

Fixed

  • [#369] Fixed starting the session in UserLocaleSubscriber::onInteractiveLogin() when there is no previous session (@phansys)
  • [#348] Deprecation notice about ModelManager::getNormalizedIdentifier() on list pages (@jorrit)
  • [#345] Deprecation notice caused by use of spaceless tag in block_locale_switcher.html.twig (@jorrit)
  • [#337] Use of undefined filter language_name (@franmomu)

Removed

2.5.0 - 2020-03-31

Added

  • Added a global option default_filter_mode to change every filter mode
  • Added filter_mode option for TranslationFieldFilter to change the filtering mode based on the provider (either knplabs or gedmo)

Fixed

  • Check if method getLocale exists before to use it in UserLocaleListener
  • Fixed issue caused by always using the default entity manager

Removed

  • Removed SonataCoreBundle
  • Support for Symfony < 3.4
  • Support for Symfony >= 4, < 4.2

2.4.2 - 2019-07-05

Fixed

  • Admin without entity shouldn't be restricted

2.4.1 - 2019-02-28

Added

  • Feature flag to either keep using country flags or show locale names in language switcher

Fixed

  • Fix deprecation for symfony/config 4.2+

Changed

  • Replace country flags with locale names in language switcher

Removed

  • support for php 5 and php 7.0

2.4.0 - 2018-12-03

Added

  • Added global locale switcher

Fixed

  • Global search on translatable fields

2.3.1 - 2018-06-21

Fixed

  • Added check if translatable checker service exists
  • language switcher does not have the same style in modal

2.3.0 - 2018-02-02

Added

  • Added Russian translations
  • Compatibility with Symfony4

Changed

  • Changed internal folder structure to src, tests and docs
  • Switch all templates references to Twig namespaced syntax
  • Switch from templating service to sonata.templating
  • Removed usage of old form type aliases

Fixed

  • Fix RuntimeException in sonata:admin:explain command

Removed

  • support for old versions of php and Symfony

2.2.0 - 2017-09-26

Added

  • Support of Twig 2.0
  • Added phpcr lists translations

2.1.1 - 2017-04-04

Changed

  • use Sonata\BlockBundle\Block\Service\AbstractBlockService instead of deprecated Sonata\BlockBundle\Block\BaseBlockService in LocaleSwitcherBlockService
  • renamed service.xml to service_orm.xml
  • only load service_orm.xml if SonataDoctrineORMAdminBundle is registered

Fixed

  • Fixed typo in SonataTranslationExtension

2.1.0 - 2017-01-17

Added

  • Added 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 - 2016-06-15

Fixed

  • Remove wrong doctrine-orm-admin-bundle and doctrine-phpcr-admin-bundle composer requirements

2.0.1 - 2016-06-07

Fixed

  • Fix wrong conflict rule for doctrine-orm-admin-bundle