Skip to content

Releases: elastic/elasticsearch-py

7.14.1

01 Sep 17:12
f0b161b
Compare
Choose a tag to compare

Client

  • Client is compatible with Elasticsearch 7.14.1

7.14.0

03 Aug 17:50
Compare
Choose a tag to compare

Client

Added

  • Added check that client is connected to an Elasticsearch cluster. If the client isn't connected to a supported Elasticsearch cluster the UnsupportedProductError exception will be raised.

APIs

Search

  • Added the terms_enum beta API

  • Removed the query_and_fetch and dfs_query_and_fetch options in the search_type parameter to the msearch, msearch_template and search_template APIs

Index Lifecycle Management

  • Added the ilm.migrate_to_data_tiers API

Machine Learning

  • Added the ml.reset_job API

Security

  • Added the security.saml_authenticate API
  • Added the security.saml_complete_logout API
  • Added the security.saml_invalidate API
  • Added the security.saml_logout API
  • Added the security.saml_prepare_authentication API
  • Added the security.saml_service_provider_metadata API

SQL

  • Added the sql.delete_async API
  • Added the sql.get_async API
  • Added the sql.get_async_status API

Snapshots

  • Added the include_repository parameter to snapshot.get API
  • Added the rarely_abort_writes parameter to the snapshot.repository_analyze API

7.13.4

20 Jul 17:10
c3a564b
Compare
Choose a tag to compare

Client

  • Client is compatible with Elasticsearch 7.13.4

7.14.0-alpha1

13 Jul 12:33
Compare
Choose a tag to compare
7.14.0-alpha1 Pre-release
Pre-release

Client

Added

  • Added check that client is connected to an Elasticsearch cluster. If the client isn't connected to Elasticsearch a NotElasticsearchError exception will be raised.

APIs

Search

  • Added the terms_enum beta API

  • Removed the query_and_fetch and dfs_query_and_fetch options in the search_type parameter to the msearch, msearch_template and search_template APIs

Index Lifecycle Management

  • Added the ilm.migrate_to_data_tiers API

Machine Learning

  • Added the ml.reset_job API

Security

  • Added the security.saml_authenticate API
  • Added the security.saml_complete_logout API
  • Added the security.saml_invalidate API
  • Added the security.saml_logout API
  • Added the security.saml_prepare_authentication API
  • Added the security.saml_service_provider_metadata API

Snapshots

  • Added the include_repository parameter to snapshot.get API
  • Added the rarely_abort_writes parameter to the snapshot.repository_analyze API

7.13.3

07 Jul 20:43
ba8f295
Compare
Choose a tag to compare

Client

Fixed

  • NameError would be raised on Python 2.7 and 3.4 when a connection error would have otherwise been raised.

7.13.2

21 Jun 12:35
Compare
Choose a tag to compare

⚠️ This release has been yanked on PyPI due to a regression in Python <3.5, please use another version.

Client

Fixed

  • Transport.perform_request() now properly reraises RecursionError (Contributed by @hmilkovi)
  • AIOHttpConnection no longer sends Accept-Encoding: gzip, deflate when http_compress=None.
    Instead now sends no Accept-Encoding header.

APIs

Snapshot

  • Added the snapshot.repository_analyze API

7.13.1

02 Jun 17:11
Compare
Choose a tag to compare

Client

  • Client is compatible with Elasticsearch 7.13.1

7.13.0

25 May 13:43
Compare
Choose a tag to compare

Client

Added

  • Added support for compatibility header for Elasticsearch. If the environment variable ELASTIC_CLIENT_APIVERSIONING=1 is set the client will send the headers Accept and Content-Type with the following value: application/vnd.elasticsearch+json;compatible-with=7.

APIs

Cat

  • Added the include_unloaded_segments parameter to the cat.nodes API

Snapshot Features

  • Added the features.reset_features experimental API

Fleet

  • Added the fleet.global_checkpoints expiremental API

Ingest

  • Added the ingest.geo_ip_stats API

Machine Learning

  • Added the ml.delete_trained_model_alias API
  • Added the ml.preview_data_frame_analytics API
  • Added the ml.put_trained_model_alias API
  • Changed the ml.delete_data_frame_analytics, ml.delete_trained_model, ml.explain_data_frame_analytics, ml.get_data_fram_analytics, ml.get_data_frame_analytics_stats, ml.get_trained_models, ml.get_trained_models_stats, ml.put_trained_model, ml.start_data_frame_analytics, ml.stop_data_frame_analytics, ml.update_data_frame_analytics APIs from beta to stable.

Nodes

  • Added include_unloaded_segments parameter to node.stats API

Searchable Snapshots

  • Added the searchable_snapshots.cache_stats experimental API

Security

  • Added the security.clear_cached_service_tokens beta API
  • Added the security.create_service_token beta API
  • Added the security.delete_service_token beta API
  • Added the security.get_service_accounts beta API
  • Added the security.get_service_credentials beta API

Shutdown

  • Added the shutdown.delete_node experiemental API
  • Added the shutdown.get_node experimental API
  • Added the shutdown.put_node experimental API

Snapshots

  • Added the index_details parameter to snapshot.get API

Text Structure

  • Changed the text_structure.find_structure API from experimental to stable

7.12.1

27 Apr 17:26
Compare
Choose a tag to compare

APIs

Text Structure

  • Changed the text_structure.find_text_structure API from experimental to stable

7.12.0

23 Mar 17:59
Compare
Choose a tag to compare

APIs

Autoscaling

  • Changed autoscaling.delete_autoscaling_policy, autoscaling.get_autoscaling_policy, and autoscaling.put_autoscaling_policy APIs from experimental to stable

EQL

  • Added eql.get_status API

Logash

  • Added logstash.delete_pipeline, logstash.get_pipeline, and logstash.put_pipeline APIs

Machine Learning

  • Removed the experimental ml.find_text_structure API

Searchable Snapshots

  • Added storage parameter to the searchable_snapshots.mount API
  • Added level parameter to the searchable_snapshots.stats API

Search

  • Added the min_compatible_shard_node parameter to search()

Text Structure

  • Added experimental text_structure.find_text_structure API