Backward Compatibility Breaks
- Changed
Elastica\Query\MatchQuery::setFieldParam()signature to allow passing bool, float or int #1941 - Changed
Elastica\Query\MatchPhraseQuery::setFieldParam()signature to allow passing bool, float or int #1944
Added
- Excluded
dockerdirectory in.gitattributes#1938
Changed
- Included
Content-TypeHTTP header every time, whatever the content of the body is #1780 - Changed
Elastica\Status::indexExists(),Elastica\Status::aliasExists()andElastica\Status::getIndicesWithAlias()signatures #1929 - Replaced
call_user_func()andcall_user_func_array()by direct calls #1923 - Replaced legacy constant
CURLINFO_HTTP_CODEbyCURLINFO_RESPONSE_CODE#1931 - Updated
php-cs-fixerto2.18.3#1915 - Updated
composer-normalizeto2.13.3#1927
Deprecated
- Deprecated
Elastica\Transport\HttpAdapterclass #1940
Fixed
- Fixed wrong
ltrimusage in guzzle transport #1783 - Fixed
_seq_noand_primary_termwrong initialization #1920 - Fixed
Elastica\Connection\StrategyInterfaceinstance checks #1921 - Fixed various PHPDoc annotations #1922
- Fixed numeric index names are returned as
intinElastica\Status::getIndexNames()#1928 - Fixed using raw array in
post_filter#1950