Sullivan SENECHAL vor 8 Jahren
Ursprung
Commit
35d42c5df1
4 geänderte Dateien mit 21 neuen und 6 gelöschten Zeilen
  1. 12 0
      CHANGELOG.md
  2. 4 4
      Datagrid/Pager.php
  3. 1 1
      Form/DataTransformer/LegacyModelsToArrayTransformer.php
  4. 4 1
      UPGRADE-3.x.md

+ 12 - 0
CHANGELOG.md

@@ -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/).
 
+## [3.11.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.10.3...3.11.0) - 2017-01-17
+### Added
+- Extract admin group and label translations
+- JQuery event trigger to Admin.setup_list_modal()
+
+### Changed
+- Updated compiler pass to support parent definition when using abstract service for admin.
+
+### Fixed
+- Fixed behaviour of persistent parameters in list editables
+- JMSDiExtraBundle is configured correctly to pick up Sonata annotations.
+
 ## [3.10.3](https://github.com/sonata-project/SonataAdminBundle/compare/3.10.2...3.10.3) - 2016-12-22
 ### Fixed
 - A bug with the side menu arrow position

+ 4 - 4
Datagrid/Pager.php

@@ -259,12 +259,12 @@ abstract class Pager implements \Iterator, \Countable, \Serializable, PagerInter
     /**
      * NEXT_MAJOR: remove this method.
      *
-     * @deprecated since 3.x, will be removed in 4.0
+     * @deprecated since 3.11, will be removed in 4.0
      */
     public function getFirstIndice()
     {
         @trigger_error(
-            'Method '.__METHOD__.' is deprecated since version 3.x and will be removed in 4.0, '.
+            'Method '.__METHOD__.' is deprecated since version 3.11 and will be removed in 4.0, '.
             'please use getFirstIndex() instead.',
             E_USER_DEPRECATED
         );
@@ -292,12 +292,12 @@ abstract class Pager implements \Iterator, \Countable, \Serializable, PagerInter
     /**
      * NEXT_MAJOR: remove this method.
      *
-     * @deprecated since 3.x, will be removed in 4.0
+     * @deprecated since 3.11, will be removed in 4.0
      */
     public function getLastIndice()
     {
         @trigger_error(
-            'Method '.__METHOD__.' is deprecated since version 3.x and will be removed in 4.0, '.
+            'Method '.__METHOD__.' is deprecated since version 3.11 and will be removed in 4.0, '.
             'please use getLastIndex() instead.',
             E_USER_DEPRECATED
         );

+ 1 - 1
Form/DataTransformer/LegacyModelsToArrayTransformer.php

@@ -37,7 +37,7 @@ class LegacyModelsToArrayTransformer implements DataTransformerInterface
     {
         if (interface_exists('Symfony\Component\Form\ChoiceList\Loader\ChoiceLoaderInterface')) {
             @trigger_error(
-                'The '.__CLASS__.' class is deprecated since 3.x, to be removed in 4.0. '.
+                'The '.__CLASS__.' class is deprecated since 3.11, to be removed in 4.0. '.
                 'Use Sonata\AdminBundle\Form\DataTransformer\ModelsToArrayTransformer instead.',
                 E_USER_DEPRECATED
             );

+ 4 - 1
UPGRADE-3.x.md

@@ -1,7 +1,10 @@
 UPGRADE 3.x
 ===========
 
-## Renamed Pager::getFirstIndice() and Pager::getLastIndice()
+UPGRADE FROM 3.10 to 3.11
+=========================
+
+## Deprecated Pager::getFirstIndice() and Pager::getLastIndice()
 
 Please use `Pager::getFirstIndex()` and `Pager::getLastIndex()` instead!