Elastica v7.1.2 Release Notes

  • Backward Compatibility Breaks

    • ๐Ÿ”„ Changed Elastica\Exception\JSONParseException inheritance, it now extends \JsonException instead of \RuntimeException #1949 ### โž• Added
    • โž• Added Elastica\Aggregation\NormalizeAggregation #1956
    • โž• Added Elastica\Suggest\Phrase::addDirectGenerator to align with ES specification #1964
    • โž• Added support for psr/log 2.0 and 3.0 #1971
    • โž• Added new optional 'case_insensitive' option to Elastica\Query\Wildcard #1894
    • โž• Added Elastica\Result::getSort() fetching the "sort" property of results #1979
    • โž• Added exposure of Point-In-Time ID for search responses in Elastica\ResultSet::getPointInTimeId() #1991
    • โž• Added Elastica\Index::openPointInTime() for opening a PiT on the index #1994
    • โž• Added possibility to specify PointInTime on Elastica\Query::setPointInTime() #1992
    • โž• Added Elastica\Client::closePointInTime() for closing a PiT #1995 ### ๐Ÿ”„ Changed
    • โšก๏ธ Updated php-cs-fixer to 3.2.1 #1996 #1959 #1955
    • โœ… Using default Elasticsearch images for testing instead of OSS https://github.com/ruflin/Elastica/pull/1954 ### ๐Ÿ›  Fixed
    • ๐Ÿ›  Fixed compatibility with guzzlehttp/psr7 version 2.x #2002
    • Fixed the assignment of version, seq_no and primary_term on getDocument #1973