Sullivan SENECHAL 8 anos atrás
pai
commit
dad38b8ee1
4 arquivos alterados com 52 adições e 8 exclusões
  1. 42 0
      CHANGELOG.md
  2. 1 1
      Controller/CRUDController.php
  3. 1 1
      Export/Exporter.php
  4. 8 6
      UPGRADE-3.x.md

+ 42 - 0
CHANGELOG.md

@@ -2,6 +2,48 @@
 All notable changes to this project will be documented in this file.
 All notable changes to this project will be documented in this file.
 This project adheres to [Semantic Versioning](http://semver.org/).
 This project adheres to [Semantic Versioning](http://semver.org/).
 
 
+## [3.14.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.13.0...3.14.0) - 2017-03-16
+### Added
+- Added `label` and `translation_domain` fallback for batch actions
+- Config option to disable autoregistration of annotations with `JMSDiExtraBundle`
+- Added missing titles to the CRUD show page.
+- Added `attributes` parameter for `url` field type
+- Added a missing variable placeholder to a translation unit.
+
+### Fixed
+- Missing title for nested admin
+- Setting data form on update form field element by using `sonata_type_model`
+- deprecation notices that could not be avoided in the `CoreController` class
+- Fix #4292: don't overwrite `JMSDiExtraBundle` default configuration
+- Fixed markup on list on Admin with subclasses
+- x-editable choices are now correctly translated
+- Default translation of Base Breadcrumb `Dashboard`
+- Remove duplicated breadcrumb on admin list
+- Breadcrumb without link are now displayed correctly
+- Unified styles between admins with subclasses and admins without subclasses
+- name of permission, use `VIEW` instead of `SHOW`
+- Handling of boolean types in `HelperController`
+- use `hasAccess` instead of `isGranted`
+- better readability of exception message when too many admins are registered
+- Improve Catalan and Spanish translations
+- Fixed inconsistent translation placeholder quoting.
+- Batch action breaks when coming from list view with filter using `doctrine_orm_model_autocomplete`
+- Fixed non-existent variable `action` in `base_list_field.html.twig`
+
+### Changed
+- The export and list actions now integrate the sonata exporter bundle
+- Changed `ActiveVoter` and `ChildrenVoter` to only work with menu items having the `SonataAdminBundle` extra set.
+- Updated AdminLTE to 2.3.11
+- Removed non FQCNs on form types on `AbstractAdmin`
+- When checking the delete checkbox of an inline child form of `CollectionType` the related fields are now disabled to avoid preventing submission of the form when one of those inputs is required.
+- Updated Luxembourgish translations
+- Changed inconsistent translation unit name.
+- Replaced `isGranted()` by `hasAccess()` or `checkAccess()`
+
+### Deprecated
+- Exporter class and service : use equivalents from `sonata-project/exporter` instead.
+- auto registration of `JMSDiExtraBundle` annotations is now discouraged in favor of doing it manually
+
 ## [3.13.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.12.0...3.13.0) - 2017-02-03
 ## [3.13.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.12.0...3.13.0) - 2017-02-03
 ### Added
 ### Added
 - Added support for priority attribute in the Extension compiler pass
 - Added support for priority attribute in the Extension compiler pass

+ 1 - 1
Controller/CRUDController.php

@@ -806,7 +806,7 @@ class CRUDController extends Controller
         // NEXT_MAJOR: remove the check
         // NEXT_MAJOR: remove the check
         if (!$this->has('sonata.admin.admin_exporter')) {
         if (!$this->has('sonata.admin.admin_exporter')) {
             @trigger_error(
             @trigger_error(
-                'Not registering the exporter bundle is deprecated since version 3.x.'
+                'Not registering the exporter bundle is deprecated since version 3.14.'
                 .' You must register it to be able to use the export action in 4.0.',
                 .' You must register it to be able to use the export action in 4.0.',
                 E_USER_DEPRECATED
                 E_USER_DEPRECATED
             );
             );

+ 1 - 1
Export/Exporter.php

@@ -14,7 +14,7 @@ namespace Sonata\AdminBundle\Export;
 use Sonata\CoreBundle\Exporter\Exporter as BaseExporter;
 use Sonata\CoreBundle\Exporter\Exporter as BaseExporter;
 
 
 @trigger_error(
 @trigger_error(
-    'The '.__NAMESPACE__.'\Exporter class is deprecated since version 3.x and will be removed in 4.0.'.
+    'The '.__NAMESPACE__.'\Exporter class is deprecated since version 3.14 and will be removed in 4.0.'.
     ' Use Exporter\Exporter instead',
     ' Use Exporter\Exporter instead',
     E_USER_DEPRECATED
     E_USER_DEPRECATED
 );
 );

+ 8 - 6
UPGRADE-3.x.md

@@ -1,6 +1,9 @@
 UPGRADE 3.x
 UPGRADE 3.x
 ===========
 ===========
 
 
+UPGRADE FROM 3.13 to 3.14
+=========================
+
 ## Deprecated automatic annotation registration with JMSDiExtraBundle
 ## Deprecated automatic annotation registration with JMSDiExtraBundle
 
 
 Starting with version 4.0, SonataAdminBundle will no longer register
 Starting with version 4.0, SonataAdminBundle will no longer register
@@ -15,6 +18,11 @@ jms_di_extra:
         - Sonata\AdminBundle\Annotation
         - Sonata\AdminBundle\Annotation
 ```
 ```
 
 
+### Exporter service and class
+
+The `sonata.admin.exporter` is deprecated in favor of the `sonata.exporter.exporter` service.
+To make this service available, you have to install `sonata-project.exporter` ^1.7
+and enable the bundle as described in the documentation.
 
 
 UPGRADE FROM 3.11 to 3.12
 UPGRADE FROM 3.11 to 3.12
 =========================
 =========================
@@ -65,12 +73,6 @@ All files under the ``Tests`` directory are now correctly handled as internal te
 You can't extend them anymore, because they are only loaded when running internal tests.
 You can't extend them anymore, because they are only loaded when running internal tests.
 More information can be found in the [composer docs](https://getcomposer.org/doc/04-schema.md#autoload-dev).
 More information can be found in the [composer docs](https://getcomposer.org/doc/04-schema.md#autoload-dev).
 
 
-### Exporter service and class
-
-The `sonata.admin.exporter` is deprecated in favor of the `sonata.exporter.exporter` service.
-To make this service available, you have to install `sonata-project.exporter` ^1.7
-and enable the bundle as described in the documentation.
-
 UPGRADE FROM 3.2 to 3.3
 UPGRADE FROM 3.2 to 3.3
 =======================
 =======================