elastic-enterprise-search 8.18.0 → 8.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1edee1a341d229766cc56217bdc48daba826c38285fac78da19f98c4499f007
4
- data.tar.gz: e59f9320edc8874b05b7a42888bc6c8817c4192a9f266bdf5584674c686cb518
3
+ metadata.gz: b4878bae1e0ab42837d33e39cacbf6d8333bf309b0baa2beb8794d047be47aba
4
+ data.tar.gz: '085062e00031f667cb9c741a14331118547731e19126dec7bffecc7792fdd1e5'
5
5
  SHA512:
6
- metadata.gz: d1a70bed65232c5281f1439cfa460cdbd8c10414c73e522e0570d5a900916b4c3685b578256cbb0929b1f2aae574a14e23815b994918f37eba72ede0030c1639
7
- data.tar.gz: e82c1ce74df9f238b3a978291bdf8736d73fc71fa20c028bba039d33b75b01e4c36db676e8d2a5c9177e3e2c0e2f8fe3e73c6b4a72533e0d9c21d49ff4e2f101
6
+ metadata.gz: 59ca805f6240617cc671ff352f596275cbcdd59205019ccd682f3da638e84cfb94177afafc0f368d9ddfbe87ed7a60324d9786bd1ffaa27c773115dce784c800
7
+ data.tar.gz: e010a3c5ae7dcc8139b58fed07252752ac2870bc6d5fe369ca3a27ad1a006ac0c822ca00621af22455fa5cb7a1a078f7e724d27e32916ad57a397c024c108a83
@@ -4,14 +4,13 @@ steps:
4
4
  provider: "gcp"
5
5
  env:
6
6
  RUBY_VERSION: "{{ matrix.ruby }}"
7
- STACK_VERSION: 8.18.0-SNAPSHOT
7
+ STACK_VERSION: 8.19.16-SNAPSHOT
8
8
  matrix:
9
9
  setup:
10
10
  ruby:
11
+ - "4.0"
11
12
  - "3.4"
12
13
  - "3.3"
13
- - "3.2"
14
- - "3.1"
15
14
  command: ./.buildkite/run-tests.sh
16
15
  artifact_paths: "tmp/*"
17
16
  - wait: ~
@@ -8,7 +8,7 @@ jobs:
8
8
  ENDPOINT: http://localhost:8080
9
9
  strategy:
10
10
  matrix:
11
- ruby: ['3.1', '3.2', '3.3', '3.4']
11
+ ruby: ['3.3', '3.4', '4.0']
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
14
  - uses: actions/checkout@v4
@@ -28,7 +28,7 @@ jobs:
28
28
  strategy:
29
29
  fail-fast: false
30
30
  matrix:
31
- ruby: ['jruby-9.3', 'jruby-9.4']
31
+ ruby: ['jruby-9.3', 'jruby-9.4', 'jruby-10.0']
32
32
  runs-on: ubuntu-latest
33
33
  steps:
34
34
  - uses: actions/checkout@v4
data/CHANGELOG CHANGED
@@ -1 +1,22 @@
1
- See https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/release_notes.html
1
+ # 8.19.0 Release notes
2
+
3
+ - Updates `jwt` dependency to `>= 3.2.0` for CVE-2026-45363.
4
+ - Gem `ostruct` required in development for Ruby >= 4.
5
+ - Tested versions of Ruby MRI: `3.3`, `3.4`, `4.0`.
6
+ - Tested versions of JRuby: `9.3`, `9.4`, `10.0`.
7
+
8
+ *Warning - Enterprise Search was discontinued in 9.0*
9
+
10
+ Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
11
+
12
+ We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
13
+ Here are some useful links with more information:
14
+
15
+ * Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
16
+ * Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
17
+
18
+ # 8.18.0 Release notes
19
+
20
+ Final minor release of the client, compatible with Elastic Enterprise Search 8.18.0.
21
+
22
+ For previous versions, see https://www.elastic.co/guide/en/enterprise-search-clients/ruby/current/release_notes.html
data/README.md CHANGED
@@ -5,11 +5,12 @@
5
5
  ![build](https://github.com/elastic/enterprise-search-ruby/workflows/main/badge.svg)
6
6
  [![Build status](https://badge.buildkite.com/a6c44f2af741c866381fb3c845e8d4b0e9b5c5883ef84ac30e.svg)](https://buildkite.com/elastic/enterprise-search-ruby)
7
7
 
8
- > [!WARNING] **Enterprise Search will be discontinued in 9.0.**
9
-
8
+ > [!WARNING]
9
+ > **Enterprise Search was discontinued in 9.0.**
10
+ >
10
11
  > Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
11
12
  > We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
12
-
13
+ >
13
14
  > Here are some useful links with more information:
14
15
  > * Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
15
16
  > * Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
@@ -0,0 +1,19 @@
1
+ [[release_notes_818]]
2
+ === 8.18 Release notes
3
+
4
+ [discrete]
5
+ [[release_notes_8180]]
6
+ === 8.18.0 Release notes
7
+
8
+ Final minor release of the client, compatible with Elastic Enterprise Search 8.18.0.
9
+
10
+ *Warning* - Enterprise Search will be discontinued in 9.0.
11
+
12
+ Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
13
+
14
+ We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
15
+ Here are some useful links with more information:
16
+
17
+ * Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
18
+ * Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
19
+
@@ -0,0 +1,22 @@
1
+ [[release_notes_819]]
2
+ === 8.19 Release notes
3
+
4
+ [discrete]
5
+ [[release_notes_8190]]
6
+ === 8.19.0 Release notes
7
+
8
+ - Updates `jwt` dependency to `>= 3.2.0` for https://github.com/advisories/GHSA-c32j-vqhx-rx3x[CVE-2026-45363]
9
+ - Gem `ostruct` required in development for Ruby >= 4.
10
+ - Tested versions of Ruby MRI: `3.3`, `3.4`, `4.0`.
11
+ - Tested versions of JRuby: `9.3`, `9.4`, `10.0`.
12
+
13
+ *Warning - Enterprise Search was discontinued in 9.0*
14
+
15
+ Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering. They remain supported in their current form in version 8.x and will only receive security upgrades and fixes. Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy: https://www.elastic.co/support/eol
16
+
17
+ We recommend transitioning to our actively developed Elastic Stack (https://www.elastic.co/elastic-stack) tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
18
+ Here are some useful links with more information:
19
+
20
+ * Enterprise Search FAQ: https://www.elastic.co/resources/enterprise-search/enterprise-search-faq
21
+ * Migrating to 9.x from Enterprise Search 8.x versions: https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html
22
+
@@ -4,6 +4,8 @@
4
4
  [discrete]
5
5
  === 8.x
6
6
 
7
+ * <<release_notes_819, 8.19.0 Release Notes>>
8
+ * <<release_notes_818, 8.18.0 Release Notes>>
7
9
  * <<release_notes_89, 8.9.0 Release Notes>>
8
10
  * <<release_notes_88, 8.8.0 Release Notes>>
9
11
  * <<release_notes_87, 8.7.0 Release Notes>>
@@ -27,6 +29,8 @@
27
29
  * <<release_notes_711, 7.11.0 Release Notes>>
28
30
  * <<release_notes_710, 7.10.0.beta.1 Release Notes>>
29
31
 
32
+ include::819.asciidoc[]
33
+ include::818.asciidoc[]
30
34
  include::89.asciidoc[]
31
35
  include::88.asciidoc[]
32
36
  include::87.asciidoc[]
@@ -48,15 +48,16 @@ Gem::Specification.new do |s|
48
48
  s.require_paths = ['lib']
49
49
 
50
50
  s.add_dependency 'elastic-transport', '~> 8.1'
51
- s.add_runtime_dependency 'jwt', '>= 1.5', '< 3.0'
51
+ s.add_runtime_dependency 'jwt', '>= 3.2.0', '< 4.0' # [CVE-2026-45363]
52
52
  s.add_development_dependency 'awesome_print'
53
53
  s.add_development_dependency 'byebug' unless defined?(JRUBY_VERSION)
54
+ s.add_development_dependency 'ostruct'
54
55
  s.add_development_dependency 'rspec', '~> 3.9.0'
55
56
  s.add_development_dependency 'rspec_junit_formatter'
56
57
  s.add_development_dependency 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION) &&
57
58
  Gem::Version.new(JRUBY_VERSION) < Gem::Version.new('9.4')
58
59
  s.add_development_dependency 'vcr'
59
- s.add_development_dependency 'webmock', '>= 3.23.1'
60
+ s.add_development_dependency 'webmock'
60
61
  # Adapters
61
62
  s.add_development_dependency 'faraday-httpclient'
62
63
  s.add_development_dependency 'faraday-net_http_persistent'
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Elastic
21
21
  module EnterpriseSearch
22
- VERSION = '8.18.0'
22
+ VERSION = '8.19.0'
23
23
  end
24
24
  end
@@ -27,7 +27,7 @@ describe Elastic::EnterpriseSearch::WorkplaceSearch::Client do
27
27
 
28
28
  let(:content_source_id) { client.create_content_source(body: { name: 'my_content' }).body['id'] }
29
29
  let(:external_user_id) { 'elastic_user' }
30
- let(:user_properties) { ['attribute_name' => '_elasticsearch_username', 'attribute_value' => 'fernando'] }
30
+ let(:user_properties) { [{ 'attribute_name' => '_elasticsearch_username', 'attribute_value' => 'fernando' }] }
31
31
  let(:body) do
32
32
  { external_user_id: external_user_id, permissions: [], external_user_properties: user_properties }
33
33
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-enterprise-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.18.0
4
+ version: 8.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Briano
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: elastic-transport
@@ -29,20 +29,20 @@ dependencies:
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: '1.5'
32
+ version: 3.2.0
33
33
  - - "<"
34
34
  - !ruby/object:Gem::Version
35
- version: '3.0'
35
+ version: '4.0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: '1.5'
42
+ version: 3.2.0
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
- version: '3.0'
45
+ version: '4.0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: awesome_print
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -71,6 +71,20 @@ dependencies:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
+ - !ruby/object:Gem::Dependency
75
+ name: ostruct
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ type: :development
82
+ prerelease: false
83
+ version_requirements: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
74
88
  - !ruby/object:Gem::Dependency
75
89
  name: rspec
76
90
  requirement: !ruby/object:Gem::Requirement
@@ -133,14 +147,14 @@ dependencies:
133
147
  requirements:
134
148
  - - ">="
135
149
  - !ruby/object:Gem::Version
136
- version: 3.23.1
150
+ version: '0'
137
151
  type: :development
138
152
  prerelease: false
139
153
  version_requirements: !ruby/object:Gem::Requirement
140
154
  requirements:
141
155
  - - ">="
142
156
  - !ruby/object:Gem::Version
143
- version: 3.23.1
157
+ version: '0'
144
158
  - !ruby/object:Gem::Dependency
145
159
  name: faraday-httpclient
146
160
  requirement: !ruby/object:Gem::Requirement
@@ -259,6 +273,8 @@ files:
259
273
  - docs/guide/release_notes/717.asciidoc
260
274
  - docs/guide/release_notes/80.asciidoc
261
275
  - docs/guide/release_notes/81.asciidoc
276
+ - docs/guide/release_notes/818.asciidoc
277
+ - docs/guide/release_notes/819.asciidoc
262
278
  - docs/guide/release_notes/82.asciidoc
263
279
  - docs/guide/release_notes/83.asciidoc
264
280
  - docs/guide/release_notes/84.asciidoc
@@ -488,7 +504,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
488
504
  - !ruby/object:Gem::Version
489
505
  version: '0'
490
506
  requirements: []
491
- rubygems_version: 3.6.2
507
+ rubygems_version: 4.0.12
492
508
  specification_version: 4
493
509
  summary: Official API client for Elastic Enterprise Search
494
510
  test_files: []