Sullivan SENECHAL 9 lat temu
rodzic
commit
a8f34c0a61
3 zmienionych plików z 22 dodań i 8 usunięć
  1. 1 1
      Admin/AbstractAdmin.php
  2. 11 0
      CHANGELOG.md
  3. 10 7
      UPGRADE-3.x.md

+ 1 - 1
Admin/AbstractAdmin.php

@@ -1323,7 +1323,7 @@ abstract class AbstractAdmin implements AdminInterface, DomainObjectInterface
     {
         if (func_num_args() > 0) {
             @trigger_error(
-                'The $context argument of '.__METHOD.' is deprecated since 3.x, to be removed in 4.0.',
+                'The $context argument of '.__METHOD__.' is deprecated since 3.3, to be removed in 4.0.',
                 E_USER_DEPRECATED
             );
         }

+ 11 - 0
CHANGELOG.md

@@ -2,6 +2,17 @@
 All notable changes to this project will be documented in this file.
 This project adheres to [Semantic Versioning](http://semver.org/).
 
+## [3.3.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.2.0...3.3.0) - 2016-06-13
+### Changed
+- The `Select` button is always visible and has a primary check style in `sonata_type_model_list` popups
+
+### Deprecated
+- The `$context` argument of `AdminInterface::createQuery` was deprecated
+
+### Fixed
+- Fix wrong view role check on `AbstractAdmin::getSearchResultLink`
+- Eternal deprecation warning because of old class on compilation
+
 ## [3.2.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.1.0...3.2.0) - 2016-06-04
 ### Added
 - Added new field type `email` on the list

+ 10 - 7
UPGRADE-3.x.md

@@ -1,6 +1,16 @@
 UPGRADE 3.x
 ===========
 
+UPGRADE FROM 3.2 to 3.3
+=======================
+
+## Deprecated AbstractAdmin method argument
+
+The `$context` argument is deprecated and will be removed.
+Instead of relying on it (and using a `switch` statement),
+rely on an abstraction, and inject different implementations of this abstraction in different actions.
+Here is [an example](https://github.com/sonata-project/SonataAdminBundle/pull/3247#issuecomment-217744025).
+
 UPGRADE FROM 3.1 to 3.2
 =======================
 
@@ -36,10 +46,3 @@ You can no longer rely on that and should always specify templates that exist.
 - `getBreadcrumbs` is deprecated in favor of the homonym method of the `sonata.admin.breadcrumbs_builder` service.
 - The breadcrumbs builder accessors are deprecated,
 the `sonata.admin.breadcrumbs_builder` service should be used directly instead.
-
-## Deprecated AbstractAdmin method argument
-
-The `$context` argument is deprecated and will be removed.
-Instead of relying on it (and using a `switch` statement),
-rely on an abstraction, and inject different implementations of this abstraction in different actions.
-Here is [an example](https://github.com/sonata-project/SonataAdminBundle/pull/3247#issuecomment-217744025).