Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.0.0.pre #1078

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 8.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](https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/release_notes_80.html) and the [8.x release notes](https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/release_notes.html#_8_x) 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

* The default git branch `master` has been renamed to `main`
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch-model/lib/elasticsearch/model/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

module Elasticsearch
module Model
VERSION = '8.0.0'.freeze
VERSION = '8.0.0.pre'.freeze
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Gem::Specification.new do |s|
s.add_dependency 'activemodel', '> 4'
s.add_dependency 'activesupport', '> 4'
s.add_dependency 'elasticsearch', '~> 8'
s.add_dependency 'elasticsearch-model', '8'
s.add_dependency 'elasticsearch-model', '8.0.0.pre'
s.add_dependency 'hashie'

s.add_development_dependency 'bundler'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

module Elasticsearch
module Persistence
VERSION = '8.0.0'.freeze
VERSION = '8.0.0.pre'.freeze
end
end
2 changes: 1 addition & 1 deletion elasticsearch-rails/lib/elasticsearch/rails/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

module Elasticsearch
module Rails
VERSION = '8.0.0'.freeze
VERSION = '8.0.0.pre'.freeze
end
end
Loading