forked from ezsystems/ezpublish-kernel
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EZP-27743: Criterion should implement CriterionInterface (ezsystems#2330
- Loading branch information
1 parent
bea2660
commit 37d41f6
Showing
32 changed files
with
203 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Backwards compatibility changes | ||
|
||
Changes affecting version compatibility with former or future versions. | ||
|
||
## Changes | ||
|
||
* The abstract class `eZ\Publish\API\Repository\Values\Content\Query\Criterion` now implements interface `eZ\Publish\API\Repository\Values\Content\Query\CriterionInterface`. | ||
|
||
* The interface `eZ\Publish\API\Repository\Values\Content\Query\CriterionInterface` no longer specifies `createFromQueryBuilder` and `getSpecifications` methods. The former was already specified by `eZ\Publish\API\Repository\Values\Content\Query\Criterion` abstract class and the latter was moved there. | ||
|
||
* Classes extending the abstract class `eZ\Publish\API\Repository\Values\Content\Query\Criterion` no longer directly implement interface `eZ\Publish\API\Repository\Values\Content\Query\CriterionInterface`. This interface is still implemented in those classes via `eZ\Publish\API\Repository\Values\Content\Query\Criterion` abstract class. | ||
|
||
* The abstract class `eZ\Publish\API\Repository\Values\Content\Query\Criterion\LogicalOperator` now throws `eZ\Publish\API\Repository\Exceptions\NotImplementedException` for method `getSpecifications`. This method will be completely removed in 8.0 when `LogicalOperator` no longer extends `eZ\Publish\API\Repository\Values\Content\Query\Criterion`. | ||
|
||
## Deprecations | ||
|
||
* The method `createFromQueryBuilder` from the abstract class `eZ\Publish\API\Repository\Values\Content\Query\Criterion` is deprecated and will be removed in 8.0. All overrides of this method are also deprecated and will be removed in 8.0. | ||
Call constructors directly instead. | ||
|
||
## Removed features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.