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() and Elastica\Status::getIndicesWithAlias() signatures #1929
    • ๐Ÿ‘‰ Replaced call_user_func() and call_user_func_array() by direct calls #1923
    • Replaced legacy constant CURLINFO_HTTP_CODE by CURLINFO_RESPONSE_CODE #1931
    • โšก๏ธ Updated php-cs-fixer to 2.18.3 #1915
    • โšก๏ธ Updated composer-normalize to 2.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 in Elastica\Status::getIndexNames() #1928
    • ๐Ÿ›  Fixed using raw array in post_filter #1950