Open renovate[bot] opened 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.56%. Comparing base (
6c3b3dc
) to head (49a13a7
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
^6.2\|^7.3.2
->8.0.0
Release Notes
ruflin/Elastica (ruflin/elastica)
### [`v8.0.0`](https://togithub.com/ruflin/Elastica/blob/HEAD/CHANGELOG.md#800) [Compare Source](https://togithub.com/ruflin/Elastica/compare/7.3.2...8.0.0) This a major release with breaking changes. Have a look at the [Upgrade guide](https://togithub.com/ruflin/Elastica/blob/8.x/UPGRADE-8.0.md). ##### Backward Compatibility Breaks - Dropped support for PHP <8.0 [#2131](https://togithub.com/ruflin/Elastica/pull/2131) - Removed deprecated classes in 7.x [#2132](https://togithub.com/ruflin/Elastica/pull/2132) - `Elastica\Exception\ElasticsearchException` -> use `Elastica\Exception\ResponseException::getResponse()::getFullError()` instead - `Elastica\Exception\ResponseException::getElasticsearchException()` -> use `Elastica\Exception\ResponseException::getResponse()::getFullError()` instead - `Elastica\Processor\Append` -> use `Elastica\Processor\AppendProcessor` instead - `Elastica\Processor\Attachment` -> use `Elastica\Processor\AttachmentProcessor` instead - `Elastica\Processor\Convert` -> use `Elastica\Processor\ConvertProcessor` instead - `Elastica\Processor\Date` -> use `Elastica\Processor\DateProcessor` instead - `Elastica\Processor\DateIndexName` -> use `Elastica\Processor\DateIndexNameProcessor` instead - `Elastica\Processor\DotExpander` -> use `Elastica\Processor\DotExpanderProcessor` instead - `Elastica\Processor\Fail` -> use `Elastica\Processor\FailProcessor` instead - `Elastica\Processor\Join` -> use `Elastica\Processor\JoinProcessor` instead - `Elastica\Processor\Json` -> use `Elastica\Processor\JsonProcessor` instead - `Elastica\Processor\Kv` -> use `Elastica\Processor\KvProcessor` instead - `Elastica\Processor\Lowercase` -> use `Elastica\Processor\LowercaseProcessor` instead - `Elastica\Processor\Remove` -> use `Elastica\Processor\RemoveProcessor` instead - `Elastica\Processor\Rename` -> use `Elastica\Processor\RenameProcessor` instead - `Elastica\Processor\Set` -> use `Elastica\Processor\SetProcessor` instead - `Elastica\Processor\Sort` -> use `Elastica\Processor\SortProcessor` instead - `Elastica\Processor\Split` -> use `Elastica\Processor\SplitProcessor` instead - `Elastica\Processor\Trim` -> use `Elastica\Processor\AppendProcessor` instead - `Elastica\Processor\Uppercase` -> use `Elastica\Processor\UppercaseProcessor` instead - `Elastica\Query\Common` -> use `Elastica\Query\MatchQuery` instead - `Elastica\QueryBuilder\DSL\Query::common_terms()` -> use `Elastica\QueryBuilder\DSL\Query::match()` instead - `Elastica\Transport\HttpAdapter` -> use `Elastica\Transport\Http` instead - Removed deprecated methods [#2135](https://togithub.com/ruflin/Elastica/pull/2135) - `Elastica\Aggregation\Range::setKeyedResponse()` -> use `Elastica\Aggregation\Range::setKeyed()` instead - `Elastica\Bulk::toString()` -> use `Elastica\Bulk::__toString()` or cast to string instead - `Elastica\Query\MatchQuery::setFieldCutoffFrequency()` - `Elastica\Query\MultiMatch::setCutoffFrequency()` - `Elastica\QueryBuilder\DSL\Aggregation::global_agg()` -> use `Elastica\QueryBuilder\DSL\Aggregation::global()` instead - `Elastica\Request::toString()` -> use `Elastica\Request::__toString()` or cast to string instead - `Elastica\Result::getType()` - `Elastica\Suggest\Phrase::addCandidateGenerator()` -> use `Elastica\Suggest\Phrase::addDirectGenerator()` instead - `Elastica\Util::getParamName()` - Changed following aggregation constructors [#2138](https://togithub.com/ruflin/Elastica/pull/2138) - `Elastica\Aggregation\AvgBucket`: The second argument `$bucketsPath` is now mandatory - `Elastica\Aggregation\BucketScript`: The second (`array $bucketsPath`) and the third (`string $script`) argument are now mandatory - `Elastica\Aggregation\BucketSelector`: The second (`array $bucketsPath`) and the third (`string $script`) argument are now mandatory - `Elastica\Aggregation\Derivative`: The second argument (`string $bucketsPath`) is now mandatory - `Elastica\Aggregation\NormalizeAggregation`: The second (`string $bucketsPath`) and the third (`string $method`) argument are now mandatory - `Elastica\Aggregation\PercentilesBucket`: The second argument (`string $bucketsPath`) is now mandatory - `Elastica\Aggregation\SerialDiff`: The second argument (`string $bucketsPath`) is now mandatory - `Elastica\Aggregation\StatsBucket`: The second argument (`string $bucketsPath`) is now mandatory - `Elastica\Aggregation\SumBucket`: The second argument (`string $bucketsPath`) is now mandatory - Changed return type of `Elastica\Cluster\Health::getActiveShardsPercentAsNumber()` method to `float` [#2144](https://togithub.com/ruflin/Elastica/pull/2144) - Changed `$origin` and `$scale` parameter types of `Elastica\Query\FunctionScore::addDecayFunction()` to allow `float|int|string` [#2144](https://togithub.com/ruflin/Elastica/pull/2144) - Changed `$key` parameter type of `Elastica\Multi\Search::addSearch()` to allow `int|string|null` [#2144](https://togithub.com/ruflin/Elastica/pull/2144) - Changed `$options` parameter type of `Elastica\Index::create()` to only allow `arrayConfiguration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.