Releases: elastic/elasticsearch-py
7.15.0
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
AsyncTransportandAIOHttpConnection - Added
MapboxVectorTileSerializerfor handling theapplication/vnd.mapbox-vector-tilemimetype. Because this mimetype is binary rather than text the raw responsebytesare forwarded from the serializer without decoding
Fixed
- Reduced amount of time to import the
elasticsearchmodule by delaying imports ofpandasandnumpyuntil later in the JSON serialization stage if necessary
APIs
- Deprecated positional arguments for APIs, instead use keyword arguments exclusively.
Search
- Added the
search_mvtexperimental API - Added body field parameters to the
search,scroll, andclear_scrollAPIs - Deprecated the
bodyparameter of thesearch,scroll, andclear_scrollAPIs
Documents
- Added body field parameters to the
updateAPI - Added the
documentparameter to thecreateandindexAPIs - Deprecated the
bodyparameter of thecreate,index, andupdateAPIs
Indices
- Added the
indices.disk_usageexperimental API - Added the
indices.fields_usage_statsexperimental API - Added body field parameters to the
indices.createAPI - Deprecated the
bodyparameter of theindices.createAPI
Machine Learning
- Added the
ignore_unavailable,allow_no_indices,ignore_throttled, andexpand_wildcardsparameters to theml.put_jobAPI
Nodes
- Added the
nodes.clear_repositories_metering_archiveexperimental API - Added the
nodes.get_repositories_metering_infoexperimental API - Added the
shardsoption to theindex_metricparameter of thenodes.statsAPI - Deprecated the
doc_typeparameter of thenodes.hot_threadsAPI, instead use thetypeparameter
Security
- Added the
security.query_api_keysAPI
License
- Deprecated the
doc_typeparameter of thelicense.post_start_trialAPI, instead use thetypeparameter
7.14.2
Client
- Client is compatible with Elasticsearch 7.14.2
7.15.0-alpha1
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
AsyncTransportandAIOHttpConnection - Added
MapboxVectorTileSerializerfor handling theapplication/vnd.mapbox-vector-tilemimetype. Because this mimetype is binary rather than text the raw responsebytesare forwarded from the serializer without decoding.
APIs
- Deprecated positional arguments for APIs, instead use keyword arguments exclusively.
Search
- Added the
search_mvtexperimental API - Added body field parameters to the
search,scroll, andclear_scrollAPIs - Deprecated the
bodyparameter of thesearch,scroll, andclear_scrollAPIs
Documents
- Added body field parameters to the
updateAPI - Added the
documentparameter to thecreateandindexAPIs - Deprecated the
bodyparameter of thecreate,index, andupdateAPIs
Indices
- Added the
indices.disk_usageexperimental API - Added the
indices.fields_usage_statsexperimental API - Added body field parameters to the
indices.createAPI - Deprecated the
bodyparameter of theindices.createAPI
Machine Learning
- Added the
ignore_unavailable,allow_no_indices,ignore_throttled, andexpand_wildcardsparameters to theml.put_jobAPI.
Nodes
- Added the
nodes.clear_repositories_metering_archiveexperimental API - Added the
nodes.get_repositories_metering_infoexperimental API - Added the
shardsoption to theindex_metricparameter of thenodes.statsAPI - Deprecated the
doc_typeparameter of thenodes.hot_threadsAPI, instead use thetypeparameter
Security
- Added the
security.query_api_keysAPI
License
- Deprecated the
doc_typeparameter of thelicense.post_start_trialAPI, instead use thetypeparameter
7.14.1
Client
- Client is compatible with Elasticsearch 7.14.1
7.14.0
Client
Added
- Added check that client is connected to an Elasticsearch cluster. If the client isn't connected to a supported Elasticsearch cluster the
UnsupportedProductErrorexception will be raised.
APIs
Search
-
Added the
terms_enumbeta API -
Removed the
query_and_fetchanddfs_query_and_fetchoptions in thesearch_typeparameter to themsearch,msearch_templateandsearch_templateAPIs
Index Lifecycle Management
- Added the
ilm.migrate_to_data_tiersAPI
Machine Learning
- Added the
ml.reset_jobAPI
Security
- Added the
security.saml_authenticateAPI - Added the
security.saml_complete_logoutAPI - Added the
security.saml_invalidateAPI - Added the
security.saml_logoutAPI - Added the
security.saml_prepare_authenticationAPI - Added the
security.saml_service_provider_metadataAPI
SQL
- Added the
sql.delete_asyncAPI - Added the
sql.get_asyncAPI - Added the
sql.get_async_statusAPI
Snapshots
- Added the
include_repositoryparameter tosnapshot.getAPI - Added the
rarely_abort_writesparameter to thesnapshot.repository_analyzeAPI
7.13.4
Client
- Client is compatible with Elasticsearch 7.13.4
7.14.0-alpha1
Client
Added
- Added check that client is connected to an Elasticsearch cluster. If the client isn't connected to Elasticsearch a
NotElasticsearchErrorexception will be raised.
APIs
Search
-
Added the
terms_enumbeta API -
Removed the
query_and_fetchanddfs_query_and_fetchoptions in thesearch_typeparameter to themsearch,msearch_templateandsearch_templateAPIs
Index Lifecycle Management
- Added the
ilm.migrate_to_data_tiersAPI
Machine Learning
- Added the
ml.reset_jobAPI
Security
- Added the
security.saml_authenticateAPI - Added the
security.saml_complete_logoutAPI - Added the
security.saml_invalidateAPI - Added the
security.saml_logoutAPI - Added the
security.saml_prepare_authenticationAPI - Added the
security.saml_service_provider_metadataAPI
Snapshots
- Added the
include_repositoryparameter tosnapshot.getAPI - Added the
rarely_abort_writesparameter to thesnapshot.repository_analyzeAPI
7.13.3
Client
Fixed
NameErrorwould be raised on Python 2.7 and 3.4 when a connection error would have otherwise been raised.
7.13.2
Client
Fixed
Transport.perform_request()now properly reraisesRecursionError(Contributed by @hmilkovi)AIOHttpConnectionno longer sendsAccept-Encoding: gzip, deflatewhenhttp_compress=None.
Instead now sends noAccept-Encodingheader.
APIs
Snapshot
- Added the
snapshot.repository_analyzeAPI
7.13.1
Client
- Client is compatible with Elasticsearch 7.13.1