Releases: elastic/elasticsearch-py
Releases · elastic/elasticsearch-py
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
AsyncTransport
andAIOHttpConnection
- Added
MapboxVectorTileSerializer
for handling theapplication/vnd.mapbox-vector-tile
mimetype. Because this mimetype is binary rather than text the raw responsebytes
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
, andclear_scroll
APIs - Deprecated the
body
parameter of thesearch
,scroll
, andclear_scroll
APIs
Documents
- Added body field parameters to the
update
API - Added the
document
parameter to thecreate
andindex
APIs - Deprecated the
body
parameter of thecreate
,index
, andupdate
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 theindices.create
API
Machine Learning
- Added the
ignore_unavailable
,allow_no_indices
,ignore_throttled
, andexpand_wildcards
parameters to theml.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 theindex_metric
parameter of thenodes.stats
API - Deprecated the
doc_type
parameter of thenodes.hot_threads
API, instead use thetype
parameter
Security
- Added the
security.query_api_keys
API
License
- Deprecated the
doc_type
parameter of thelicense.post_start_trial
API, instead use thetype
parameter
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
UnsupportedProductError
exception will be raised.
APIs
Search
-
Added the
terms_enum
beta API -
Removed the
query_and_fetch
anddfs_query_and_fetch
options in thesearch_type
parameter to themsearch
,msearch_template
andsearch_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 tosnapshot.get
API - Added the
rarely_abort_writes
parameter to thesnapshot.repository_analyze
API
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
NotElasticsearchError
exception will be raised.
APIs
Search
-
Added the
terms_enum
beta API -
Removed the
query_and_fetch
anddfs_query_and_fetch
options in thesearch_type
parameter to themsearch
,msearch_template
andsearch_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 tosnapshot.get
API - Added the
rarely_abort_writes
parameter to thesnapshot.repository_analyze
API
7.13.3
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
Client
Fixed
Transport.perform_request()
now properly reraisesRecursionError
(Contributed by @hmilkovi)AIOHttpConnection
no longer sendsAccept-Encoding: gzip, deflate
whenhttp_compress=None
.
Instead now sends noAccept-Encoding
header.
APIs
Snapshot
- Added the
snapshot.repository_analyze
API
7.13.1
Client
- Client is compatible with Elasticsearch 7.13.1
7.13.0
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 thecat.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 tonode.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 tosnapshot.get
API
Text Structure
- Changed the
text_structure.find_structure
API from experimental to stable
7.12.1
APIs
Text Structure
- Changed the
text_structure.find_text_structure
API from experimental to stable