Skip to content

Releases: elastic/elasticsearch-py

9.2.0

28 Oct 17:08
v9.2.0
03bef1e

Choose a tag to compare

Enhancements

  • Support Trio when using the HTTPX async client (#3089)
  • Pydantic integration for the DSL module (#3086)
  • Add flush_after_seconds option to streaming_bulk() (#3064)
  • Add TS, FUSE and INLINE STATS commands to the ES|QL query builder (#3096)

Bug Fixes

  • DSL: support passing inner documents as AttrDict instances (#3080)
  • DSL: add some recently added field classes as top-level exports for the package (#3078)

API

  • Add streams namespace with streams.logs_disable, streams.logs_enable, streams.status APIs
  • Add inference.contextualai API
  • Add security.get_stats API
  • Add bytes and time parameters to various APIs in the cat namespace.
  • Add include_execution_metadata parameter to esql.async_query and esql.query APIs
  • Add index_template parameter to indices.simulate_index_template API
  • Add input_type parameter to inference.text_embedding API
  • Add field_access_pattern parameter to ingest.put_pipeline API
  • Removed unsupported size parameter from reindex API

Serverless-specific

  • Add project namespace with project.tags API
  • Add project_routing parameter to count, field_caps, msearch, msearch_template, open_point_in_time, search, search_mvt, search_template, async_search.submit, cat.count, eql.search, indices.resolve_index, sql.query APIs

DSL

  • New CartesianBounds, CartesianCentroid, ChangePoint aggregations
  • Add p_value parameter to SignificantTerms aggregation
  • Add fields parameter to SemanticText field
  • Add visit_percentage parameter to Knn query
  • Add on_disk_rescore field to DenseVectorIndexOptions type
  • Add sparse_vector field to SemanticTextIndexOptions type

Other

  • Add 3.14 to CI builds (#3103)
  • Drop Python 3.9 support (#3114)

9.1.2

28 Oct 17:08
v9.1.2
23bb050

Choose a tag to compare

Enhancements

  • Add flush_after_seconds option to streaming_bulk() (#3064)

Bug Fixes

  • DSL: support passing inner documents as AttrDict instances (#3080)
  • DSL: add some recently added field classes as top-level exports for the package (#3078)

API

  • Add streams namespace with streams.logs_disable, streams.logs_enable, streams.status APIs
  • Add bytes and time parameters to various APIs in the cat namespace.
  • Add index_template parameter to indices.simulate_index_template API
  • Add input_type parameter to inference.text_embedding API

DSL

  • New CartesianBounds, CartesianCentroid, ChangePoint aggregations
  • Add p_value parameter to SignificantTerms aggregation
  • Add index_options and fields parameters to SemanticText field
  • Add visit_percentage parameter to Knn query
  • Add on_disk_rescore field to DenseVectorIndexOptions type

Other

  • Add 3.14 to CI builds (#3103)dd

8.19.2

28 Oct 17:08
v8.19.2
8ebfd44

Choose a tag to compare

Enhancements

  • Add flush_after_seconds option to streaming_bulk() (#3064)

Bug Fixes

  • DSL: support passing inner documents as AttrDict instances (#3080)
  • DSL: add some recently added field classes as top-level exports for the package (#3078)

API

  • Add streams namespace with streams.logs_disable, streams.logs_enable, streams.status APIs
  • Add indices.get_data_stream_settings API
  • Add indices.put_data_stream_settings API
  • Add bytes and time parameters to various APIs in the cat namespace.
  • Add index_template parameter to indices.simulate_index_template API
  • Add input_type parameter to inference.text_embedding API
  • Removed unsupported size parameter from reindex API

DSL

  • New CartesianBounds, CartesianCentroid, ChangePoint aggregations
  • Add p_value parameter to SignificantTerms aggregation
  • Add fields parameter to SemanticText field

Other

  • Add 3.14 to CI builds (#3103)

9.1.1

12 Sep 13:28
v9.1.1
f92da62

Choose a tag to compare

Enhancements and Fixes

  • ES|QL query builder integration with the DSL module (#3058)
  • ES|QL query builder robustness fixes (#3017)
  • Fix ES|QL multi_match() signature (#3052)

API

  • Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs
  • Add Transform Set Upgrade Mode API
  • Fix type of fields parameter of Term Vectors API to array of strings
  • Fix type of params parameter of SQL Query API to array

DSL

  • Preserve the skip_empty setting in to_dict() recursive serializations (#3041)
  • Add separator_group and separators attributes to ChunkingSettings type
  • Add primary attribute to ShardFailure type
  • Fix type of key attribute of ArrayPercentilesItem to float

9.0.4

12 Sep 13:24
v9.0.4
d281593

Choose a tag to compare

Enhancements and Fixes

  • ES|QL query builder integration with the DSL module (#3058)
  • ES|QL query builder robustness fixes (#3017)
  • Fix ES|QL multi_match() signature (#3052)

API

  • Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs
  • Add Transform Set Upgrade Mode API
  • Fix type of fields parameter of Term Vectors API to array of strings
  • Fix type of params parameter of SQL Query API to array

DSL

  • Preserve the skip_empty setting in to_dict() recursive serializations (#3041)
  • Add primary attribute to ShardFailure type
  • Fix type of key attribute of ArrayPercentilesItem to float

8.19.1

12 Sep 13:13
v8.19.1
12144e8

Choose a tag to compare

Enhancements and Fixes

  • ES|QL query builder integration with the DSL module (#3058)
  • ES|QL query builder robustness fixes (#3017)
  • Fix ES|QL multi_match() signature (#3052)

API

  • Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs
  • Add Amazon Sagemaker to Inference API
  • Add expand_wildcards parameter to Snapshot Create API
  • Add Transform Set Upgrade Mode API
  • Fix type of params parameter of SQL Query API to array
  • Fix type of fields parameter of Term Vectors API to array of strings

DSL

  • Preserve the skip_empty setting in to_dict() recursive serializations (#3041)
  • Add ChunkingSettings type
  • Add SemanticTextIndexOptions type
  • Add exclude_vectors attribute to SourceFilter type
  • Add SparseVectorIndexOptions type
  • Add execution_hint attribute to TDigest type
  • Add primary attribute to ShardFailure type
  • Fix type of key attribute of ArrayPercentilesItem to float

9.1.0

30 Jul 08:56
v9.1.0
7f79d0e

Choose a tag to compare

Enhancements

  • ES|QL query builder (technical preview) (#2997)
  • Update OpenTelemetry conventions (#2999)
  • Add option to disable accurate reporting of file and line location in warnings (Fixes #3003) (#3006)

APIs

  • Remove if_primary_term, if_seq_no and op_type from Create API
  • Remove master_timeout from Ingest Get Ip Location Database API
  • Remove application, priviledge and username from the Security Get User API
  • Rename type_query_string to type in License Post Start Trial API
  • Add require_data_stream to Index API
  • Add settings_filter to Cluster Get Component Template API
  • Add cause to Cluster Put Component Template API
  • Add master_timeout to Cluster State API
  • Add ccs_minimize_roundtrips to EQL Search API
  • Add keep_alive and keep_on_completion to ES|QL Async Query API
  • Add format to ES|QL Async Query Get API
  • Add ES|QL Get Query and List Queries APIs
  • Add Indices Delete Data Stream Options API
  • Add Indices Get Data Stream Options and Put Data Stream Options APIS
  • Add Indices Get Data Stream Settings and Put Data Stream Settings APIs
  • Add allow_no_indices, expand_wildcards and ignore_available to Indices Recovery API
  • Add Indices Remove Block API
  • Add Amazon Sagemaker to Inference API
  • Add input_type to Inference API
  • Add timeout to all Inference Put APIs
  • Add Inference Put Custom API
  • Add Inference Put DeepSeek API
  • Add task_settings to Put HuggingFace API
  • Add refresh to Security Grant API Key API
  • Add wait_for_completion to the Snapshot Delete API
  • Add state to Snapshot Get API
  • Add refresh to Synonyms Put Synonym, Put Synonym Rule and Delete Synonym Rule APIs

DSL

  • Handle lists in copy_to option in DSL field declarations correctly (Fixes #2992) (#2993)
  • Add index_options to SparseVector type
  • Add SparseVectorIndexOptions type
  • Add key to FiltersBucket type

Other changes

  • Drop support for Python 3.8 (#3001)

9.0.3

30 Jul 11:06
v9.0.3
5f7371c

Choose a tag to compare

Enhancements

  • ES|QL query builder (technical preview) (#2997)
  • Add option to disable accurate reporting of file and line location in warnings (Fixes #3003) (#3006)

APIs

  • Remove if_primary_term, if_seq_no and op_type from Create API
  • Remove stored_fields from Get Source API
  • Remove master_timeout from Ingest Get Ip Location Database API
  • Remove application, priviledge and username from the Security Get User API
  • Rename type_query_string to type in License Post Start Trial API
  • Add require_data_stream to Index API
  • Add settings_filter to Cluster Get Component Template API
  • Add cause to Cluster Put Component Template API
  • Add ccs_minimize_roundtrips to EQL Search API
  • Add keep_alive and keep_on_completion to ES|QL Async Query API
  • Add format to ES|QL Async Query Get API
  • Add allow_no_indices, expand_wildcards and ignore_available to Indices Recovery API
  • Add timeout to all Inference Put APIs
  • Add refresh to Security Get User Profile API
  • Add wait_for_completion to the Snapshot Delete API

DSL

  • Handle lists in copy_to field option correctly (Fixes #2992) (#2993)
  • Add key to FiltersBucket type

8.19.0

30 Jul 10:20
v8.19.0
3808515

Choose a tag to compare

Enhancements

  • ES|QL query builder (technical preview) (#2997)
  • Add option to disable accurate reporting of file and line location in warnings (Fixes #3003) (#3006)

API updates

  • Remove if_primary_term, if_seq_no and op_type from Create API
  • Remove stored_fields from Get Source API
  • Remove min_compatible_shard_node from Async Search Submit API
  • Remove master_timeout from Cat Aliases API
  • Remove master_timeout from Ingest Get Ip Location Database API
  • Remove application, priviledge and username from the Security Get User API
  • Rename type_query_string to type in License Post Start Trial API
  • Add require_data_stream to Index API
  • Add settings_filter to Cluster Get Component Template API
  • Add cause to Cluster Put Component Template API
  • Add ccs_minimize_roundtrips to EQL Search API
  • Add keep_alive and keep_on_completion to ES|QL Async Query API
  • Add format to ES|QL Async Query Get API
  • Add allow_no_indices, expand_wildcards and ignore_available to Indices Recovery API
  • Add input_type to Inference API
  • Add timeout to all Inference Put APIs
  • Add Inference Put Custom API
  • Add refresh to Security Get User Profile API
  • Add wait_for_completion to the Snapshot Delete API

DSL Updates

  • Handle lists in copy_to option in DSL field declarations correctly (Fixes #2992) (#2994)
  • Add key to FiltersBucket type

9.0.2

05 Jun 11:47
v9.0.2
6a2dbcd

Choose a tag to compare

DSL

  • Add rescore_vector to DenseVectorIndexOptions