Skip to content

Commit 3161796

Browse files
committed
[DOCS] Updates docs for 9.0.2, headers
1 parent d8d428c commit 3161796

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-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.
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ navigation_title: "Breaking changes"
33
---
44

55
# Elasticsearch Ruby Client breaking changes [elasticsearch-ruby-client-breaking-changes]
6+
67
Breaking changes can impact your Elastic applications, potentially disrupting normal operations. Before you upgrade, carefully review the Elasticsearch Ruby Client breaking changes and take the necessary steps to mitigate any issues. To learn how to upgrade, check [Upgrade](docs-content://deploy-manage/upgrade.md).
78

89
% ## Next version [elasticsearch-ruby-client-nextversion-breaking-changes]
@@ -14,6 +15,10 @@ Breaking changes can impact your Elastic applications, potentially disrupting no
1415
% **Action**<br> Steps for mitigating deprecation impact.
1516
% ::::
1617

18+
## 9.0.1 [elasticsearch-ruby-client-9.0.1-breaking-changes]
19+
20+
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.
21+
1722
## 9.0.0 [elasticsearch-ruby-client-900-breaking-changes]
1823

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

docs/release-notes/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ 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+
- Udpates setting `Accept` and `Content-Type` headers as to not duplicate or overwrite user set headers.
26+
2327
## 9.0.1 [elasticsearch-ruby-client-9.0.1-release-notes]
2428

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

0 commit comments

Comments
 (0)