Elastica v7.1.1 Release Notes
-
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
docker
directory in.gitattributes
#1938 ### ๐ Changed - Included
Content-Type
HTTP 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_CODE
byCURLINFO_RESPONSE_CODE
#1931 - โก๏ธ Updated
php-cs-fixer
to2.18.3
#1915 - โก๏ธ Updated
composer-normalize
to2.13.3
#1927 ### ๐ Deprecated - ๐ Deprecated
Elastica\Transport\HttpAdapter
class #1940 - ๐ Deprecated
Elastica\Exception\JSONParseException
exception, catch\JsonException
instead #1949 ### ๐ Fixed - ๐ Fixed wrong
ltrim
usage in guzzle transport #1783 - Fixed
_seq_no
and_primary_term
wrong initialization #1920 - ๐ Fixed
Elastica\Connection\StrategyInterface
instance checks #1921 - ๐ Fixed various PHPDoc annotations #1922
- ๐ Fixed numeric index names are returned as
int
inElastica\Status::getIndexNames()
#1928 - ๐ Fixed using raw array in
post_filter
#1950
- ๐ Changed