Skip to content

Releases: elastic/elasticsearch-rails

v8.0.0.pre

16 Apr 12:08
Compare
Choose a tag to compare
v8.0.0.pre Pre-release
Pre-release

General:

First pre-release for 8.0.0. Major versions of 8.x will support Elasticsearch version 8.x changing the elasticsearch dependency's major version: gem 'elasticsearch', '~> 8'.

All references to type should have been removed. Document types were deprecated and do not exist in 8.x.

The dependency from elasticsearch on elasticsearch-transport was updated to elastic-transport. All 8.x Elasticsearch APIs supported by elasticsearch should now be supported on the Rails library. See Release notes for the Elasticsearch client 8.0 and the 8.x release notes for more information.

Compatibility

The gem is currently testing with Ruby 3.1, 3.2 and 3.3 and JRuby 9.4. Testing for Ruby 2.x versions has been dropped as they're no longer updated or supported. Currently testing with Rails 6.1, 7.0 and 7.1.

Development changes

  • Using debug for debugging in development and testing Gemfile groups.
  • Minor general code cleanups and styling changes.
  • Updated code to for elasticsearch 8.x.

7.2.1

23 Feb 09:09
Compare
Choose a tag to compare
  • The default git branch master has been renamed to main
  • Adds compatibility with Ruby 3 Pull Request

7.2.0

11 Aug 10:09
Compare
Choose a tag to compare
  • Updates specs and dependency to use with elasticsearch v7.14.0.
  • Update README, remove Virtus (unmaintained)
  • Updates Bundler.with_clean_dev (deprecated) to with_unbundled_env commit
  • Deal with nil document types in Multimodel commit
  • Update dependency to explicitly support version 7 commit
  • Stop emitting FATAL log when checking existence of indices commit
  • Remove unnecessary exception test on index checking commit
  • Removes dependency on extensions commit
  • Fixes basic template elasticsearch dependency commit

ActiveModel

  • Fixes indexing to use right logger in client
  • Updates ES client spec for client 7.14.0
  • Updates transport references

7.1.2.pre

10 Mar 12:04
Compare
Choose a tag to compare
7.1.2.pre Pre-release
Pre-release

Pre release, backports bugfixes from master. Full CHANGELOG will be published on final release.

7.1.1

19 Aug 16:20
Compare
Choose a tag to compare
  • Fix: Ruby 2.7 deprecation warning on find_in_batches
  • Updates README for generating app with template. Related: #938

ActiveModel

  • Do not override existing methods (#936)

6.1.1

19 Aug 16:10
Compare
Choose a tag to compare
  • Fix: Ruby 2.7 deprecation warning on find_in_batches - backport fix from the 7.x release. Fixes #951

7.1.0

15 Apr 10:23
Compare
Choose a tag to compare
  • Tested with elasticsearch Ruby client version 7.6.0.
  • Adds pipeline to bulk params (commit).
  • Updates rake version.

7.1.0.pre

08 Apr 12:59
Compare
Choose a tag to compare
7.1.0.pre Pre-release
Pre-release

This is a pre-release, tested with elasticsearch Ruby client version 7.6.0.

Full Changelog details will be published with the final release.

7.0.0

23 Aug 11:50
Compare
Choose a tag to compare

This version of the rails gems supports Elasticsearch 7.0 and Rails 6.

It has the following changes in addition to those in release 7.0.0.pre

  • [MODEL] Fix naming with inheritance when using Proxy (#887)
  • [MODEL] Refactor module/mixin organization for clarity (#893)
  • [MODEL] Only add the document_type to the request if it's defined (#894)
  • [MODEL] Remove support for Single Table Inheritance (STI)
  • Test Rails 6
  • Remove unnecessary self as a return value of initialize method (#897

6.1.0

12 Aug 08:48
Compare
Choose a tag to compare

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)