Skip to content

Releases: elastic/elasticsearch-rails

v8.0.0

30 May 15:26
Compare
Choose a tag to compare

First general availability 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.

Changes since 8.0.0.pre

  • Address Rails 7.1 deprecation warning in elasticsearch-rails PR
  • Ensure subclasses are added to the registry PR

Development changes

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

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