-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency elasticsearch to v8 #139
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/elasticsearch-8.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
October 3, 2022 02:32
f58b1e9
to
c3456e6
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
November 1, 2022 17:49
c3456e6
to
67eb5e6
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
November 15, 2022 17:55
67eb5e6
to
8f9a9a7
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
November 23, 2022 11:01
8f9a9a7
to
beb0ca6
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
January 10, 2023 20:35
beb0ca6
to
e954e0d
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
March 15, 2023 18:39
e954e0d
to
5b3c17e
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
March 30, 2023 15:16
5b3c17e
to
6725d49
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
May 28, 2023 09:25
6725d49
to
e5bd994
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
November 7, 2023 19:38
dc8f6d2
to
2456cd6
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
January 17, 2024 17:03
2456cd6
to
dfbbe3d
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
January 25, 2024 16:16
dfbbe3d
to
ecee226
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
February 6, 2024 19:14
ecee226
to
78f2e83
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
April 3, 2024 15:38
78f2e83
to
a2fda7f
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
June 6, 2024 17:02
a2fda7f
to
6f50486
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
August 13, 2024 10:39
6f50486
to
41a4b47
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
November 12, 2024 19:52
41a4b47
to
aa507fb
Compare
renovate
bot
force-pushed
the
renovate/elasticsearch-8.x
branch
from
December 11, 2024 18:39
aa507fb
to
0fc913d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
"= 7.17.1"
->"= 8.17.0"
Release Notes
elastic/elasticsearch-ruby (elasticsearch)
v8.17.0
Compare Source
Client
API
API changes
async_search.submit
- Removeskeep_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
- Addsallow_partial_search_results
(Boolean) parameter: Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception (default: false).v8.16.0
Compare Source
Client
API
API changes
capabilities
- Addslocal_only
boolean parameter: True if only the node being called should be considered.cluster.stats
- Removesflat_settings
parameter, addsinclude_remotes
boolean parameter: Include remote cluster data into the response (default: false)indices.get_data_stream
- Addsverbose
boolean parameter: Whether the maximum timestamp for each data stream should be calculated and returned (default: false). Addsmaster_timeout
(see below).query_rules.delete_ruleset
- Acceptsignore: 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.v8.15.0
Compare Source
Client
API changes
snapshot.delete
- Addswait_for_completion
Boolean parameter, should this request wait until the operation has completed before returning.cluster.allocation_explain
-body
is no longer a required parameter.connector.put
- (experimental API)body
andconnector_id
no longer required parameters.machine_learning.update_trained_model_deployment
has been promoted to stable from Beta. Adds Integer parameternumber_of_allocations
, updates the model deployment to this number of allocations.master_timeout
andtimeout
parametersThese 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.The APIs:
autoscaling.delete_autoscaling_policy
- both.autoscaling.get_autoscaling_capacity
-master_timeout
.get_autoscaling_policy
-master_timeout
.put_autoscaling_policy
- both.enrich.delete_policy
-master_timeout
.enrich.execute_policy
-master_timeout
.enrich.get_policy
-master_timeout
.enrich.put_policy
-master_timeout
.enrich.stats
-master_timeout
.features.reset_features
-master_timeout
.license.delete
- both.license.post
- both.license.post_start_basic
- both.license.post_start_trial
- both.security.get_settings
-master_timeout
.security.update_settings
- both.shutdown.get_node
-master_timeout
.snapshot_lifecycle_management.start
- both.snapshot_lifecycle_management.stop
- both.watcher.get_settings
-master_timeout
.watcher.start
-master_timeout
.watcher.stop
-master_timeout
.watcher.update_settings
- both.Inference APIs have been renamed:
inference.delete_model
=>inference.delete
. Also adds two new parameters:dry_run
(Boolean), if true the endpoint will not be deleted and a list of ingest processors which reference this endpoint will be returned.force
(Boolean), if true the endpoint will be forcefully stopped (regardless of whether or not it is referenced by any ingest processors or semantic text fields).inference.get_model
=>inference.get
inference.put_model
=>inference.put
Query Rules parameters consolidated
Changes in
query_ruleset
andquery_rules
APIs, these have been combined into thequery_rules
namespace:query_rules.delete_ruleset
- Renamed fromquery_ruleset.delete
, promoted from experimental to stable.query_rules.delete_rule
- Deletes an individual query rule within a ruleset.query_rules.get_rule
- Returns the details about an individual query rule within a ruleset.query_rules.get_ruleset
- Renamed fromquery_ruleset.get
, promoted from experimental to stable.query_rules.list_rulesets
- Renamed fromquery_ruleset.list
, promoted from experimental to stable.query_rules.put_rule
- Creates or updates a query rule within a ruleset.query_rules.put_ruleset
- Renamed fromquery_ruleset.put_ruleset
, promoted from experimental to stable.New APIs:
ingest.delete_geoip_database
- Deletes a geoip database configuration.ingest.get_geoip_database
- Returns geoip database configuration.ingest.put_geoip_database
- Puts the configuration for a geoip database to be downloaded.security.bulk_delete_role
- Bulk delete roles in the native realm.security.bulk_put_role
- Bulk adds and updates roles in the native realm.security.query_role
- Retrieves information for Roles using a subset of query DSL.transform.get_node_stats
- Retrieves transform usage information for transform nodes.New Experimental APIs:
connector.sync_job_claim
- Claims a connector sync job.connector.update_features
- Updates the connector features in the connector document.Development
v8.14.0
Compare Source
Client
API
API changes:
All Connector APIs have been migrated to one common namespace
connector
:connector_secret.delete
->connector.secret_delete
connector_secret.get
->connector.secret_get
connector_secret.post
->connector.secret_post
connector_secret.put
->connector.secret_put
connector_sync_job.cancel
->connector.sync_job_cancel
connector_sync_job.check_in
->connector.sync_job_check_in
connector_sync_job.delete
->connector.sync_job_delete
connector_sync_job.error
->connector.sync_job_error
connector_sync_job.get
->connector.sync_job_get
connector_sync_job.post
->connector.sync_job_post
connector_sync_job.update_stats
->connector.sync_job_update_stats
connector.delete
- Adds Boolean parameter:delete_sync_jobs
: Determines whether associated sync jobs are also deleted.cross_cluster_replication.delete_auto_follow_pattern
,cross_cluster_replication.follow
,cross_cluster_replication.follow_info
,cross_cluster_replication.get_auto_follow_pattern
,cross_cluster_replication.pause_auto_follow_pattern
,cross_cluster_replication.pause_follow
,cross_cluster_replication.put_auto_follow_pattern
,cross_cluster_replication.resume_auto_follow_pattern
,cross_cluster_replication.resume_follow
,cross_cluster_replication.stats
,cross_cluster_replication.unfollow
- Add Time parameter:master_timeout
: Explicit operation timeout for connection to master node.cross_cluster_replication.follow_stats
,cross_cluster_replication.forget_follower
,cross_cluster_replication.stats
- Add Time parameter:timeout
: Explicit operation timeout.indices/rollover
- Adds Boolean parameter:target_failure
If set to true, the rollover action will be applied on the failure store of the data stream.inference.get_model
- Parameterinference_id
no longer required.search_application.search
- Adds Boolean parameter:typed_keys
: Specify whether aggregation and suggester names should be prefixed by their respective types in the response.security.get_api_key
,security.query_api_keys
- Add Boolean parameter:with_profile_uid
: flag to also retrieve the API Key's owner profile uid, if it exists.New APIs:
profiling.topn_functions
- Extracts a list of topN functions from Universal Profiling.text_structure.find_field_structure
- Finds the structure of a text field in an index.text_structure/find_message_structure
- Finds the structure of a list of messages. The messages must contain data that is suitable to be ingested into Elasticsearch.APIs Migrated from experimental to stable:
esql.async_query
esql.query
New Experimental APIs:
connector.update_active_filtering
- Activates the draft filtering rules if they are in a validated state.connector.update_filtering_validation
- Updates the validation info of the draft filtering rules.v8.13.0
Compare Source
Client
Experimental ES|QL Helper
This version provides a new experimental Helper for the ES|QL
query
API. Please check out the documentation and open an issue if you encounter any problems or have any feedback.API
API Changes:
async_search.status
- adds Time:keep_alive
parameter: Specify the time interval in which the results (partial or final) for this search will be available.bulk
- adds boolean:require_data_stream
parameter: When true, requires the destination to be a data stream (existing or to-be-created). Default is false.connector.list
- Adds the following parameters::index_name
(List): A comma-separated list of connector index names to fetch connector documents for.:connector_name
(List): A comma-separated list of connector names to fetch connector documents for.:service_type
(List): A comma-separated list of connector service types to fetch connector documents for.:query
(String): A search string for querying connectors, filtering results by matching against connector names, descriptions, and index names.esql.query
- adds boolean:drop_null_columns
parameter: Should entirely null columns be removed from the results? Their name and type will be returning in a newall_columns
section.field_caps
- Adds:include_empty_fields
boolean parameter: Include empty fields in result.index
- adds boolean:require_data_stream
parameter: When true, requires the destination to be a data stream (existing or to-be-created). Default is false.indices.rollover
- adds boolean:lazy
parameter: If set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write. Only allowed on data streams.:job_type
parameter: A comma-separated list of job types.inference.delete_model
,inference.get_model
,inference.inference
,inference.put_model
: renames:model_id
parameter to:inference_id
.termvector
will show a warning since it's been deprecated. Please use the plural version,termvectors
.New APIs:
indices.resolve_cluster
- Resolves the specified index expressions to return information about each cluster, including the local cluster, if included.profiling.flamegraph
- Extracts a UI-optimized structure to render flamegraphs from Universal Profiling.profiling.stacktraces
- Extracts raw stacktrace information from Universal Profiling.security.query_user
- Retrieves information for Users using a subset of query DSLtext_structure.test_grok_pattern
- Tests a Grok pattern on some text.APIs Migrated from experimental to stable:
synonyms.delete_synonym
synonyms.delete_synonym_rule
synonyms.get_synonym
synonyms.get_synonym_rule
synonyms.get_synonyms_sets
synonyms.put_synonym
synonyms.put_synonym_rule
New Experimental APIs:
connector.update_api_key_id
- Updates the API key id and/or API key secret id fields in the connector document.connector.update_index_name
- Updates the index name of the connector.connector.update_native
- Updates the is_native flag of the connector.connector.update_service_type
- Updates the service type of the connector.connector.update_status
- Updates the status of the connector.esql.async_query
- Executes an ESQL request asynchronouslyesql.async_query_get
- Retrieves the results of a previously submitted async query request given its ID.New Experimental namespace
connector_secret
:connector_secret.delete
- Deletes a connector secret.connector_secret.get
- Retrieves a secret stored by Connectors.connector_secret.post
- Creates a secret for a Connector.connector_secret.put
- Creates or updates a secret for a Connector.Development
byebug
todebug
.v8.12.2
Compare Source
Drops runtime dependency on
base64
. Thanks Earlopain! Pull Request: #2295.v8.12.1
Compare Source
Adds
base64
dependency: 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.Base64 is used for API key and Cloud ID. The dependency used to be declared in transport, but it's not needed there since the implementation using it is in this codebase. It was removed from transport in the latest patch releases: 8.1.3, 8.2.5 and 8.3.1.
v8.12.0
Compare Source
Client
API
API Changes:
bulk
- Adds boolean:list_executed_pipelines
parameter: Setslist_executed_pipelines
for all incoming documents. Defaults to unset (false).indices.put_settings
- Adds boolean:reopen
parameter: Whether to close and reopen the index to apply non-dynamic settings. If set totrue
the indices to which the settings are being applied will be closed temporarily and then reopened in order to apply the changes. The default isfalse
.open_point_in_time
- Adds Hash:body
parameter: an index_filter specified with the Query DSL.security.get_api_key
- Adds boolean:active_only
parameter: flag to limit response to only active (not invalidated or expired) API keys.New APIs
New API for Universal profiling:
profiling.status
- Returns basic information about the status of Universal Profiling.New experimental API:
simulate.ingest
- Simulates running ingest with example documents. See: https://www.elastic.co/guide/en/elasticsearch/reference/8.12/simulate-ingest-api.htmlConnectors API
Version 8.12 introduces the experimental Connectors API. Use the following APIs to manage connectors:
connector.post
- Creates a connector. See documentationconnector.put
- Creates or updates a connector. See documentationconnector.delete
- Deletes a connector. See documentationconnector.get
- Returns the details about a connector. See documentationconnector.list
- Lists all connectors. See documentationconnector.check_in
- Updates the last_seen timestamp in the connector document. See documentationconnector.update_configuration
- Updates the connector configuration. See documentationconnector.update_error
- Updates the error field in the connector document. See documentationconnector.update_filtering
- Updates the filtering field in the connector document. See documentationconnector.last_sync
- Updates the stats of last sync in the connector document. See documentationconnector.update_name
- Updates the name and/or description fields in the connector document. See documentationconnector.update_pipeline
- Updates the pipeline field in the connector document. See documentationconnector.update_scheduling
- Updates the scheduling field in the connector document. See documentationUse the following APIs to manage sync jobs:
connector_sync_job.cancel
- Cancels a connector sync job. See documentationconnector_sync_job.check_in
- Checks in a connector sync job (refreshes 'last_seen'). See documentationconnector_sync_job.delete
- Deletes a connector sync job. See documentationconnector_sync_job.error
- Sets an error for a connector sync job. See documentationconnector_sync_job.get
- Returns the details about a connector sync job. See documentationconnector_sync_job.list
- Lists all connector sync jobs. See documentationconnector_sync_job.post
- Creates a connector sync job. See documentationconnector_sync_job.update_stats
- Updates the stats fields in the connector sync job document. See documentationv8.11.2
Compare Source
Drops runtime dependency on
base64
. Thanks Earlopain! Pull Request: #2295.v8.11.1
Compare Source
Adds
base64
dependency: 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.Base64 is used for API key and Cloud ID. The dependency used to be declared in transport, but it's not needed there since the implementation using it is in this codebase. It was removed from transport in the latest patch releases: 8.1.3, 8.2.5 and 8.3.1.
v8.11.0
Compare Source
Client
API
New Experimental APIs:
esql.query
- Executes an ESQL request.inference.delete_model
- Delete model in the Inference API.inference.get_model
- Get a model in the Inference API.inference.inference
- Perform inference on a model.inference.put_model
- Configure a model for use in the Inference API.v8.10.0
Compare Source
Client
API
New Experimental APIs, for internal use:
fleet.delete_secret
fleet.get_secret
fleet.post_secret
New stable APIs:
security.get_settings
- Retrieve settings for the security system indicessecurity.update_settings
- Update settings for the security system indicesNew Experimental API:
query_ruleset.list
List query rulesets.API Changes:
indices.reload_search_analyzers
- Adds parameterresource
changed resource to reload analyzers from if applicablePromoted from Experimental to Beta:
security.create_cross_cluster_api_key
security.update_cross_cluster_api_key
Synonyms namespace update:
All synonym related APIs have been moved to the
synonyms
namespace and some of the endpoints have been renamed, as well as their parameters:synonyms.delete
=>synonyms.delete_synonym
- requiresid
, the id of the synonyms set to be deleted.synonyms.get
=>synonyms.get_synonym
- requiresid
, the name of the synonyms set to be retrieved.synonyms_set.get_synonyms_sets
=>synonyms.get_synonyms_sets
synonyms.put
=>synonyms.put_synonym
- requiresid
of the synonyms set to be created or updated.synonym_rule.put
=>synonyms.put_synonym_rule
- Parameters changed toset_id
(the id of the synonym set to be updated with the synonym rule) andrule_id
(the id of the synonym rule to be updated or created).synonyms.delete_synonym_rule
- Deletes a synonym rule in a synonym setsynonyms.get_synonym_rule
- Retrieves a synonym rule from a synonym setv8.9.0
Compare Source
Client
Helpers
This release introduces two new Helpers in the client:
See Helpers to read more about them.
API
New APIs
cluster.info
- Returns different information about the cluster.New Experimental APIs and namespaces:
This functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
query_ruleset
query_ruleset.delete
- Deletes a query ruleset.query_ruleset.get
- Returns the details about a query ruleset.query_ruleset.put
- Creates or updates a query ruleset.search_application.render_query
Renders a query for given search application search parameters.security.create_cross_cluster_api_key
- Creates a cross-cluster API key for API key based remote cluster access.security.upate_cross_cluster_api_key
- Updates attributes of an existing cross-cluster API key.synonyms
synonyms.delete
- Deletes a synonym setsynonyms.get
- Retrieves a synonym setsynonyms.put
- Creates or updates a synonyms setsynonym_rule
synonym_rule.put
- Creates or updates a synonym rule in a synonym setsynonyms
synonyms_set.get
- Retrieves a summary of all defined synonym setsv8.8.0
Compare Source
API
minitest-reporters
to>= 1.6
to include showing failures at the end of the test run.New APIs
watcher.get_settings
- Retrieve settings for the watcher system index.watcher.update_settings
- Update settings for the watcher system index.New Experimental APIs
indices.delete_data_lifecycle
- Deletes the data lifecycle of the selected data streamsindices.explain_data_lifecycle
- Retrieves information about the index's current DLM lifecycle, such as any potential encountered error, time since creation etc.indices.get_data_lifecycle
- Returns the data lifecycle of the selected data streams.indices.put_data_lifecycle
- Updates the data lifecycle of the selected data streams.search_application.delete
- Deletes a search application.search_application.delete_behavioral_analytics
- Delete a behavioral analytics collection.search_application.get
- Returns the details about a search application.search_application.get_behavioral_analytics
- Returns the existing behavioral analytics collections.search_application.list
- Returns the existing search applications.search_application.post_behavioral_analytics_event
- Creates a behavioral analytics event for existing collection.search_application.put
- Creates or updates a search application.search_application.put_behavioral_analytics
- Creates a behavioral analytics collection.search_application.search
- Perform a search against a search application.API Changes
clear_scroll
now works with the argumentignore: 404
. Issue on GitHub.ignore: 404
. APIs that were supposed to support this wouldn't parse the parameters correctly. The support it now:security.get_role
,watcher.delete_watch
cluster.get_component_template
,indices.get_data_stream
,indices.get_index_template
,indices.simulate_index_template
,indices.simulate_template
- Addinclude_defaults
(Boolean) parameter: Return all default configurations for the component template (default: false).machine_learning.put_trained_model
- Addswait_for_completion
(Boolean) parameter: Whether to wait for all child operations(e.g. model download) to complete, before returning or not (default: false).machine_learning.start_trained_model_deployment
- Addsdeployiment_id
(String) parameter: The Id of the new deployment. Defaults to the model_id if not set.search
- Addsinclude_named_queries_score
(Boolean) parameter: Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false).transform.delete_transform
- Addsdelete_dest_index
(Boolean) parameter: Whentrue
, the destination index is deleted together with the transform. The default value isfalse
, meaning that the destination index will not be deleted.v8.7.1
Compare Source
API Bugfix
logstash.get_pipeline
, fixed in the specificationid
is not a required parameter, so removes raisingArgumentError
when id is not present.v8.7.0
Compare Source
New APIs
health_report
- Returns the health of the cluster.transform.schedule_now_transform
- Schedules now a transform.API Changes
transform.get_transform_stats
- Addstimeout
(Time) parameter. Controls the time to wait for the stats.transform.start_transform
- Addsfrom
(String) parameter. Restricts the set of transformed entities to those changed after this time.ml.delete_job
,ml.reset_job
- Adddelete_user_annotations
(Boolean) parameter. Should annotations added by the user be deleted.ml.clear_trained_model_deployment_cache
,ml.infer_trained_model
,ml.put_trained_model_definition_part
,ml.put_trained_model_vocabulary
,ml.start_trained_model_deployment
,ml.stop_trained_model_deployment
- These APIs are no longer in Beta.v8.6.0
Compare Source
New APIs
update_trained_model_deployment
- Updates certain properties of trained model deployment (This functionality is in Beta and is subject to change).API Changes
cluster.reroute
-:metric
parameter addsnone
as an option.ml.start_trained_model_deployment
- New parameter:priority
(String), the deployment priorityv8.5.2
Compare Source
API Bugfix
Fixes
security.create_service_token
API, usesPOST
when token name isn't present.Thanks @carlosdelest for reporting in #1961.
v8.5.1
Compare Source
Bugfix
Fixes bug when instantiating client with
api_key
: When passing inapi_key
andtransport_options
that don't include headers to the client, theapi_key
code would overwrite the arguments passed in fortransport_options
. This was fixed in this Pull Request.Thanks svdasein for reporting in #1940.
v8.5.0
Compare Source
Client
With the latest release of
elastic-transport
-v8.1.0
- this gem now supports Faraday v2. Elasticsearch Ruby has an open dependency onelastic-transport
('elastic-transport', '~> 8'
), so when you upgrade your gems,8.1.0
will be installed. This supports both Faraday v1 and Faraday v2. The main change on dependencies when using Faraday v2 is all adapters, except for the defaultnet_http
one, have been moved out of Faraday into separate gems. This means if you're not using the default adapter and you migrate to Faraday v2, you'll need to add the adapter gems to your Gemfile.These are the gems required for the different adapters with Faraday 2, instead of the libraries on which they were based:
v8.4.0
Compare Source
API
New APIs
security.update_api_key
- Updates attributes of an existing API key. Documentation.API Changes
get
- Adds new parameterforce_synthetic_source
(Boolean) Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.machine_learning.start_trained_model_deployment
- Adds new parametercache_size
(String) A byte-size value for configuring the inference cache size. For example, 20mb.mget
- Adds new parameterforce_synthetic_source
(Boolean) Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.search
- Adds new parameterforce_synthetic_source
(Boolean) Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.snapshot.get
- Adds new parameters:sort
(String) Allows setting a sort order for the result. Defaults to start_time (options: start_time, duration, name, repository, index_count, shard_count, failed_shard_count).size
(Integer) Maximum number of snapshots to return. Defaults to 0 which means return all that match without limit.order
(String) Sort order (options: asc, desc).from_sort_value
(String) Value of the current sort column at which to start retrieval.after
(String) Offset identifier to start pagination from as returned by the 'next' field in the response body.offset
(Integer) Numeric offset to start pagination based on the snapshots matching the request. Defaults to 0.slm_policy_filter
(String) Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Accepts wildcards. Use the special pattern '_none' to match snapshots without an SLM policy.v8.3.0
Compare Source
API
API Changes
cluster.delete_voting_config_exclusions
,cluster.post_voting_config_exclusions
- Add new parametermaster_timeout
(Time) Timeout for submitting request to master.machine_learning.infer_trained_model_deployment
is renamed tomachine_learning.infer_trained_model
. The url/_ml/trained_models/{model_id}/deployment/_infer
is deprecated since 8.3, use/_ml/trained_models/{model_id}/_infer
instead.machine_learning.preview_datafeed
- Adds new parameters:start
(String) The start time from where the datafeed preview should beginend
(String) The end time when the datafeed preview should stopmachine_learning.start_trained_model_deployment
- Adds new parameters:number_of_allocations
(Integer) The number of model allocations on each node where the model is deployed.threads_per_allocation
(Integer) The number of threads used by each model allocation during inference.queue_capacity
(Integer) Controls how many inference requests are allowed in the queue at a time.search_mvt
- Adds new parameter:with_labels
(Boolean) If true, the hits and aggs layers will contain additional point features with suggested label positions for the original featuressnapshot.get
- Adds new parameter:index_names
(Boolean) Whether to include the name of each index in the snapshot. Defaults to true.New Experimental APIs
security.has_privileges_user_profile
Determines whether the users associated with the specified profile IDs have all the requested privilegesv8.2.2
Compare Source
elastic-transport
to~> 8.0
v8.2.0
Compare Source
API
Updated for compatibility with Elasticsearch 8.2's API.
New parameters:
field_caps
filters
An optional set of filters: can include +metadata,-metadata,-nested,-multifield,-parenttypes
Only return results for fields that have one of the types in the listNew APIs:
cat.component_templates
- Returns information about existing component_templates templates.ml.get_memory_stats
- Returns information on how ML is using memory.New Experimental APIs:
security.activate_user_profile
- Creates or updates the user profile on behalf of another user.security.disable_user_profile
- Disables a user profile so it's not visible in user profile searches.security.enable_user_profile
- Enables a user profile so it's visible in user profile searches.security.get_user_profile
- Retrieves a user profile for the given unique ID.security.suggest_user_profiles
- Get suggestions for user profiles that match specified search criteria.security.update_user_profile_data
- Update application specific data for the user profile of the given unique ID.v8.1.2
Compare Source
API
arguments.clone
in the generated code was changed. This would make it so that we would modify the parameters passed in before cloning them, which is undesired. Issue: #1727.v8.1.0
Compare Source
API
Updated for compatibility with Elasticsearch 8.1's API.
New parameters:
indices.forcemerge
-wait_for_completion
Should the request wait until the force merge is completed.indices.get
-features
Return only information on specified index features (options: aliases, mappings, settings).ingest.put_pipeline
if_version
(Integer), required version for optimistic concurrency control for pipeline updates.ml.delete_trained_model
-timeout
controls the amount of time to wait for the model to be deleted.force
(Boolean) true if the model should be forcefully deleted.ml.stop_trained_model_deployment
-allow_no_match
whether to ignore if a wildcard expression matches no deployments. (This includes_all
string or when no deployments have been specified).force
true if the deployment should be forcefully stopped. Addsbody
parameter, the stop deployment parameters.nodes.hot_threads
-sort
the sort order for 'cpu' type (default: total) (options: cpu, total)Updated parameters:
indices.get_index_template
-name
is now a String, a pattern that returned template names must match.knn_search
-index
removes option to use empty string to perform the operation on all indices.ml.close_job
,ml.get_job_stats
,ml.get_jobs
,ml.get_overall_buckets
- Removeallow_no_jobs
parameter.ml.get_datafeed_stats
,ml.get_datafeeds
- Removeallow_no_datafeeds
parameter.nodes.hot_threads
-type
parameter addsmem
option.nodes.info
-metric
updated to use_all
to retrieve all metrics and_none
to retrieve the node identity without any additional metrics. (options: settings, os, process, jvm, thread_pool, transport, http, plugins, ingest, indices, aggregations, _all, _none).index_metric
optionshards
changes toshard_stats
.open_point_in_time
-keep_alive
is now a required parameter.search_mvt
-grid_type
parameter addscentroid
option in addition togrid
andpoint
.New experimental APIs, designed for internal use by the fleet server project:
fleet.search
,fleet.msearch
.New APIs
security.oidc_authenticate
,security.oidc_logout
,security.oidc_prepare_authentication
.transform.reset_transform
.v8.0.1
Compare Source
API
arguments.clone
in the generated code was changed. This would make it so that we would modify the parameters passed in before cloning them, which is undesired. Issue: #1727.v8.0.0
Compare Source
First release for the
8.x
branch with a few major changes.Client
Elastic Transport
The code for the dependency
elasticsearch-transport
has been promoted to its own repository and the project and gem have been renamed toelastic-transport
. This gem now powerselasticsearch
andelastic-enterprise-search
. Theelasticsearch-transport
gem won't be maintained after the last release in the7.x
branch, in favour ofelastic-transport
.This will allow us to better address maintainance in both clients and the library itself.
API
The
elasticsearch-api
library has been generated based on the Elasticsearch 8.0.0 REST specification.X-Pack Deprecation
X-Pack has been deprecated. The
elasticsearch-xpack
gem will no longer be maintained after the last release in the7.x
branch. The "X-Pack" integration library codebase was merged intoelasticsearch-api
. All the functionality is available fromelasticsearch-api
. Thexpack
namespace was removed for accessing any APIs other than_xpack
(client.xpack.info
) and_xpack/usage
(client.xpack.usage
). But APIs which were previously available through thexpack
namespace e.g.:client.xpack.machine_learning
are now only available directly:client.machine_learning
.Parameter checking was removed
The code in
elasticsearch-api
will no longer validate all the parameters sent. It will only validate the required parameters such as those needed to build the path for the request. But other API parameters are going to be validated by Elasticsearch. This provides better forwards and backwards compatibility in the client.Response object
In previous versions of the client, calling an API endpoint would return the JSON body of the response. With
8.0
, we are returning a new Response objectElasticsearch::API::Response
. It still behaves like a Hash to maintain backwards compatibility, but adds thestatus
andheaders
methods from theElastic::Transport:Transport::Response
object:Please let us know if you find any issues.
v7.17.11
Compare Source
base64
dependency toelasticsearch-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, #2400v7.17.10
Compare Source
Backports support for Faraday 2 from
elastic-transport
. ¡Gracias santiagorodriguez96!This version of the gem now supports Faraday v2. If you don't have a locked version of Faraday in your project, when you upgrade your gems, Faraday v2 will be installed. The main change on dependencies when using Faraday v2 is all adapters, except for the default
net_http
one, have been moved out of Faraday into separate gems. This means if you're not using the default adapter and you migrate to Faraday v2, you'll need to add the adapter gems to your Gemfile.These are the gems required for the different adapters with Faraday 2, instead of the libraries on which they were based:
Things should work fine if you migrate to Faraday 2 as long as you include the adapter (unless you're using the default one
net-http
), but worst case scenario, you can always lock the version of Faraday in your project to 1.x:gem 'faraday', '~> 1'
Be aware if migrating to Faraday v2 that it requires at least Ruby
2.6
, unlike Faraday v1 which requires2.4
.Troubleshooting
If you see a message like:
:adapter is not registered on Faraday::Adapter (Faraday::Error)
Then you probably need to include the adapter library in your gemfile and require it.
Please submit an issue if you encounter any problems.
v7.17.9
Compare Source
elastic-transport
: #66 - Manticore transport unable to send custom headers withperform_request
Pull Request.v7.17.8
Compare Source
v7.17.7
: 7.17.7Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.