Elastica v7.1.3 Release Notes

  • ➕ Added

    • ➕ Added support for scripted upsert on bulk requests by @dsgrillo #1974
    • ➕ Added Elastica\Aggregation\CumulativeSum by @limenet #1987
    • ➕ Added ignore_failure option to suitable ingest processors by @deguif #2003
    • ➕ Added ignore_missing option to lowercase, remove, trim and uppercase processors by @deguif #2001
    • ➕ Added allow_duplicates option to append processor by @deguif #2004
    • ➕ Added bytes processor by @deguif #2008
    • ➕ Added indices_boost option to Elastica\Query by @deguif #2018
    • ➕ Added Elastica\Query\Terms::setBoost() method to configure boost by @deguif #2035
    • ➕ Added Elastica\Query\TermsSet query by @mamchyts #2020
    • ➕ Added terms_set in query builder by @deguif #2036
    • ➕ Added Elastica\Aggregation\Traits\BucketsPathTrait to configure buckets_path on aggregations by @deguif #2037 #2039
    • 👍 Allowed to configure a sub key when adding a param with Elastica\Param::addParam() by @deguif #2030 ### 🔄 Changed
    • 🗄 Triggered deprecation in Elastica\Result::getType() method by @deguif #2016
    • ⚡️ Updated php-cs-fixer to 3.3.2 by @deguif #2022
    • ⚡️ Updated composer-normalize to 2.15.0 by @deguif #2021
    • ⚡️ Updated elasticsearch test version to 7.15.2 by @deguif #2027
    • Extracted setting gap policy to \Elastica\Aggregation\Traits\GapPolicyTrait and introduced \Elastica\Aggregation\GapPolicyInterface with constants for options by @stchr #2023
    • Extracted setting field to Elastica\Processor\Traits\FieldTrait by @deguif #2024
    • Extracted setting target_field to Elastica\Processor\Traits\TargetFieldTrait by @deguif #2026
    • Simplified github action matrix for continuous integration workflow by @deguif #2025 ### 🗄 Deprecated
    • 🗄 Deprecated Elastica\Query\Common class, use Elastica\Query\MatchQuery instead by @deguif #2013
    • 🗄 Deprecated Elastica\QueryBuilder\DSL\Query::common_terms(), use match() instead by @deguif #2013
    • 🗄 Deprecated passing an int as 1st argument to Elastica\Search::setOptionsAndQuery(), pass an array with the key size instead by @deguif #2010
    • 🗄 Deprecated cutoff_frequency option of Elastica\Query\MatchQuery by @deguif #2014
    • 🗄 Deprecated cutoff_frequency option of Elastica\Query\MultiMatch by @deguif #2015
    • 🗄 Deprecated Elastica\Bulk::toString(), Elastica\Bulk\Action::toString() and Elastica\Request::toString() methods, use __toString() method or cast to string instead by @deguif #2033
    • 🗄 Deprecated not passing a buckets_path when constructing Elastica\Aggregation\AvgBucket, Elastica\Aggregation\Derivative, Elastica\Aggregation\NormalizeAggregation, Elastica\Aggregation\PercentilesBucket, Elastica\Aggregation\SerialDiff, Elastica\Aggregation\StatsBucket and Elastica\Aggregation\SumBucket by @deguif #2038
    • 🗄 Deprecated not passing a method when constructing Elastica\Aggregation\NormalizeAggregation by @deguif #2040 ### ✂ Removed
    • ✂ Removed remaining _type field usages by @deguif #2017
    • ✂ Removed Elastica\Bulk::$_type dead property by @deguif #2034
    • ✂ Removed Elasticsearch old version checks in tests by @deguif #2041 ### 🛠 Fixed
    • 🛠 Fixed type-hint for Elastica\Search::setOptionsAndQuery() by @deguif #2009
    • 🛠 Fixed terms query params resolution by @deguif #2032