Skip to content

Commit 555873e

Browse files
committed
[DOCS] Updates docs for 9.0.2, headers
1 parent 0055a4c commit 555873e

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
**See the full release notes on the official documentation website: https://www.elastic.co/docs/release-notes/elasticsearch/clients/ruby**
22

3+
# 9.0.2
4+
5+
- Udpates setting 'Accept' and 'Content-Type' headers as to not duplicate or overwrite user set headers [#2666](https://github.com/elastic/elasticsearch-ruby/pull/2666).
6+
37
# 9.0.1
48

59
- The request headers were updated for Elasticsearch v9: `compatible-with=9` [#2660](https://github.com/elastic/elasticsearch-ruby/pull/2660).
610

711
# 9.0.0
812

9-
Ruby 3.2 and up are tested and supported for 9.0. Older versions of Ruby have reached their end of life. We follow Ruby’s own maintenance policy and officially support all currently maintained versions per [Ruby Maintenance Branches](https://www.ruby-lang.org/en/downloads/branches/). The required Ruby version is set to `2.6` to keep compatibility with JRuby 9.3. However, we only test the code against currently supported Ruby versions.
13+
Ruby 3.2 and up are tested and supported for 9.0. Older versions of Ruby have reached their end of life. We follow Ruby’s own maintenance policy and officially support all currently maintained versions per [Ruby Maintenance Branches](https://www.ruby-lang.org/en/downloads/branches/). The required Ruby version is set to `2.6` to keep compatiblity wit JRuby 9.3. However, we only test the code against currently supported Ruby versions.
1014

1115
## Gem
1216

@@ -53,7 +57,7 @@ client.scroll(body: { scroll_id: scroll_id })
5357

5458
## Testing
5559

56-
The gem `elasticsearch-api` migrated away from the Elasticsearch REST API tests and test runner in CI. We now run the [Elasticsearch Client tests](https://github.com/elastic/elasticsearch-clients-tests/) with the [Elasticsearch Tests Runner](https://github.com/elastic/es-test-runner-ruby). This gives us more control on what we're testing and makes the Buildkite build faster in pull requests and scheduled builds.
60+
The gem `elasticsearch-api` migrated away from the Elasticsearch REST API tests and test runner in CI. We now run the [Elasticsearch Client tests](https://github.com/elastic/elasticsearch-clients-tests/) with the [Elasticsearch Tests Runner](https://github.com/elastic/es-test-runner-ruby). This gives us more control on what we're testing and makes the Buildkite build way faster in Pull Requests and scheduled builds.
5761

5862
## Fixes
5963

docs/release-notes/breaking-changes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Breaking changes can impact your Elastic applications, potentially disrupting no
1414
% **Action**<br> Steps for mitigating deprecation impact.
1515
% ::::
1616

17+
## 9.0.1 [elasticsearch-ruby-client-9.0.1-breaking-changes]
18+
19+
This release fixes an omission in `9.0.0`. The client sends the `Accept` and `Content-Type` headers to Elasticsearch with the value 'application/vnd.elasticsearch+json; compatible-with=9' to ensure compatibility with Elastic Stack 9.0. You can [customize the HTTP headers](/reference/advanced-config.md#custom-http-headers) when instantiating the client or per request. Note that a compatible version is required on both `Content-Type` and `Accept` headers.
20+
1721
## 9.0.0 [elasticsearch-ruby-client-900-breaking-changes]
1822

1923
### Scroll APIs need to send scroll_id in request body

docs/release-notes/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ To check for security updates, go to [Security announcements for the Elastic sta
2020
% ### Fixes [elasticsearch-ruby-client-next-fixes]
2121
% *
2222

23+
## 9.0.2 [elasticsearch-ruby-client-9.0.2-release-notes]
24+
25+
### Fixes [elasticsearch-ruby-client-9.0.2-fixes]
26+
27+
- Udpates setting `Accept` and `Content-Type` headers as to not duplicate or overwrite user set headers [#2666](https://github.com/elastic/elasticsearch-ruby/pull/2666).
28+
2329
## 9.0.1 [elasticsearch-ruby-client-9.0.1-release-notes]
2430

2531
### Fixes [elasticsearch-ruby-client-9.0.1-fixes]

0 commit comments

Comments
 (0)