Elastica v3.2.0 Release Notes

  • Backward Compatibility Breaks

    • ๐Ÿ— Method \Elastica\ResultSet::create and property \Elastica\ResultSet::$class were removed. To change the ResultSet class, implement your own ResultSet Builder. #1065
    • Properties on \Elastica\ResultSet _totalHits, _maxScore, _took and _timedOut that were originally set on object construction are now accessed by the getters on the ResultSet. #1065

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix php notice on \Elastica\Index::getAliases() if index has no aliases #1078

    โž• Added

    • โšก๏ธ Update elasticsearch build dependency to elasticsearch 2.3.2 #1084

    ๐Ÿ‘Œ Improvements

    ๐Ÿ—„ Deprecated

    • ๐Ÿ”ง Configuring the logger in \Elastica\Client $config constructor is deprecated and will be removed. Use the $logger argument instead. #1069
    • ๐Ÿ— Extracted creation of ResultSet objects to a new dedicated ResultSet\Builder implementation. #1065
    • ๐Ÿ— All properties in the \Elastica\ResultSet class will be moved to private in 4.0. To manipulate the creation of a ResultSet, implement the \Elastica\ResultSet\BuilderInterface and pass your new Builder to the \Elastica\Search instances. #1065