Backward Compatibility Breaks
- Changed
SetProcessor::setValuesignature to allow to pass any type, if you are overriding this method you must update the signature removing thestringtype-hint by @franmomu #2082 - Changed
Settings::setMergePolicysignature to allow to passintandstringas argument 2, if you are overriding this method you must update the signature removing thestringtype-hint by @franmomu #2085
Added
- Added
PHPStanat level 3 by @franmomu #2064 - Added coverage check to CI by @franmomu #2071
- Added
stringas a valid type fordatainRequestby @franmomu #2078 - Added missing
throwsPHPDoc tags by @franmomu #2077 - Added
Search::addIndexByName(),Search::hasIndexByName()andSearch::addIndicesByName()by @franmomu #2103
Changed
- Updated
symfony/phpunit-bridgeto6.0by @franmomu #2067 - Updated
php-cs-fixerto3.8.0#2074 - Updated
composer-normalizeto2.2.28by @deguif #2084 - Increased
PHPStanlevel to4#2080 ExceptionInterfaceextendsThrowable#2083- Changed
valueinSetProcessorto acceptmixedinstead ofstringby @franmomu #2082 - Updated
Query::createPHPDoc to include supported types and propagate it to callers by @franmomu #2088 - Update some iterable types in PHPDoc to be more specific by @franmomu #2092
- Updated
AwsAuthV4Testadding assertions for exception type by @franmomu #2094
Deprecated
- Deprecated
Elastica\Reindex::WAIT_FOR_COMPLETION_FALSE, use a boolean as parameter instead by @franmomu #2070 - Passing anything else than a boolean as 1st argument to
Reindex::setWaitForCompletion, pass a boolean instead by @franmomu #2070 - Deprecated passing a
stringas 1st argument toSearch::addIndex()andSearch::hasIndex(), pass an Index instance instead by @franmomu #2103 - Deprecated passing an array of
stringas 1st argument toSearch::addIndices(), use an array of Index instances by @franmomu #2103
Removed
- Removed
egeloen/http-adapteras suggested package since the project is abandoned by @franmomu #2069 - Removed
0as valid request data using Analyze API by @franmomu #2068 - Removed dead code in
AwsAuthV4Testby @franmomu #2073
Fixed
- Fixed some PHPDoc types adding
nullas possible value by @franmomu #2070 and #2087 - Fixed passing wrong types to
GapPolicyInterface::setGapPolicy(),Document::setDocAsUpsert()andConnection::setPort()methods by @franmomu #2081 - Fixed
HttpPHPDoc adding\CurlHandletype for Curl connection by @franmomu #2086 - Fixed case mismatch in method calls by @franmomu #2087
- Fixed
MoreLikeThis::setLike()PHPDoc allowingDocumentby @franmomu #2091 - Fixed
Term::setTerm()PHPDoc allowing scalar values for$valueparameter by @franmomu #2094 - Fixed
DateHistogramdeprecation: usefixed_internalorcalendar_intervalinstead ofintervalby @VincentLanglet #2099
New Contributors
Full Changelog: 7.1.5...7.2.0