Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.104.0 #7341

Merged
merged 9 commits into from
Jul 20, 2021
Merged

3.104.0 #7341

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,27 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.104.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.103.0...3.104.0) - 2021-07-20
### Added
- [[#7325](https://github.com/sonata-project/SonataAdminBundle/pull/7325)] Option `list_action_button_content` ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7299](https://github.com/sonata-project/SonataAdminBundle/pull/7299)] Added support for non admin prefixed `ROLE_*` roles by the RoleSecurityHandler ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7306](https://github.com/sonata-project/SonataAdminBundle/pull/7306)] New `block` twig in order to override the button display by the admin in the base_edit_form ([@VincentLanglet](https://github.com/VincentLanglet))

### Changed
- [[#7320](https://github.com/sonata-project/SonataAdminBundle/pull/7320)] `response_item_callback` callback signature ([@VincentLanglet](https://github.com/VincentLanglet))

### Deprecated
- [[#7325](https://github.com/sonata-project/SonataAdminBundle/pull/7325)] Option `title_mode`. Use `logo_content` instead ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7290](https://github.com/sonata-project/SonataAdminBundle/pull/7290)] Passing `admin` in the request of search action ([@VincentLanglet](https://github.com/VincentLanglet))

### Fixed
- [[#7335](https://github.com/sonata-project/SonataAdminBundle/pull/7335)] Crash on choice field inline edition with a 0 value ([@soullivaneuh](https://github.com/soullivaneuh))
- [[#7332](https://github.com/sonata-project/SonataAdminBundle/pull/7332)] Accessing on non existent array keys `translation_domain` ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7320](https://github.com/sonata-project/SonataAdminBundle/pull/7320)] `response_item_callback` option of ModelAutocompleteFilter ([@VincentLanglet](https://github.com/VincentLanglet))

## [3.103.0](https://github.com/sonata-project/SonataAdminBundle/compare/3.102.0...3.103.0) - 2021-07-11
### Added
- [[#7308](https://github.com/sonata-project/SonataAdminBundle/pull/7308)] `ChainableFilterInterface`. ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7308](https://github.com/sonata-project/SonataAdminBundle/pull/7308)] `ChainableFilterInterface` ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7285](https://github.com/sonata-project/SonataAdminBundle/pull/7285)] Added deprecated annotation to AbstractAdmin validate() method. ([@7ochem](https://github.com/7ochem))
- [[#7275](https://github.com/sonata-project/SonataAdminBundle/pull/7275)] SearchableFilterInterface ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#7283](https://github.com/sonata-project/SonataAdminBundle/pull/7283)] Added `IconExtension` twig extension. ([@VincentLanglet](https://github.com/VincentLanglet))
Expand Down
2 changes: 1 addition & 1 deletion src/Action/SearchAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function __invoke(Request $request): Response
{
if (null !== $request->get('admin')) {
@trigger_error(
'Passing an "admin" parameter in the request is deprecated since sonata-project/admin-bundle 3.x'
'Passing an "admin" parameter in the request is deprecated since sonata-project/admin-bundle 3.104'
.' and will be ignored in 4.0.',
\E_USER_DEPRECATED
);
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function getConfigTreeBuilder()
->integerNode('dropdown_number_groups_per_colums')->defaultValue(2)->end()
// NEXT_MAJOR: Remove this option.
->enumNode('title_mode')
->setDeprecated('The "%node%" option is deprecated since sonata-project/admin-bundle 3.x. Use "logo_content" instead.')
->setDeprecated('The "%node%" option is deprecated since sonata-project/admin-bundle 3.104. Use "logo_content" instead.')
->values(['single_text', 'single_image', 'both'])
->defaultValue('both')
->cannotBeEmpty()
Expand Down