denali icon indicating copy to clipboard operation
denali copied to clipboard

Bump elasticsearch-rails from 5.1.0 to 6.1.1

Open dependabot[bot] opened this issue 4 years ago • 0 comments

Bumps elasticsearch-rails from 5.1.0 to 6.1.1.

Release notes

Sourced from elasticsearch-rails's releases.

6.1.1

  • Fix: Ruby 2.7 deprecation warning on find_in_batches - backport fix from the 7.x release. Fixes #951

6.1.0

This minor release primarily added a deprecation warning if Single Table Inheritance is used. It also contains the following changes:

  • Update test tasks and travis (#840)
  • respond_to_missing? to silence Ruby 2.4 warnings (#838)
  • Only execute update if document attributes is not empty (#862)
  • Update bundler dependencies in gemspec files (#899)
  • Ensure that 6.x is in the Compatibility table

ActiveModel

  • Fix import when preprocess returns empty collection (#720)
  • Add test for not importing when ActiveRecord query is empty
  • Validate that #first called on response records equals #[] with 0
  • Port basic response tests to rspec (#833)
  • Add newlines at the end of files that are missing it
  • Port adapter tests to rspec (#834)
  • Ensure that specified ActiveRecord order is not overwritten by Elasticsearch search results order (#835)
  • Port remainder of Elasticsearch::Model unit tests to rspec (#836)
  • Port all integration tests to rspec (#837)
  • Avoid executing search twice; Reuse response in Response#raw_response (#850)
  • Update example to account for deprecation of _suggest endpoint in favor of _search
  • Use logger to log index not found message (#868)
  • Add warning and documentation about STI support being deprecated (#898)
  • Tweak STI deprecation description

Persistence

  • Ensure that arguments are passed to super (#853)
  • Index name option is handled by super, no need to pass options expicitly

Ruby on Rails

  • Convert tests to rspec (#842)
  • Fix seeds file to stop using outdated YAML method (#843)
  • Fixed 03-expert.rb set tracer only in dev env (#621)

6.0.0

This version has many smaller changes and two major changes: the deprecation of the ActiveRecord Persistence pattern and a refactor of the Repository pattern. This version includes all the changes in 6.0.0.pre in addition to those listed below.

Breaking Changes

  • You must include the Elasticsearch::Persistence::Repository::DSL mixin if you'd like to define settings at the class-level for a Repository.
  • Settings on a Repository class and instances are immutable. For example, you cannot set a repository client with repository.client = ..... This is true for the following settings:
    • document_type
Changelog

Sourced from elasticsearch-rails's changelog.

7.1.0

  • Tested with elasticsearch Ruby client version 7.6.0
  • Updates rake version
  • Adds pipeline to bulk params commit

7.0.0

  • Update test tasks and travis (#840)
  • respond_to_missing? to silence Ruby 2.4 warnings (#838)
  • Update README.md to link to migration blog post (#857)
  • Add license headers, LICENSE and NOTICE files (#861)
  • Only execute update if document attributes is not empty (#862)
  • Remove bundler version requirement in gemspec files
  • 7.0 support (#875)

ActiveModel

  • Fix import when preprocess returns empty collection (#720)
  • Add test for not importing when ActiveRecord query is empty
  • with 0
  • Port basic response tests to rspec (#833)
  • Add newlines at the end of files that are missing it
  • Port adapter tests to rspec (#834)
  • Ensure that specified ActiveRecord order is not overwritten by Elasticsearch search results order (#835)
  • Port remainder of Elasticsearch::Model unit tests to rspec (#836)
  • Port all integration tests to rspec (#837)
  • Avoid executing search twice; Reuse response in Response#raw_response (#850)
  • Update example to account for deprecation of _suggest endpoint in favor of _search
  • Handle total hits as an object in search response
  • Use logger to log index not found message (#868)
  • Test against Rails 6.0.rc1

Persistence

  • Ensure that arguments are passed to super (#853)
  • Index name option is handled by super, no need to pass options expicitly
  • Handle total hits as an object in search response

Ruby on Rails

  • Convert tests to rspec (#842)
  • Fix seeds file to stop using outdated YAML method (#843)
  • Fixed 03-expert.rb set tracer only in dev env (#621)

6.0.0

  • Update to test against Elasticsearch 6.4
  • Fix sort order on ActiveRecord >= 5. re issue #546 (#831)
Commits
  • f22d97e Release 6.1.1
  • cb5e26b fix: Ruby 2.7 deprecation warning on find_in_batches
  • b552ef5 [CI] Adds GitHub Actions in 6.x
  • f4b27aa Selects bigdecimal gem version
  • 97862b5 Git ignore gemfile.lock files in gemfiles directory
  • 47973d2 Lock elasticsearch client version in elasticsearch-model, update required ruby
  • 06e598b Update versions in travis
  • 7bbe7ec Release 6.1.0
  • a68bbef Ensure that 6.x is in the Compatibility table
  • b2fa5f5 [MODEL] Tweak STI deprecation description
  • Additional commits viewable in compare view

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)

dependabot[bot] avatar Aug 22 '20 05:08 dependabot[bot]