All Versions
44
Latest Version
Avg Release Cycle
103 days
Latest Release
-
Changelog History
Page 4
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 viasetScriptFields()
#1086 - ๐ Fix namespace collision of
Type
inQuery\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
Elastica\Type->deleteByQuery($query, $options)
$query param can be a queryarray
again https://github.com/ruflin/Elastica/issues/1072 #1073Elastica\Client->connect()
allows to establish a connection to ES server when the config was set using methodElastica\Client->setConfigValue()
https://github.com/ruflin/Elastica/issues/1076 #1077- ๐ฒ Elastica\Client constructor now accepts a LoggerInterface and will log both successful and failed requests. #1069
๐ 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 anElastica\Aggregation\AbstractSimpleAggregation
without setting either thefield
orscript
param. Elastica\Index->deleteByQuery($query, $options)
$query param can be a queryarray
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
Elastica\Result->getDocument
andElastica\ResultSet->getDocuments
for return\Elastica\Document
. https://github.com/ruflin/Elastica/issues/960
๐ Improvements
- โ Add username and password params to connection
๐ Deprecated
- ๐ Elastica\AbstractScript|Script|ScriptFile|ScriptFields deprecated in favor of Elastica\Script|AbstractScript|Script|ScriptFile|ScriptFields #1028
- ๐ Elastica\Filter* are deprecated. You can use proper queries instead. Backward compatibility layer provided, but will be removed in next Elastica releases. See https://www.elastic.co/blog/better-query-execution-coming-elasticsearch-2-0 and https://github.com/ruflin/Elastica/issues/1001
-
v3.0.1 Changes
๐ Improvements
- โก๏ธ Update build dependency to elasticsearch 2.1.1 #1022
- ๐ Readd \Elastica\Filter\Nested. See https://github.com/ruflin/Elastica/issues/1001 #1020
-
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
toavg
#975 - Set
json_decode()
assoc parameter to true inElastica\Response
#1005 - โ Add
bigintConversion
to keys passed to connection config inElastica\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 constMultiMatch::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, 2015Backward 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
๐ Improvements