diff --git a/.buildkite/log-results.sh b/.buildkite/log-results.sh index 85963fa432..9481b6b5ce 100755 --- a/.buildkite/log-results.sh +++ b/.buildkite/log-results.sh @@ -14,9 +14,11 @@ for f in $files; do " - FAILED_TESTS=`grep "E," $f` + FAILED_TESTS=`grep -A1 "E,.*" $f` if [[ -n "$FAILED_TESTS" ]]; then - buildkite-agent annotate --append "#### Failures in $f " - buildkite-agent annotate --append `grep "E," $f | awk -F '-- :' '{print $2}'` + buildkite-agent annotate --append "Failures in $f + +$FAILED_TESTS +" fi done diff --git a/CHANGELOG.md b/CHANGELOG.md index 257dcea000..ac3416994b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,72 @@ *See the full release notes on the official documentation website: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/release_notes.html* +## 8.17.0 Release notes + +### Client +* Tested versions of Ruby for 8.17.0: Ruby (MRI) 3.1, 3.2 and 3.3. JRuby 9.3 and JRuby 9.4. + +### API + +#### API changes +* `async_search.submit` - Removes `keep_alive` parameter. Adds: + * `ccs_minimize_roundtrips` (Boolean): When doing a cross-cluster search, setting it to true may improve overall search latency, particularly when searching clusters with a large number of shards. However, when set to true, the progress of searches on the remote clusters will not be received until the search finishes on all clusters. + * `rest_total_hits_as_int` (Boolean): Indicates whether hits.total should be rendered as an integer or an object in the rest search response. +* `open_point_in_time` - Adds `allow_partial_search_results` (Boolean) parameter: Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception (default: false). + + +## 8.16.0 Release notes + +### Client +* Tested versions of Ruby for 8.16.0: Ruby (MRI) 3.1, 3.2 and 3.3. JRuby 9.3 and JRuby 9.4. + +### API + +#### API changes + +* `capabilities` - Adds `local_only` boolean parameter: True if only the node being called should be considered. +* `cluster.stats`- Removes `flat_settings` parameter, adds `include_remotes` boolean parameter: Include remote cluster data into the response (default: false) +* `indices.get_data_stream` - Adds `verbose` boolean parameter: Whether the maximum timestamp for each data stream should be calculated and returned (default: false). Adds `master_timeout` (see below). +* `query_rules.delete_ruleset` - Accepts `ignore: 404` common parameter. + +##### Timeout parameters: + +These parameters have been added to several APIs: + +* `master_timeout` timeout for processing on master node. +* `timeout` timeout for acknowledgement of update from all nodes in cluster parameters. + +Added in: + +* `indices.create_data_stream` - both. +* `indices.delete_data_stream` - `master_timeout`. +* `indices.get_data_lifecycle` - `master_timeout`. +* `indices.get_data_stream` - `master_timeout`. +* `indices.migrate_to_data_stream` - both. +* `indices.promote_data_stream` - `master_timeout`. +* `search_shards` - `master_timeout`. + +#### APIs Promoted from Experimental to Stable: + +* `indices.delete_data_lifecycle` +* `indices.explain_data_lifecycle` +* `indices.get_data_lifecycle` +* `indices.put_data_lifecycle` +* `security.create_cross_cluster_api_key` +* `security.update_cross_cluster_api_key` + +#### New APIs + +* `ingest.delete_ip_location_database` - Deletes an ip location database configuration. +* `ingest.get_ip_location_database` - Returns the specified ip location database configuration. +* `ingest.put_ip_location_database` - Puts the configuration for a ip location database to be downloaded. + + +#### New Experimental APIs + +* `inference.stream_inference` - Perform streaming inference. +* `query_rules.test` - Tests a query ruleset to identify the rules that would match input criteria. + + ## 8.15.0 Release notes ### Client diff --git a/docs/release_notes/816.asciidoc b/docs/release_notes/816.asciidoc new file mode 100644 index 0000000000..c32e719f57 --- /dev/null +++ b/docs/release_notes/816.asciidoc @@ -0,0 +1,57 @@ +[[release_notes_8_16]] +=== 8.16 Release notes + +[discrete] +[[release_notes_8_16_0]] +=== 8.16.0 Release notes + +[discrete] +==== Client +* Tested versions of Ruby for 8.16.0: Ruby (MRI) 3.1, 3.2 and 3.3. JRuby 9.3 and JRuby 9.4. + +[discrete] +==== API + +[discrete] +===== API changes + +* `capabilities` - Adds `local_only` boolean parameter: True if only the node being called should be considered. +* `cluster.stats`- Removes `flat_settings` parameter, adds `include_remotes` boolean parameter: Include remote cluster data into the response (default: false). +* `indices.get_data_stream` - Adds `verbose` boolean parameter: Whether the maximum timestamp for each data stream should be calculated and returned (default: false). Adds `master_timeout` (see below). +* `query_rules.delete_ruleset` - Accepts `ignore: 404` common parameter. + +These parameters have been added to several APIs: + +* `master_timeout` timeout for processing on master node. +* `timeout` timeout for acknowledgement of update from all nodes in cluster parameters. + +Added in: + +* `indices.create_data_stream` - both. +* `indices.delete_data_stream` - `master_timeout`. +* `indices.get_data_lifecycle` - `master_timeout`. +* `indices.get_data_stream` - `master_timeout`. +* `indices.migrate_to_data_stream` - both. +* `indices.promote_data_stream` - `master_timeout`. +* `search_shards` - `master_timeout`. + +**APIs Promoted from Experimental to Stable:** + +* `indices.delete_data_lifecycle` +* `indices.explain_data_lifecycle` +* `indices.get_data_lifecycle` +* `indices.put_data_lifecycle` +* `security.create_cross_cluster_api_key` +* `security.update_cross_cluster_api_key` + +**New APIs** + +* `ingest.delete_ip_location_database` - Deletes an ip location database configuration. +* `ingest.get_ip_location_database` - Returns the specified ip location database configuration. +* `ingest.put_ip_location_database` - Puts the configuration for a ip location database to be downloaded. + + +**New Experimental APIs** + +* `inference.stream_inference` - Perform streaming inference. +* `query_rules.test` - Tests a query ruleset to identify the rules that would match input criteria. diff --git a/docs/release_notes/817.asciidoc b/docs/release_notes/817.asciidoc new file mode 100644 index 0000000000..2963eeb0d1 --- /dev/null +++ b/docs/release_notes/817.asciidoc @@ -0,0 +1,20 @@ +[[release_notes_8_17]] +=== 8.17 Release notes + +[discrete] +[[release_notes_8_17_0]] +=== 8.17.0 Release notes + +[discrete] +==== Client +* Tested versions of Ruby for 8.17.0: Ruby (MRI) 3.1, 3.2 and 3.3. JRuby 9.3 and JRuby 9.4. + +[discrete] +==== API + +[discrete] +===== API changes +* `async_search.submit` - Removes `keep_alive` parameter. Adds: +** `ccs_minimize_roundtrips` (Boolean): When doing a cross-cluster search, setting it to true may improve overall search latency, particularly when searching clusters with a large number of shards. However, when set to true, the progress of searches on the remote clusters will not be received until the search finishes on all clusters. +** `rest_total_hits_as_int` (Boolean): Indicates whether hits.total should be rendered as an integer or an object in the rest search response. +* `open_point_in_time` - Adds `allow_partial_search_results` (Boolean) parameter: Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception (default: false). diff --git a/docs/release_notes/index.asciidoc b/docs/release_notes/index.asciidoc index 2c6223c830..3b2ef35788 100644 --- a/docs/release_notes/index.asciidoc +++ b/docs/release_notes/index.asciidoc @@ -3,6 +3,9 @@ [discrete] === 8.x + +* <> +* <> * <> * <> * <> @@ -37,6 +40,8 @@ * <> * <> +include::817.asciidoc[] +include::816.asciidoc[] include::815.asciidoc[] include::814.asciidoc[] include::813.asciidoc[] diff --git a/elasticsearch-api/spec/yaml-test-runner/run.rb b/elasticsearch-api/spec/yaml-test-runner/run.rb index 53ea8ea134..d1896627f6 100644 --- a/elasticsearch-api/spec/yaml-test-runner/run.rb +++ b/elasticsearch-api/spec/yaml-test-runner/run.rb @@ -70,4 +70,6 @@ current_branch = `git rev-parse --abbrev-ref HEAD`.strip branch = current_branch.match(/[0-9]\.[0-9]+/)&.[](0) || ENV['ES_YAML_TESTS_BRANCH'] || nil Elasticsearch::Tests::Downloader::run(tests_path, branch) -Elasticsearch::Tests::TestRunner.new(CLIENT, tests_path, logger).run(ENV['SINGLE_TEST'] || []) +runner = Elasticsearch::Tests::TestRunner.new(CLIENT, tests_path, logger) +runner.add_tests_to_skip('knn_search.yml') # TODO: Extract into file +runner.run(ENV['SINGLE_TEST'] || [])