denali
denali copied to clipboard
Bump elasticsearch-model from 5.1.0 to 6.1.2
Bumps elasticsearch-model from 5.1.0 to 6.1.2.
Release notes
Sourced from elasticsearch-model's releases.
6.1.1
- Fix: Ruby 2.7 deprecation warning on
find_in_batches
- backport fix from the7.x
release. Fixes #9516.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
... (truncated)
Changelog
Sourced from elasticsearch-model's changelog.
6.1.2
- Updates Bundler.with_clean_dev (deprecated) to with_unbundled_env
6.1.1
- fix: Ruby 2.7 deprecation warning on
find_in_batches
6.1.0
- 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
ActiveModel
... (truncated)
Commits
d6c88ce
Update test0340746
Updates version to 6.1.2, CHANGELOG606f348
Updates Bundler.with_clean_dev (deprecated) to with_unbundled_env92938d8
[CI] Migrates tests to GitHub actions, removes Travis CIcb5e26b
fix: Ruby 2.7 deprecation warning on find_in_batchesb552ef5
[CI] Adds GitHub Actions in 6.xf4b27aa
Selects bigdecimal gem version97862b5
Git ignore gemfile.lock files in gemfiles directory47973d2
Lock elasticsearch client version in elasticsearch-model, update required ruby06e598b
Update versions in travis- Additional commits viewable in compare view
You can trigger a rebase of this PR 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)