All Versions
47
Latest Version
Avg Release Cycle
118 days
Latest Release
12 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v7.2.6 Changes
June 13, 2022 -
v7.2.5 Changes
March 04, 2022๐ New Features
- #827: Add
:lazy_sidekiqstrategy, that defers not only importing but alsoupdate_indexcallback evaluation for created and updated objects. ([@sl4vr][]) - #827: Add
:atomic_no_refreshstrategy. Like:atomic, butrefresh=falseparameter is set. ([@barthez][]) - #827: Add
:no_refreshchain call toupdate_indexmatcher to ensure import was called withrefresh=false. ([@barthez][])
๐ Bugs Fixed
- #835: Support keyword arguments in named scopes. ([@milk1000cc][])
- #827: Add
-
v7.2.4 Changes
February 03, 2022๐ New Features
- #760: Replace parent-child mapping with a join field ([@mrzasa][])
๐ Bugs Fixed
-
v7.2.3 Changes
October 29, 2021๐ New Features
- #801: Add the
track_total_hitsoption to the query. ([@milk1000cc][]) - #810: Use
unsafe_loadwhen loading config to support Psych 4. - #819: Add the
ignore_unavailableoption to the request. ([@kolauren][])
๐ Changes
- #817: Show warning message during rake chewy:reset or chewy:upgrade if journaling is disabled. ([@konalegi][])
๐ Bugs Fixed
- #816: Move query
preferencefrom body to query parameters. ([@afg419][])
- #801: Add the
-
v7.2.2 Changes
May 24, 2021๐ Changes
#800: Revert #787 progressbar feature to avoid performance degradation in parallel import ([@rabotyaga][])
#795: (Breaking) Change the Chewy::Search::Parameters::Order implementation to use Array ([@jiajiawang][]):
- To allow multiple sorting options that may have the same key name. For example script based sorting whose key will always be
_script. - Behaviour change of chained
ordercalls.- e.g.
.order(_script: {a: 1}).order(_script: {b: 2}) - Before
{:sort=>[{"_script"=>{:b=>2}}]} - After
{:sort=>[{"_script"=>{:a=>1}},{"_script"=>{:b=>2}}]}
- e.g.
- To allow multiple sorting options that may have the same key name. For example script based sorting whose key will always be
#654: Add helpers and matchers for testing ([@Vitalina-Vakulchyk][]):
mock_elasticsearch_responsehelpers both Rspec and Minitest - to mock elasticsearch responsemock_elasticsearch_response_sourceshelpers both Rspec and Minitest - to mock elasticsearch response sourcesassert_elasticsearch_queryhelper for Minitest - to compare request and expected query (returnstrue/false)build_querymatcher for Rspec - to compare request and expected query (returnstrue/false)
-
v7.2.1 Changes
May 11, 2021๐ New Features
- #469: Add ability to output the progressbar with
ENV['PROGRESS']duringresetrake tasks ([@Vitalina-Vakulchyk][]):- for
rake chewy:resetandrake chewy:parallel:reset - progressbar is hidden by default, set
ENV['PROGRESS']totrueto display it
- for
๐ Bugs Fixed
- #796: Fix clear scroll: pass
scroll_idin body, as passing in path parameters is deprecated and can overflowhttp.max_initial_line_length([@rabotyaga][])
- #469: Add ability to output the progressbar with
-
v7.2.0 Changes
April 19, 2021๐ New Features
- #778: Add
ignore_blankoption tofieldmethod ([@Vitalina-Vakulchyk][]):trueby default for thegeo_pointtypefalseby default for other types
๐ Changes
- #783: (Breaking) Remove
Chewy::Type, simplify DSL ([@rabotyaga][])- Remove the
Chewy::Typeclass- e.g. remove
CitiesIndex::City/CitiesIndex.cityCitiesIndex::City.import! ...becomesCitiesIndex.import! ...
- e.g. remove
- Simplify index DSL:
define_typeblock ->index_scopeclause- it can be omitted completely, if you don't need to specify the scope or options, e.g.
name
- it can be omitted completely, if you don't need to specify the scope or options, e.g.
- Remove type names from string representations:
- in
update_indexActiveRecord helper and RSpec matcher, e.g.update_index('cities#city')->update_index('cities')update_index(UsersIndex::User)->update_index(UsersIndex)
- in rake tasks (e.g.
rake chewy:update[cities#city]->rake chewy:update[cities]) - in rake tasks output (e.g.
Imported CitiesIndex::City in 1s, stats: index 3->Imported CitiesIndex in 1s, stats: index 3)
- in
- Use index name instead of type name in loader additional scope
- e.g.
CitiesIndex.filter(...).load(city: {scope: City.where(...)})->CitiesIndex.filter(...).load(cities: {scope: City.where(...)})
- e.g.
- Remove the
- #692: Add
.update_mappingto Index class ([@Vitalina-Vakulchyk][]):- Wrapped Elasticsearch gem
.put_mappingwith.update_mappingin Index class - Add
rake chewy:update_mappingtask
- Wrapped Elasticsearch gem
- #594: Add
.reindexto Index class ([@Vitalina-Vakulchyk][]):- Wrapped Elasticsearch gem
.reindexwith.reindexin Index class - Add
rake chewy:reindextask
- Wrapped Elasticsearch gem
- #679: Wrapped
Elasticsearch::API::Indices::Actions#clear_cachewith.clear_cachein Index class ([@Vitalina-Vakulchyk][]) - #495: Ability to change Rails console strategy with
Chewy.console_strategy([@Vitalina-Vakulchyk][]) - #778: (Breaking) Drop support for Ruby 2.5 ([@Vitalina-Vakulchyk][])
- #776: (Breaking) Removal of unnecessary features and integrations ([@Vitalina-Vakulchyk][]):
aws-sdk-sqs/shoryukenmongoidsequelwill_paginateresque
- #769: (Breaking) Removal of deprecated methods and rake tasks ([@Vitalina-Vakulchyk][]):
Chewy::Index.index_paramsis removed, useChewy::Index.specification_hashinsteadChewy::Index.derivable_index_nameis removed, useChewy::Index.derivable_nameinsteadChewy::Index.default_prefixis removed, useChewy::Index.prefixinsteadChewy::Index.build_index_nameis removed, useChewy::Index.index_nameinsteadChewy::RakeHelper.reset_indexis removed, useChewy::RakeHelper.resetinsteadChewy::RakeHelper.reset_allis removed, useChewy::RakeHelper.resetinsteadChewy::RakeHelper.update_indexis removed, useChewy::RakeHelper.updateinsteadChewy::RakeHelper.update_allis removed, useChewy::RakeHelper.updateinsteadrake chewy:apply_changes_fromis removed, userake chewy:journal:applyinsteadrake chewy:clean_journalis removed, userake chewy:journal:cleaninstead
- #778: Add
-
v7.1.0 Changes
March 03, 2021 -
v7.0.1 Changes
May 03, 2021๐ Changes
- #792: Skip ES version memoization for search requests ([@rabotyaga][])
- See the Migration Guide for details
- #792: Skip ES version memoization for search requests ([@rabotyaga][])
-
v7.0.0 Changes
February 22, 2021