All Versions
44
Latest Version
Avg Release Cycle
103 days
Latest Release
-

Changelog History
Page 4

  • v3.2.1 Changes

    ๐Ÿ›  Backward Compatibility Fixes

    • ๐Ÿšš Reintroduced properties in ResultSet removed in 3.2.0 as deprecated properties to be removed in 4.0

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fix fatal error on Query::addScriptField() if scripts were already set via setScriptFields() #1086
    • ๐Ÿ›  Fix namespace collision of Type in Query\Ids #1104

    โž• Added

    • โž• Added the concept of ResultSet Transformers. The Transformer adds more information to a Result, for example the original object or data that created the Result. #1066
    • Tidied property initialisation in classes where it was duplicated
  • v3.2.0 Changes

    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
  • v3.1.1 Changes

    โž• Added

    • โž• Add an "AwsAuthV4" transport that automatically signs requests using credentials from the environment or from the client config. This allows using Elastica with Amazon ElasticSearch Service domains that are restricted to IAM roles or policies. #1056
    • โšก๏ธ Update elasticsearch build dependency to elasticsearch 2.2.1

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ป Elastica\Exception\InvalidException will be thrown if you try using an Elastica\Aggregation\AbstractSimpleAggregation without setting either the field or script param.
    • Elastica\Index->deleteByQuery($query, $options) $query param can be a query array again
    • ๐Ÿ‘ Elastica\Query\MoreLikeThis->toArray() now supports providing a non-indexed document as an input to perform the comparison.
    • Elastica\Status will lazy load the _stats at when it is needed. https://github.com/ruflin/Elastica/pull/1058
  • v3.1.0 Changes

    Backward Compatibility Breaks

    • โšก๏ธ Update Guzzle transport to use Guzzle 6
    • ๐Ÿ—„ Elastica\Query\FunctionScore::setFilter - deprecated and will throw DeprecatedException since not supported by Elasticsearch. Use setQuery instead.

    โž• Added

    ๐Ÿ‘Œ Improvements

    • โž• Add username and password params to connection

    ๐Ÿ—„ Deprecated

  • v3.0.1 Changes

    ๐Ÿ‘Œ Improvements

  • v3.0.0 Changes

    Backward Compatibility Breaks

    • ๐Ÿ‘€ Revert getError changes in Response object and make it better BC compatible. See comment here.

    ๐Ÿ›  Bugfixes

    • Function score query: corrected the score_method average to avg #975
    • Set json_decode() assoc parameter to true in Elastica\Response #1005
    • โž• Add bigintConversion to keys passed to connection config in Elastica\Client #1005
    • ๐Ÿ‘‰ Use POST instead of PUT to send bulk requests #1010

    โž• Added

    • ๐Ÿ‘ Elastica\Query\MultiMatch::setFuzziness now supports being set to AUTO with the const MultiMatch::FUZZINESS_AUTO
    • Elastica\Type\Mapping::send now accepts query string parameters to send along with the mapping request
    • Elastica\Query\BoolQuery::addFilter

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ป More info on Elastica\Exception\PartialShardFailureException. Not just number of failed shards.
    • ๐Ÿ‘ Allow bool in TopHits::setSource function #1012

    ๐Ÿ—„ Deprecated

    • ๐Ÿ‘‰ Elastica\Query\Filtered triggers E_USER_DEPRECATED error because filtered query is deprecated since ES 2.0.0-beta1. Use BoolQuery instead.
    • ๐Ÿ‘‰ Elastica\QueryBuilder\DSL\Query::filtered() triggers E_USER_DEPRECATED error because filtered query is deprecated since ES 2.0.0-beta1. Use bool() instead.
  • v3.0.0-beta1 Changes

    Backward Compatibility Breaks

    • โšก๏ธ Elastica\AbstractUpdateAction::setPercolate now throw DeprecatedException, user Percolator instead
    • โšก๏ธ Elastica\AbstractUpdateAction::getPercolate now throw DeprecatedException, user Percolator instead
    • โšก๏ธ Elastica\AbstractUpdateAction::hasPercolate now throw DeprecatedException, user Percolator instead
    • ๐Ÿ—„ Elastica\Type::delete now throw DeprecatedException, it is no longer possible to delete the mapping for a type. Instead you should delete the index and recreate it with the new mappings
    • ๐Ÿ—„ MoreLikeThis::setLikeText deprecated from ES 2.0, use setLike instead, but there is a difference - setLike haven't trim magic inside for strings
    • ๐Ÿ—„ Elastica\Document, methods: setScript, getScript, hasScript now throw DeprecatedException.
    • ๐Ÿ—„ MoreLikeThis, methods: setLikeText, setIds, setPercentTermsToMatch now throw DeprecatedException.
    • ๐Ÿ—„ Elastica\Aggregation\DateHistogram, methods: setPreZone, setPostZone, setPreZoneAdjustLargeInterval, setPreOffset, setPostOffset now throw DeprecatedException.
    • ๐Ÿ‘‰ Elastica\Query\Builder trigger E_USER_DEPRECATED error when you try use it.
    • ๐Ÿ‘‰ Elastica\Filter\Bool and Elastica\Query\Bool trigger E_USER_DEPRECATED error when you try use them.
    • ๐Ÿ‘‰ Elastica\Query\Fuzzy:addField method trigger E_USER_DEPRECATED error
    • ๐Ÿ‘‰ Elastica\Query\FunctionScore:addBoostFactorFunction method trigger E_USER_DEPRECATED error
    • ๐Ÿ‘‰ Elastica\Query:setLimit method trigger E_USER_DEPRECATED error
    • ๐Ÿ‘‰ Elastica\Document:add method trigger E_USER_DEPRECATED error
    • ๐Ÿšš Type::moreLikeThis API was removed from ES 2.0, use MoreLikeThis query instead
    • โœ‚ Remove Thrift transport and everything related to it
    • โœ‚ Remove Memcache transport and everything related to it
    • โœ‚ Remove BulkUdp and everything related to it
    • โœ‚ Remove Facets and everything related to it
    • โœ‚ Remove ansible scripts for tests setup and Vagrantfile as not needed anymore. All is based on docker containers now
    • ๐Ÿ‘Œ Support for PHP 5.3 removed
    • Elastica\Reponse::getError() now returns and array instead of a string
    • ๐Ÿšš Move function \Elastica\Index\Status::getAliases() and hasAlias(...) to \Elastica\Index::getAliases()
    • โœ‚ Remove \Elastica\Index\Status object and related functions
    • ๐Ÿšš \Elastica\Query\FuzzyLikeThis remove as not supported anymore
    • โœ‚ Remove \Elastica\Status::getServerStatus() as the information was removed
    • โœ‚ DeleteByQuery now requires the delete-by-query plugin isntalled
    • โœ‚ Remove \Elastica\Filter\Nested as it is replaced by \Elastica\Query\Nested
    • Require at least PHP 5.4

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixed GeoShapeProvided relation parameter position

    โž• Added

    • Elastica\Reponse::getErrorMessage was added as getError is now an object
    • Elastica\Query\MoreLikeThis::setLike
    • ๐Ÿ—„ \Elastica\Exception\DeprecatedException
    • Connection option to convert JSON bigint results to strings can now be set #717

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ— Travis builds were moved to docker-compose setup. Ansible scripts and Vagrant files were removed
    • trigger_error with E_USER_DEPRECATE added to deprecated places
    • ๐Ÿ—„ DeprecatedException will be thrown, if there is a call of method that not support BC

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ Elastica\Type::delete is deprecated
    • ๐Ÿ—„ Elastica\Filter\Bool is deprecated
    • ๐Ÿ—„ Elastica\Query\Bool is deprecated
    • ๐Ÿ—„ Elastica\Query\MoreLikeThis::setLikeText is deprecated
    • ๐Ÿ—„ Elastica\Query\MoreLikeThis::setIds is deprecated
  • v2.3.3

    January 11, 2019
  • v2.3.1 Changes

    October 17, 2015

    ๐Ÿ›  Bugfixes

    • Filters aggregation: empty name is named bucket #935
    • Prevent mix keys in filters (#936) #939
    • ๐Ÿ›  Fix empty string is not anonymous filter #935
    • Filters aggregation: empty name is named bucket #935

    โž• Added

    • Support for field_value_factor #953
    • โž• Added setMinDocCount and setExtendedBounds options #947
    • โœ… Avoid environment dependecies in tests #938

    ๐Ÿ‘Œ Improvements

    • โšก๏ธ Update elasticsearch dependency to elasticsearch 1.7.3 #957

    ๐Ÿ—„ Deprecated

    • โž• Added exceptions of deprecated transports to deprecation list
  • v2.3.0 Changes

    September 15, 2015

    Backward Compatibility Breaks

    • Objects do not casts to arrays in setters and saved in params as objects. There is many side effects if you work with params on "low-level" or change your objects after you call setter with object as argument. #916

    โž• Added

    • โž• Add Script File feature #902 #914

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘Œ Support the http.compression in the Http transport adapter #515
    • Introduction of Lazy toArray #916
    • โšก๏ธ Update Elasticsearch dependency to 1.7.2 #929