From de4d4cb19d62539d74517ca11e30c8735563ea8d Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 3 Jun 2024 15:31:41 +0100 Subject: [PATCH 1/4] [CI] Adds Ruby 3.3 to Buildkite build --- .buildkite/pipeline.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 733f2cbbf4..fef3dad836 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -12,6 +12,7 @@ steps: - "free" - "platinum" ruby: + - "3.3" - "3.2" - "3.1" - "3.0" @@ -31,11 +32,11 @@ steps: - with: stack_version: "8.14.0-SNAPSHOT" suite: "free" - ruby: "3.2" + ruby: "3.3" - with: stack_version: "8.14.0-SNAPSHOT" suite: "platinum" - ruby: "3.2" + ruby: "3.3" command: ./.buildkite/run-tests.sh artifact_paths: "elasticsearch-api/tmp/*" - wait: ~ From a65c576815ff1c62c4f6b1a6c3d936f0b99ce479 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 3 Jun 2024 15:31:52 +0100 Subject: [PATCH 2/4] Bumps version to 7.17.11 --- elasticsearch-api/lib/elasticsearch/api/version.rb | 2 +- .../lib/elasticsearch/transport/version.rb | 2 +- elasticsearch-xpack/lib/elasticsearch/xpack/version.rb | 2 +- elasticsearch/elasticsearch.gemspec | 4 ++-- elasticsearch/lib/elasticsearch/version.rb | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/elasticsearch-api/lib/elasticsearch/api/version.rb b/elasticsearch-api/lib/elasticsearch/api/version.rb index 515c5533e0..b94c68adfa 100644 --- a/elasticsearch-api/lib/elasticsearch/api/version.rb +++ b/elasticsearch-api/lib/elasticsearch/api/version.rb @@ -17,6 +17,6 @@ module Elasticsearch module API - VERSION = '7.17.10'.freeze + VERSION = '7.17.11'.freeze end end diff --git a/elasticsearch-transport/lib/elasticsearch/transport/version.rb b/elasticsearch-transport/lib/elasticsearch/transport/version.rb index 9ee6c86332..932e57e163 100644 --- a/elasticsearch-transport/lib/elasticsearch/transport/version.rb +++ b/elasticsearch-transport/lib/elasticsearch/transport/version.rb @@ -17,6 +17,6 @@ module Elasticsearch module Transport - VERSION = '7.17.10'.freeze + VERSION = '7.17.11'.freeze end end diff --git a/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb b/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb index ff8a4f987c..d186933448 100644 --- a/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb +++ b/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb @@ -17,6 +17,6 @@ module Elasticsearch module XPack - VERSION = '7.17.10'.freeze + VERSION = '7.17.11'.freeze end end diff --git a/elasticsearch/elasticsearch.gemspec b/elasticsearch/elasticsearch.gemspec index 9debcefbd1..8580e6fcf6 100644 --- a/elasticsearch/elasticsearch.gemspec +++ b/elasticsearch/elasticsearch.gemspec @@ -45,8 +45,8 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.4' - s.add_dependency 'elasticsearch-transport', '7.17.10' - s.add_dependency 'elasticsearch-api', '7.17.10' + s.add_dependency 'elasticsearch-transport', '7.17.11' + s.add_dependency 'elasticsearch-api', '7.17.11' s.add_development_dependency 'bundler' s.add_development_dependency 'byebug' unless defined?(JRUBY_VERSION) || defined?(Rubinius) diff --git a/elasticsearch/lib/elasticsearch/version.rb b/elasticsearch/lib/elasticsearch/version.rb index 11b2e55064..a03fff7295 100644 --- a/elasticsearch/lib/elasticsearch/version.rb +++ b/elasticsearch/lib/elasticsearch/version.rb @@ -16,5 +16,5 @@ # under the License. module Elasticsearch - VERSION = '7.17.10'.freeze + VERSION = '7.17.11'.freeze end From fd84e6ff2005bde1b764075f5eff6f267cb2f885 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 3 Jun 2024 15:34:20 +0100 Subject: [PATCH 3/4] [DOCS] Updates Release notes --- CHANGELOG.md | 5 +++++ docs/release_notes/717.asciidoc | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfe41c3445..3497cf6f88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 7.17.11 + +- Ruby 3.3 added to the test matrix. Tested versions of Ruby for 7.17.11: Ruby (MRI) 3.0, 3.1, 3.2, 3.3, JRuby 9.3, JRuby 9.4. +- Adds `base64` dependency to `elasticsearch-transport`: base64 was added to the gemspec, since starting in Ruby 3.4.0, base64 will no longer be part of the default gems and will no longer be in the standard library, [#2400](https://github.com/elastic/elasticsearch-ruby/pull/2400) + ## 7.17.10 Backports support for Faraday 2 from `elastic-transport`. ¡Gracias [santiagorodriguez96](https://github.com/santiagorodriguez96)! diff --git a/docs/release_notes/717.asciidoc b/docs/release_notes/717.asciidoc index a76a13113b..afe950d3d6 100644 --- a/docs/release_notes/717.asciidoc +++ b/docs/release_notes/717.asciidoc @@ -1,6 +1,13 @@ [[release_notes_717]] === 7.17 Release notes +[discrete] +[[release_notes_71711]] +=== 7.17.11 Release notes + +- Ruby 3.3 added to the test matrix. Tested versions of Ruby for 7.17.11: Ruby (MRI) 3.0, 3.1, 3.2, 3.3, JRuby 9.3, JRuby 9.4. +- Adds `base64` dependency to `elasticsearch-transport`: base64 was added to the gemspec, since starting in Ruby 3.4.0, base64 will no longer be part of the default gems and will no longer be in the standard library, https://github.com/elastic/elasticsearch-ruby/pull/2400[#2400]. + [discrete] [[release_notes_71710]] === 7.17.10 Release notes From ade275c3a181c3b6059ec1d7417a8fb3eaf717a8 Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Mon, 3 Jun 2024 16:58:15 +0100 Subject: [PATCH 4/4] [CI][DOCS] Adds GitHub Action for docs validation comment --- .github/workflows/docs-preview.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/docs-preview.yml diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml new file mode 100644 index 0000000000..5164d643bc --- /dev/null +++ b/.github/workflows/docs-preview.yml @@ -0,0 +1,20 @@ +--- +name: docs-preview + +on: + pull_request_target: + types: [opened] + +permissions: + pull-requests: write + +jobs: + doc-preview-pr: + runs-on: ubuntu-latest + steps: + - uses: elastic/docs/.github/actions/docs-preview@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + repo: ${{ github.event.repository.name }} + preview-path: 'guide/en/elasticsearch/client/ruby-api/index.html' + pr: ${{ github.event.pull_request.number }}