Skip to content

Update dependency elasticsearch to v9 #884

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

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
elasticsearch <9.0.0,>=8.17.1 -> <9.1.0,>=9.0.1 age adoption passing confidence

Release Notes

elastic/elasticsearch-py (elasticsearch)

v9.0.1: 9.0.1

Compare Source

  • Surface caused_by in ApiError (#​2932)
  • Clarify Elasticsearch 9.x compatibility (#​2928)
  • Reorganize Sphinx docs to only include reference pages (#​2776)

v9.0.0: 9.0.0

Compare Source

[!IMPORTANT]
Upgrade to Elasticsearch 9 before using elasticsearch-py 9.0.0 or later. Using elasticsearch-py 9.0.0 on an Elasticsearch 8 server will fail.
Since language clients are forward-compatible, you should first upgrade Elasticsearch, then the Elasticsearch client. See the compatibility documentation for more details.

  • Remove deprecated Elasticsearch() options (#​2840)
  • Remove deprecated url_prefix and use_ssl options (#​2797)
  • Merge Elasticsearch-DSL package (#​2736)
  • Add Python DSL documentation (#​2761)
  • Autogenerate DSL field classes from schema (#​2780)
  • Improve DSL documentation examples with class-based queries and type hints (#​2857)
  • Document the use of param() in Python DSL methods (#​2861)
  • Migrate documentation from AsciiDoc to Markdown format (#​2806)
  • Document use of sub-clients (#​2798)
  • Document how to making API calls (#​2843)
  • Fix simulate sub-client documentation (#​2749)
  • Update APIs
    • Remove Unfreeze an index API
    • Remove min_compatible_shard_node from Search and Async Search Submit APIs
    • Remove local parameter from cat alias, Alias exists, and Get alias APIs
    • Remove verbose from Index segments API
    • Remove include_model_definition from Get trained model configuration info API
    • Remove wait_for_active_shards from experimental Get field usage stats API
    • Support soft-deletes in connectors:
      • Add hard to Delete connector API
      • Add include_deleted to Get and List Connector APIs
    • Add master_timeout to Migrate to data tiers routing APIs
    • Add master_timeout to the Alias exists and Get alias APIs.
    • Add expand_wildcards to Create snapshot API
    • Rename incorrect access_token to token in Logout of OpenID Connect API
    • Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
    • Add Reindex legacy backing indices APIs
    • Add Create an index from a source index API
    • Add include_source_on_error to Create, Index, Update and Bulk APIs
    • Add Stop async ES|QL query API
    • Add timeout to Resolve Cluster API
    • Add adaptive_allocations body field to Start and Update a trained model deployment API
    • Rename index_template_subtitutions to index_template_substitutions in Simulate data ingestion API* Add if_primary_term, if_seq_no, op_type, require_alias and require_data_stream to Create API
    • Add max_concurrent_shard_requests to Open point in time API
    • Add local and flat_settings to Check index templates API
    • Add reopen to Update index settings API
    • Add resource to Reload search analyzer API
    • Add lazy to Roll over to a new index API
    • Add cause and create to Simulate index template APIs
    • Add Elastic Inference Service (EIS) chat completion
    • Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elastic Inference Service (EIS), Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
  • Update DSL
    • Add ignore_malformed, script, on_script_error and time_series_dimension to Boolean field
    • Add index to GeoShape field
    • Add search_inference_id to SemanticText field

v8.18.0: 8.18.0

Compare Source

  • Merge Elasticsearch-DSL <https://github.com/elastic/elasticsearch-dsl-py/>_ package (#​2736)
  • Add Python DSL documentation (#​2761)
  • Autogenerate DSL field classes from schema (#​2780)
  • Improve DSL documentation examples with class-based queries and type hints (#​2857)
  • Document the use of param() in Python DSL methods (#​2861)
  • Document use of sub-clients (#​2798)
  • Fix simulate sub-client documentation (#​2749)
  • Update APIs
    • Remove wait_for_active_shards from experimental Get field usage stats API
    • Rename incorrect access_token to token in Logout of OpenID Connect API
    • Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
    • Add Reindex legacy backing indices APIs
    • Add Create an index from a source index API
    • Add include_source_on_error to Create, Index, Update and Bulk APIs
    • Add Stop async ES|QL query API
    • Add timeout to Resolve Cluster API
    • Add adaptive_allocations body field to Start and Update a trained model deployment API
    • Rename index_template_subtitutions to index_template_substitutions in Simulate data ingestion API* Add if_primary_term, if_seq_no, op_type, require_alias and require_data_stream to Create API
    • Add max_concurrent_shard_requests to Open point in time API
    • Add local and flat_settings to Check index templates API
    • Add reopen to Update index settings API
    • Add resource to Reload search analyzer API
    • Add lazy to Roll over to a new index API
    • Add cause and create to Simulate index template APIs
    • Add Elastic Inference Service (EIS) chat completion
    • Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elastic Inference Service (EIS), Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
  • Update DSL
    • Add ignore_malformed, script, on_script_error and time_series_dimension to Boolean field
    • Add index to GeoShape field
    • Add search_inference_id to SemanticText field

v8.17.2: 8.17.2

Compare Source

8.17.2 (2025-03-04)

  • Explain how to use sub clients in API docs (#​2798)
  • Render descriptions as Markdown in API docs
  • Update APIs
    • Add keep_alive to Submit async search API
    • Add Run and Delete async ES|QL query APIs
    • Add Get async ES|QL query results API
    • Add include_ccs_metadata to ES|QL query API

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the possibly breaking Better tread carefully label Apr 16, 2025
@renovate renovate bot assigned bkis Apr 16, 2025
@renovate renovate bot requested a review from bkis April 16, 2025 03:38
@renovate renovate bot force-pushed the renovate/elasticsearch-9.x branch 2 times, most recently from c28f39b to 93f3ca4 Compare April 28, 2025 16:41
@renovate renovate bot force-pushed the renovate/elasticsearch-9.x branch from 93f3ca4 to c1fc94c Compare May 2, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possibly breaking Better tread carefully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant