IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Release notes
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Release notes
edit8.3.3 (2022-08-01)
edit- Client is compatible with Elasticsearch 8.3.3
8.3.2 (2022-08-01)
editSecurity
edit-
Added the
refreshparameter to thesecurity.create_service_tokenAPI.
8.3.1 (2022-06-30)
editSecurity
edit-
Added the experimental
security.has_privileges_user_profileAPI. -
Added the
hintparameter to the experimentalsecurity.suggest_user_profilesAPI.
8.3.0 (2022-06-29)
edit- Client is compatible with Elasticsearch 8.3.0
8.2.3 (2022-06-15)
editDocuments
edit-
Added the
routingparameter to themsearchAPI.
CAT
edit-
Added the
cat.component_templatesAPI.
Ingest
edit-
Added the
if_versionparameter to theingest.put_pipelineAPI.
Security
edit-
Changed the
nameparameter for thesecurity.create_service_tokenAPI from required to optional. -
Added the
refreshparameter to thesecurity.create_service_tokenAPI. -
Changed the name of
accessparameter to thelabelsparameter in thesecurity.update_user_profile_dataAPI.
Shutdown
edit-
Added the
timeoutandmaster_timeoutparameters to theshutdown.get_node,shutdown.delete_node, andshutdown.put_nodeAPIs. -
Added the
reason,type,allocation_delay, andtarget_node_nameparameters to theshutdown.put_nodeAPI.
8.2.2 (2022-06-01)
edit- Client is compatible with Elasticsearch 8.2.2
8.2.1 (2022-06-01)
editMachine Learning
edit-
Added the
inference_configparameter to theml.infer_trained_model_deploymentAPI
8.2.0 (2022-05-03)
editClient
edit-
Re-introduced support for passing
requests.auth.BaseAuthobjects to thehttp_authparameter which was available in 7.x.
Search
edit-
Added the
filterparameter to the experimentalknn_searchAPI
Documents
edit-
Changed the
sourceanddestparameters for thereindexAPI from optional to required
Indices
edit-
Added the
indices.field_usage_statsAPI -
Added the
indices.modify_data_streamAPI -
Added the
fieldsandtypesparameters to thefield_capsAPI -
Added the
ignore_unvailableparameter to theopen_point_in_timeAPI -
Added the
master_timeoutandtimeoutparameters to theindices.deleteAPI -
Added the
featuresparameter to theindices.getAPI
Machine Learning
edit-
Added the
ml.get_memory_statsAPI
Migrations
edit-
Added the
migrations.get_feature_upgrade_statusAPI -
Added the
migrations.post_feature_upgradeAPI
Nodes
edit-
Added the
nodes.clear_repositories_metering_archiveAPI -
Added the
nodes.get_repositories_metering_infoAPI
Security
edit-
Added the beta
security.activate_user_profileAPI -
Added the beta
security.disable_user_profileAPI -
Added the beta
security.enable_user_profileAPI -
Added the beta
security.get_user_profileAPI -
Added the beta
security.suggest_user_profilesAPI -
Added the beta
security.update_user_profile_dataAPI
SQL
edit-
Added the
catalog,index_using_frozen,keep_alive,keep_on_completion,runtime_mappings, andwait_for_completion_timeoutparameters to thesql.queryAPI
8.1.2 (2022-03-30)
edit- Client is compatible with Elasticsearch 8.1.2
8.1.1 (2022-03-22)
editDocuments
edit-
Changed the
sourceanddestparameters of thereindexAPI to be required.
Mappings
edit-
Changed the
fieldsparameter of thefield_capsAPI to be required.
8.1.0 (2022-03-08)
editTransforms
edit-
Added the
transform.reset_transformAPI
8.0.0 (2022-02-10)
editAdded
edit-
Added the top-level
.options()method toElasticsearchandAsyncElasticsearchfor modifying transport options. - Added parameters corresponding to JSON request body fields for all APIs
-
Added
basic_authparameter for specifying username and password authentication -
Added
bearer_authparameter for specifying an HTTP bearer token or service token -
Added the
metaproperty toApiErrorto access the HTTP response metadata of an error. -
Added a check that a compatible version of the
elastic-transportpackage is installed.
Changed
edit-
Changed the transport layer to use the
elastic-transportpackage -
Changed user-defined
bodyparameters to have semantic names (e.gindex(document={...})instead ofindex(body={...})). -
Changed responses to be objects with two properties,
metafor response metadata (HTTP status, headers, node, etc) andbodyfor a typed body. -
Changed
AsyncElasticsearchto always be available, regardless of whetheraiohttpis installed -
Changed exception hierarchy, the major change is a new exception
ApiErrorwhich differentiates between an error that’s raised from the transport layer (previouslyelasticsearch.exceptions.TransportError, nowelastic_transport.TransportError) and one raised from the API layer -
Changed the name of
JSONSerializertoJsonSerializerfor consistency with other serializer names. Added an alias to the old name for backwards compatibility -
Changed the default mimetypes (
application/json) to instead use compatibility mimetypes (application/vnd.elasticsearch+json) which always request for responses compatibility with version 8.x.
Removed
edit- Removed support for Python 2.7 and Python 3.5, the library now supports only Python 3.6+
-
Removed the
elasticsearch.connectionmodule as all functionality has been moved to theelastic-transportpackage -
Removed the default URL of
http://localhost:9200due to Elasticsearch 8.0 default configuration beinghttps://localhost:9200. The client’s connection to Elasticsearch now must be specified with scheme, host, and port or with thecloud_idparameter - Removed the ability to use positional arguments with API methods. Going forward all API parameters must be keyword-only parameters
-
Removed the
doc_type,include_type_name, andcopy_settingsparameters from many document and index APIs
Deprecated
edit-
Deprecated the
bodyandparamsparameters on all APIs -
Deprecated setting transport options
http_auth,api_key,ignore,request_timeout,headers, andopaque_idAll of these settings should instead be set via the.options()method -
Deprecated the
elasticsearch.transportandelasticsearch.clientmodules. These modules will be removed in a future version
CAT
edit-
Removed the deprecated
localparameter from thecat.indices,cat.nodes,cat.shardsAPI -
Removed the deprecated
allow_no_datafeedsparameter from thecat.ml_datafeedsAPI -
Removed the deprecated
allow_no_jobsparameter from thecat.ml_jobsAPI -
Removed the deprecated
sizeparameter from thecat.thread_poolAPI -
Added the
timeparameter to thecat.thread_poolAPI
Documents
edit-
Removed the deprecated
sizeparameter from thedelete_by_queryAPI -
Removed the deprecated
sizeparameter from theupdate_by_queryAPI
Indices
edit-
Removed the deprecated
indices.flush_syncedAPI -
Removed the deprecated
indices.freezeAPI -
Removed the deprecated
indices.get_upgradeAPI -
Removed the deprecated
indices.upgradeAPI -
Removed the deprecated
indices.exist_typeAPI -
Removed the deprecated parameter
copy_settingsfrom theindices.shrinkAPI -
Deprecated the
verboseparameter of theindices.segmentsAPI
License / X-Pack
edit-
Deprecated the
accept_enterpriseparameter of thelicense.getAPI -
Deprecated the
accept_enterpriseparameter of thexpack.infoAPI
Machine Learning
edit-
Added the experimental
ml.infer_trained_model_deploymentAPI -
Added the experimental
ml.put_trained_model_definition_partAPI -
Added the experimental
ml.put_trained_model_vocabularyAPI -
Added the experimental
ml.start_trained_model_deploymentAPI -
Added the experimental
ml.stop_trained_model_deploymentAPI -
Added the
timeoutparameter to theml.delete_trained_modelAPI -
Removed the deprecated
allow_no_jobsparameter from theml.close_jobAPI -
Removed the deprecated
ml.find_text_structureAPI -
Removed the deprecated
allow_no_datafeedsparameter from theml.get_datafeed_statsAPI -
Removed the deprecated
allow_no_datafeedsparameter from theml.get_datafeedsAPI -
Removed the deprecated
allow_no_jobsparameter from theml.get_job_statsAPI -
Removed the deprecated
allow_no_jobsparameter from theml.get_jobsAPI -
Removed the deprecated
allow_no_jobsparameter from theml.get_overall_bucketsAPI
Search
edit-
Added the experimental
knn_searchAPI
Searchable Snapshots
edit-
Removed the deprecated
searchable_snapshots.repository_statsAPI
Snapshots
edit-
Changed the
snapshot.deleteAPI to accept multiple snapshots
Security
edit-
Added the
security.enroll_kibanaAPI -
Added the
security.enroll_nodeAPI