Update dependency ruflin/elastica to v8 - autoclosed #378
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^6.2|^7.3.2
->8.1.0
Release Notes
ruflin/Elastica (ruflin/elastica)
v8.1.0
Compare Source
Added
bool_prefix
#2220addRange
using a common trait #2227Fixed
v8.0.0
Compare Source
This a major release with breaking changes.
Have a look at the Upgrade guide.
Backward Compatibility Breaks
Elastica\Exception\ElasticsearchException
-> useElastica\Exception\ResponseException::getResponse()::getFullError()
insteadElastica\Exception\ResponseException::getElasticsearchException()
-> useElastica\Exception\ResponseException::getResponse()::getFullError()
insteadElastica\Processor\Append
-> useElastica\Processor\AppendProcessor
insteadElastica\Processor\Attachment
-> useElastica\Processor\AttachmentProcessor
insteadElastica\Processor\Convert
-> useElastica\Processor\ConvertProcessor
insteadElastica\Processor\Date
-> useElastica\Processor\DateProcessor
insteadElastica\Processor\DateIndexName
-> useElastica\Processor\DateIndexNameProcessor
insteadElastica\Processor\DotExpander
-> useElastica\Processor\DotExpanderProcessor
insteadElastica\Processor\Fail
-> useElastica\Processor\FailProcessor
insteadElastica\Processor\Join
-> useElastica\Processor\JoinProcessor
insteadElastica\Processor\Json
-> useElastica\Processor\JsonProcessor
insteadElastica\Processor\Kv
-> useElastica\Processor\KvProcessor
insteadElastica\Processor\Lowercase
-> useElastica\Processor\LowercaseProcessor
insteadElastica\Processor\Remove
-> useElastica\Processor\RemoveProcessor
insteadElastica\Processor\Rename
-> useElastica\Processor\RenameProcessor
insteadElastica\Processor\Set
-> useElastica\Processor\SetProcessor
insteadElastica\Processor\Sort
-> useElastica\Processor\SortProcessor
insteadElastica\Processor\Split
-> useElastica\Processor\SplitProcessor
insteadElastica\Processor\Trim
-> useElastica\Processor\AppendProcessor
insteadElastica\Processor\Uppercase
-> useElastica\Processor\UppercaseProcessor
insteadElastica\Query\Common
-> useElastica\Query\MatchQuery
insteadElastica\QueryBuilder\DSL\Query::common_terms()
-> useElastica\QueryBuilder\DSL\Query::match()
insteadElastica\Transport\HttpAdapter
-> useElastica\Transport\Http
insteadElastica\Aggregation\Range::setKeyedResponse()
-> useElastica\Aggregation\Range::setKeyed()
insteadElastica\Bulk::toString()
-> useElastica\Bulk::__toString()
or cast to string insteadElastica\Query\MatchQuery::setFieldCutoffFrequency()
Elastica\Query\MultiMatch::setCutoffFrequency()
Elastica\QueryBuilder\DSL\Aggregation::global_agg()
-> useElastica\QueryBuilder\DSL\Aggregation::global()
insteadElastica\Request::toString()
-> useElastica\Request::__toString()
or cast to string insteadElastica\Result::getType()
Elastica\Suggest\Phrase::addCandidateGenerator()
-> useElastica\Suggest\Phrase::addDirectGenerator()
insteadElastica\Util::getParamName()
Elastica\Aggregation\AvgBucket
: The second argument$bucketsPath
is now mandatoryElastica\Aggregation\BucketScript
: The second (array $bucketsPath
) and the third (string $script
) argument are now mandatoryElastica\Aggregation\BucketSelector
: The second (array $bucketsPath
) and the third (string $script
) argument are now mandatoryElastica\Aggregation\Derivative
: The second argument (string $bucketsPath
) is now mandatoryElastica\Aggregation\NormalizeAggregation
: The second (string $bucketsPath
) and the third (string $method
) argument are now mandatoryElastica\Aggregation\PercentilesBucket
: The second argument (string $bucketsPath
) is now mandatoryElastica\Aggregation\SerialDiff
: The second argument (string $bucketsPath
) is now mandatoryElastica\Aggregation\StatsBucket
: The second argument (string $bucketsPath
) is now mandatoryElastica\Aggregation\SumBucket
: The second argument (string $bucketsPath
) is now mandatoryElastica\Cluster\Health::getActiveShardsPercentAsNumber()
method tofloat
#2144$origin
and$scale
parameter types ofElastica\Query\FunctionScore::addDecayFunction()
to allowfloat|int|string
#2144$key
parameter type ofElastica\Multi\Search::addSearch()
to allowint|string|null
#2144$options
parameter type ofElastica\Index::create()
to only allowarray<string, mixed>
#2147Elastica\Reindex::setWaitForCompletion()
to only allowbool
#2151Elastica\Search::addIndex()
,Elasica\Search::addIndices()
andElastica\Search::hasIndex()
parameter type to only allowElastica\Index
#2150$options
argument to not acceptint
in the following methods #2148Elastica\SearchableInterface::search()
Elastica\SearchableInterface::createSearch()
Elastica\Search::search()
Elastica\Search::createSearch()
Elastica\Search::setOptionsAndQuery()
Elastica\Index::search()
Elastica\Index::createSearch()
Elastica\Connection
Elastica\Connection\ConnectionPool
Elastica\Connection\Strategy\CallbackStrategy
Elastica\Connection\Strategy\RoundRobin
Elastica\Connection\Strategy\Simple
Elastica\Connection\Strategy\StrategyFactory
Elastica\Connection\Strategy\StrategyInterface
Elastica\Client::setLogger()
method #2148strict_types
on all classes #2190Elastica\Scroll:clear
to usescroll_id
body parameter instead of url parameter #2211Added
@throws
annotations to Client::request and related methods #2152retry_on_conflict
from Client configuration in Bulk updates (ported from 7.x #2184)Changed
php-cs-fixer
to3.13.2
#2143match
expression #2141Removed
nyholm/dsn
as no longer needed.symfony/deprecation-contracts
as no longer needed.Fixed
Elastica\Query
to work with psalm & expand theaggs
type to include raw arraysConfiguration
📅 Schedule: Branch creation - "* 0-3 1 * *" (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 was generated by Mend Renovate. View the repository job log.