Skip to content

Releases: elastic/elasticsearch-py

7.16.0

07 Dec 17:49
b1023d7
Compare
Choose a tag to compare

Client

Deprecated

  • Deprecated the send_get_body_as parameter. This parameter is no longer necessary
    as APIs all use non-GET HTTP methods when using a body.
  • Removal of body, params, and other per-request parameters has been delayed beyond 8.0.0.
    Changed deprecation warnings to mention "future version" instead of 8.0.0.

Fixed

  • Fixed an issue with unicode HTTP headers with the urllib3 HTTP client
  • Fixed an issue with the scan helper to always set the sort and scroll parameters

API

Search

  • Changed the keep_alive parameter of the open_point_in_time API to be required
    to reflect its required status within Elasticsearch
  • Added the track_total_hits parameter to the search_mvt API

Fleet

  • Changed the fleet.global_checkpoints API from experimental to stable
  • Added the fleet.search experimental API
  • Added the fleet.msearch experimental API

Indices

  • Added the indices.modify_data_stream API

Ingest

  • Added the if_version parameter to the ingest.put_pipeline API

Migration

  • Added the migration.get_feature_upgrade_status API
  • Added the migration.post_feature_upgrade API

Machine Learning

  • Added the defer_definition_decompression parameter to the ml.put_trained_model API

Transforms

  • Added the transform.upgrade_transforms API

7.15.2

10 Nov 16:50
Compare
Choose a tag to compare

Client

  • API is compatible with Elasticsearch 7.15.2

Nodes

  • Documented additional options the metric parameter of the nodes.info API.

7.15.1

14 Oct 16:15
Compare
Choose a tag to compare

Client

  • Fixed a performance regression in JSONSerializer.default() when numpy and pandas weren't installed.
  • Changed the DeprecationWarning for the body parameter to be a "removed in a future version" instead of "removed in 8.0" in line with the 8.0 roadmap.

API

Search

  • The index parameter of the open_point_in_time API is now required, was optional.

7.15.0

22 Sep 17:05
688144f
Compare
Choose a tag to compare

Client

We've recently announced our roadmap for 8.0.0 and have begun issuing deprecation warnings in the 7.x release stream to prepare users for upgrading to 8.0.0 when available.

Added

  • Added more precise type hints to many API parameters
  • Added explicit parameters to AsyncTransport and AIOHttpConnection
  • Added MapboxVectorTileSerializer for handling the application/vnd.mapbox-vector-tile mimetype. Because this mimetype is binary rather than text the raw response bytes are forwarded from the serializer without decoding

Fixed

  • Reduced amount of time to import the elasticsearch module by delaying imports of pandas and numpy until later in the JSON serialization stage if necessary

APIs

  • Deprecated positional arguments for APIs, instead use keyword arguments exclusively.

Search

  • Added the search_mvt experimental API
  • Added body field parameters to the search, scroll, and clear_scroll APIs
  • Deprecated the body parameter of the search, scroll, and clear_scroll APIs

Documents

  • Added body field parameters to the update API
  • Added the document parameter to the create and index APIs
  • Deprecated the body parameter of the create, index, and update APIs

Indices

  • Added the indices.disk_usage experimental API
  • Added the indices.fields_usage_stats experimental API
  • Added body field parameters to the indices.create API
  • Deprecated the body parameter of the indices.create API

Machine Learning

  • Added the ignore_unavailable, allow_no_indices, ignore_throttled, and expand_wildcards parameters to the ml.put_job API

Nodes

  • Added the nodes.clear_repositories_metering_archive experimental API
  • Added the nodes.get_repositories_metering_info experimental API
  • Added the shards option to the index_metric parameter of the nodes.stats API
  • Deprecated the doc_type parameter of the nodes.hot_threads API, instead use the type parameter

Security

  • Added the security.query_api_keys API

License

  • Deprecated the doc_type parameter of the license.post_start_trial API, instead use the type parameter

7.14.2

21 Sep 20:34
5643d6a
Compare
Choose a tag to compare

Client

  • Client is compatible with Elasticsearch 7.14.2

7.15.0-alpha1

09 Sep 18:10
Compare
Choose a tag to compare
7.15.0-alpha1 Pre-release
Pre-release

Client

We've recently announced our roadmap for 8.0.0 and have begun issuing deprecation warnings in the 7.x release stream to prepare users for upgrading to 8.0.0 when available.

Added

  • Added more precise type hints to many API parameters
  • Added explicit parameters to AsyncTransport and AIOHttpConnection
  • Added MapboxVectorTileSerializer for handling the application/vnd.mapbox-vector-tile mimetype. Because this mimetype is binary rather than text the raw response bytes are forwarded from the serializer without decoding.

APIs

  • Deprecated positional arguments for APIs, instead use keyword arguments exclusively.

Search

  • Added the search_mvt experimental API
  • Added body field parameters to the search, scroll, and clear_scroll APIs
  • Deprecated the body parameter of the search, scroll, and clear_scroll APIs

Documents

  • Added body field parameters to the update API
  • Added the document parameter to the create and index APIs
  • Deprecated the body parameter of the create, index, and update APIs

Indices

  • Added the indices.disk_usage experimental API
  • Added the indices.fields_usage_stats experimental API
  • Added body field parameters to the indices.create API
  • Deprecated the body parameter of the indices.create API

Machine Learning

  • Added the ignore_unavailable, allow_no_indices, ignore_throttled, and expand_wildcards parameters to the ml.put_job API.

Nodes

  • Added the nodes.clear_repositories_metering_archive experimental API
  • Added the nodes.get_repositories_metering_info experimental API
  • Added the shards option to the index_metric parameter of the nodes.stats API
  • Deprecated the doc_type parameter of the nodes.hot_threads API, instead use the type parameter

Security

  • Added the security.query_api_keys API

License

  • Deprecated the doc_type parameter of the license.post_start_trial API, instead use the type parameter

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