Skip to content

Commit

Permalink
Release 8.0.0.pre
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Apr 16, 2024
1 parent 18fa01d commit d3e4937
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
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 @@ -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

0 comments on commit d3e4937

Please sign in to comment.