Releases: elastic/elasticsearch-rails
v8.0.0.pre
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 indevelopment
andtesting
Gemfile groups. - Minor general code cleanups and styling changes.
- Updated code to for
elasticsearch
8.x.
7.2.1
- The default git branch
master
has been renamed tomain
- Adds compatibility with Ruby 3 Pull Request
7.2.0
- Updates specs and dependency to use with
elasticsearch
v7.14.0. - Update README, remove Virtus (unmaintained)
- Updates
Bundler.with_clean_dev
(deprecated) towith_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
Pre release, backports bugfixes from master. Full CHANGELOG will be published on final release.
7.1.1
6.1.1
7.1.0
7.1.0.pre
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
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 ofinitialize
method (#897
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