Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump chewy from 5.1.0 to 7.2.0 #881

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 26, 2021

Bumps chewy from 5.1.0 to 7.2.0.

Release notes

Sourced from chewy's releases.

v.7.2.0

Changes

  • #783: (Breaking) Remove Chewy::Type, simplify DSL ([@​rabotyaga][])
    • Remove the Chewy::Type class
      • e.g. remove CitiesIndex::City / CitiesIndex.city
        • CitiesIndex::City.import! ... becomes CitiesIndex.import! ...
    • Simplify index DSL:
      • define_type block -> index_scope clause
        • it can be omitted completely, if you don't need to specify the scope or options, e.g. name
    • Remove type names from string representations:
      • in update_index ActiveRecord 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)
    • 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(...)})
  • #692: Add .update_mapping to Index class ([@​Vitalina-Vakulchyk][]):
    • Wrapped Elasticsearch gem .put_mapping with .update_mapping in Index class
    • Add rake chewy:update_mapping task
  • #594: Add .reindex to Index class ([@​Vitalina-Vakulchyk][]):
    • Wrapped Elasticsearch gem .reindex with .reindex in Index class
    • Add rake chewy:reindex task
  • #679: Wrapped Elasticsearch::API::Indices::Actions#clear_cache with .clear_cache in 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 / shoryuken
    • mongoid
    • sequel
    • will_paginate
    • resque
  • #769: (Breaking) Removal of deprecated methods and rake tasks ([@​Vitalina-Vakulchyk][]):
    • Chewy::Index.index_params is removed, use Chewy::Index.specification_hash instead
    • Chewy::Index.derivable_index_name is removed, use Chewy::Index.derivable_name instead
    • Chewy::Index.default_prefix is removed, use Chewy::Index.prefix instead
    • Chewy::Index.build_index_name is removed, use Chewy::Index.index_name instead
    • Chewy::RakeHelper.reset_index is removed, use Chewy::RakeHelper.reset instead
    • Chewy::RakeHelper.reset_all is removed, use Chewy::RakeHelper.reset instead
    • Chewy::RakeHelper.update_index is removed, use Chewy::RakeHelper.update instead
    • Chewy::RakeHelper.update_all is removed, use Chewy::RakeHelper.update instead
    • rake chewy:apply_changes_from is removed, use rake chewy:journal:apply instead
    • rake chewy:clean_journal is removed, use rake chewy:journal:clean instead

New Features

  • #778: Add ignore_blank option to field method ([@​Vitalina-Vakulchyk][]):
    • true by default for the geo_point type
    • false by default for other types

... (truncated)

Changelog

Sourced from chewy's changelog.

7.2.0 (2021-04-19)

New Features

  • #778: Add ignore_blank option to field method ([@​Vitalina-Vakulchyk][]):
    • true by default for the geo_point type
    • false by default for other types

Changes

  • #783: (Breaking) Remove Chewy::Type, simplify DSL ([@​rabotyaga][])
    • Remove the Chewy::Type class
      • e.g. remove CitiesIndex::City / CitiesIndex.city
        • CitiesIndex::City.import! ... becomes CitiesIndex.import! ...
    • Simplify index DSL:
      • define_type block -> index_scope clause
        • it can be omitted completely, if you don't need to specify the scope or options, e.g. name
    • Remove type names from string representations:
      • in update_index ActiveRecord 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)
    • 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(...)})
  • #469: Add ability to output progressbar with ENV['PROGRESS'] during reset rake tasks ([@​Vitalina-Vakulchyk][]):
    • for rake chewy:reset and rake chewy:parallel:reset
    • progressbar is hidden by default, set ENV['PROGRESS'] to true to display it
  • #692: Add .update_mapping to Index class ([@​Vitalina-Vakulchyk][]):
    • Wrapped Elasticsearch gem .put_mapping with .update_mapping in Index class
    • Add rake chewy:update_mapping task
  • #594: Add .reindex to Index class ([@​Vitalina-Vakulchyk][]):
    • Wrapped Elasticsearch gem .reindex with .reindex in Index class
    • Add rake chewy:reindex task
  • #679: Wrapped Elasticsearch::API::Indices::Actions#clear_cache with .clear_cache in 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 / shoryuken
    • mongoid
    • sequel
    • will_paginate
    • resque
  • #769: (Breaking) Removal of deprecated methods and rake tasks ([@​Vitalina-Vakulchyk][]):
    • Chewy::Index.index_params is removed, use Chewy::Index.specification_hash instead
    • Chewy::Index.derivable_index_name is removed, use Chewy::Index.derivable_name instead
    • Chewy::Index.default_prefix is removed, use Chewy::Index.prefix instead
    • Chewy::Index.build_index_name is removed, use Chewy::Index.index_name instead
    • Chewy::RakeHelper.reset_index is removed, use Chewy::RakeHelper.reset instead
    • Chewy::RakeHelper.reset_all is removed, use Chewy::RakeHelper.reset instead

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [chewy](https://github.com/toptal/chewy) from 5.1.0 to 7.2.0.
- [Release notes](https://github.com/toptal/chewy/releases)
- [Changelog](https://github.com/toptal/chewy/blob/master/CHANGELOG.md)
- [Commits](toptal/chewy@v5.1.0...v7.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 26, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 17, 2021

Superseded by #917.

@dependabot dependabot bot closed this May 17, 2021
@dependabot dependabot bot deleted the dependabot/bundler/chewy-7.2.0 branch May 17, 2021 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants