Skip to content

Commit

Permalink
3.62.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Mar 16, 2020
1 parent 7e220f7 commit 45a0373
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.62.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.61.0...3.62.0) - 2020-03-16
### Added
- Allow `_sort_by` filter to not be initially defined.
- Import templates from SonataIntlBundle

### Removed
- deleteAction and batchAction does not use anymore the csrf_protection option from the editAction.
- Dropped SonataIntlBundle

### Fixed
- Stop calling the configureFormField in deleteAction and batchAction.
- Deprecation passing more than one attribute to `isGranted`
- `_sort_by` without `_sort_order` does not use invalid value anymore
- Deprecation passing more than one attribute to isGranted
- Only trigger deprecations of `sonata_help` when it is actually used

### Deprecated
- Deprecate id param of Sonata Action

## [3.61.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.60.0...3.61.0) - 2020-02-18
### Added
- `ifEnd` throws `LogicException` if there is nothing to end.
Expand Down
8 changes: 4 additions & 4 deletions src/Controller/CRUDController.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public function editAction($deprecatedId = null) // NEXT_MAJOR: Remove the unuse
if (isset(\func_get_args()[0])) {
@trigger_error(
sprintf(
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.62 and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
__METHOD__
),
E_USER_DEPRECATED
Expand Down Expand Up @@ -679,7 +679,7 @@ public function showAction($deprecatedId = null) // NEXT_MAJOR: Remove the unuse
if (isset(\func_get_args()[0])) {
@trigger_error(
sprintf(
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.62 and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
__METHOD__
),
E_USER_DEPRECATED
Expand Down Expand Up @@ -744,7 +744,7 @@ public function historyAction($deprecatedId = null) // NEXT_MAJOR: Remove the un
if (isset(\func_get_args()[0])) {
@trigger_error(
sprintf(
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.62 and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
__METHOD__
),
E_USER_DEPRECATED
Expand Down Expand Up @@ -999,7 +999,7 @@ public function aclAction($deprecatedId = null) // NEXT_MAJOR: Remove the unused
if (isset(\func_get_args()[0])) {
@trigger_error(
sprintf(
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.x and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
'Support for the "id" route param as argument 1 at `%s()` is deprecated since sonata-project/admin-bundle 3.62 and will be removed in 4.0, use `AdminInterface::getIdParameter()` instead.',
__METHOD__
),
E_USER_DEPRECATED
Expand Down
2 changes: 1 addition & 1 deletion src/Route/QueryStringBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*
* @final since sonata-project/admin-bundle 3.52
*
* @deprecated since sonata-project/admin-bundle 3.x, to be removed with 4.0
* @deprecated since sonata-project/admin-bundle 3.62, to be removed with 4.0
*
* @author Thomas Rabaix <[email protected]>
*/
Expand Down

0 comments on commit 45a0373

Please sign in to comment.