Skip to content

Commit

Permalink
3.35.0 (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored Jul 20, 2021
1 parent f819f4f commit 20ee14d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.35.0](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/compare/3.34.3...3.35.0) - 2021-07-20
### Added
- [[#1470](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1470)] `global_search` option to the `StringFilter` ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#1457](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1457)] `treat_null_as` option to BooleanFilter ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#1477](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1477)] `GroupableConditionAwareInterface` ([@VincentLanglet](https://github.com/VincentLanglet))

### Deprecated
- [[#1477](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1477)] "or_group" option in `Filter` objects ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#1477](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1477)] `Filter::$groupedOrExpressions` ([@VincentLanglet](https://github.com/VincentLanglet))

### Fixed
- [[#1473](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1473)] Deprecation from SonataAdminBundle 3.x ([@dmaicher](https://github.com/dmaicher))
- [[#1470](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1470)] Stop using `ChoiceTypeFilter` for global search ([@VincentLanglet](https://github.com/VincentLanglet))
- [[#1477](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1477)] Not resetting `Filter::$groupedOrExpressions` static property (see sonata-project/SonataAdminBundle#7096) ([@VincentLanglet](https://github.com/VincentLanglet))

## [3.34.3](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/compare/3.34.2...3.34.3) - 2021-06-13
### Fixed
- [[#1455](https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/1455)] Export for admin with fetch join in the `configureQuery()` method ([@VincentLanglet](https://github.com/VincentLanglet))
Expand Down
4 changes: 2 additions & 2 deletions src/Filter/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ abstract class Filter extends BaseFilter implements GroupableConditionAwareInter
* Holds an array of grouped `orX` filter expressions that must be used within
* the same query builder.
*
* @deprecated since sonata-project/doctrine-orm-admin-bundle 3.x, will be removed in version 4.0.
* @deprecated since sonata-project/doctrine-orm-admin-bundle 3.35, will be removed in version 4.0.
*
* @var array<string, Orx>
*/
Expand Down Expand Up @@ -206,7 +206,7 @@ private function addOrParameter(BaseProxyQueryInterface $query, $parameter): voi
$groupName = $this->getOption('or_group');
if (null !== $groupName) {
@trigger_error(sprintf(
'Option "or_group" is deprecated since sonata-project/doctrine-orm-admin-bundle 3.x and will be removed in version 4.0.'
'Option "or_group" is deprecated since sonata-project/doctrine-orm-admin-bundle 3.35 and will be removed in version 4.0.'
.' Use "%s::setConditionGroup()" instead.',
static::class
), \E_USER_DEPRECATED);
Expand Down

0 comments on commit 20ee14d

Please sign in to comment.