Recent Releases of elasticsearch
elasticsearch - 9.0.3
Enhancements
- ES|QL query builder (technical preview) (#2997)
- Add option to disable accurate reporting of file and line location in warnings (Fixes #3003) (#3006)
APIs
- Remove
if_primary_term,if_seq_noandop_typefrom Create API - Remove
stored_fieldsfrom Get Source API - Remove
master_timeoutfrom Ingest Get Ip Location Database API - Remove
application,priviledgeandusernamefrom the Security Get User API - Rename
type_query_stringtotypein License Post Start Trial API - Add
require_data_streamto Index API - Add
settings_filterto Cluster Get Component Template API - Add
causeto Cluster Put Component Template API - Add
ccs_minimize_roundtripsto EQL Search API - Add
keep_aliveandkeep_on_completionto ES|QL Async Query API - Add
formatto ES|QL Async Query Get API - Add
allow_no_indices,expand_wildcardsandignore_availableto Indices Recovery API - Add
timeoutto all Inference Put APIs - Add
refreshto Security Get User Profile API - Add
wait_for_completionto the Snapshot Delete API
DSL
- Handle lists in
copy_tofield option correctly (Fixes #2992) (#2993) - Add
keyto FiltersBucket type
- Python
Published by miguelgrinberg 10 months ago
elasticsearch - 8.19.0
Enhancements
- ES|QL query builder (technical preview) (#2997)
- Add option to disable accurate reporting of file and line location in warnings (Fixes #3003) (#3006)
API updates
- Remove
if_primary_term,if_seq_noandop_typefrom Create API - Remove
stored_fieldsfrom Get Source API - Remove
min_compatible_shard_nodefrom Async Search Submit API - Remove
master_timeoutfrom Cat Aliases API - Remove
master_timeoutfrom Ingest Get Ip Location Database API - Remove
application,priviledgeandusernamefrom the Security Get User API - Rename
type_query_stringtotypein License Post Start Trial API - Add
require_data_streamto Index API - Add
settings_filterto Cluster Get Component Template API - Add
causeto Cluster Put Component Template API - Add
ccs_minimize_roundtripsto EQL Search API - Add
keep_aliveandkeep_on_completionto ES|QL Async Query API - Add
formatto ES|QL Async Query Get API - Add
allow_no_indices,expand_wildcardsandignore_availableto Indices Recovery API - Add
input_typeto Inference API - Add
timeoutto all Inference Put APIs - Add Inference Put Custom API
- Add
refreshto Security Get User Profile API - Add
wait_for_completionto the Snapshot Delete API
DSL Updates
* Handle lists in copy_to option in DSL field declarations correctly (Fixes #2992) (#2994)
* Add key to FiltersBucket type
- Python
Published by miguelgrinberg 10 months ago
elasticsearch - 9.1.0
Enhancements
- ES|QL query builder (technical preview) (#2997)
- Update OpenTelemetry conventions (#2999)
- Add option to disable accurate reporting of file and line location in warnings (Fixes #3003) (#3006)
APIs
- Remove
if_primary_term,if_seq_noandop_typefrom Create API - Remove
master_timeoutfrom Ingest Get Ip Location Database API - Remove
application,priviledgeandusernamefrom the Security Get User API - Rename
type_query_stringtotypein License Post Start Trial API - Add
require_data_streamto Index API - Add
settings_filterto Cluster Get Component Template API - Add
causeto Cluster Put Component Template API - Add
master_timeoutto Cluster State API - Add
ccs_minimize_roundtripsto EQL Search API - Add
keep_aliveandkeep_on_completionto ES|QL Async Query API - Add
formatto ES|QL Async Query Get API - Add ES|QL Get Query and List Queries APIs
- Add Indices Delete Data Stream Options API
- Add Indices Get Data Stream Options and Put Data Stream Options APIS
- Add Indices Get Data Stream Settings and Put Data Stream Settings APIs
- Add
allow_no_indices,expand_wildcardsandignore_availableto Indices Recovery API - Add Indices Remove Block API
- Add Amazon Sagemaker to Inference API
- Add
input_typeto Inference API - Add
timeoutto all Inference Put APIs - Add Inference Put Custom API
- Add Inference Put DeepSeek API
- Add
task_settingsto Put HuggingFace API - Add
refreshto Security Grant API Key API - Add
wait_for_completionto the Snapshot Delete API - Add
stateto Snapshot Get API - Add
refreshto Synonyms Put Synonym, Put Synonym Rule and Delete Synonym Rule APIs
DSL
- Handle lists in
copy_tooption in DSL field declarations correctly (Fixes #2992) (#2993) - Add
index_optionsto SparseVector type - Add SparseVectorIndexOptions type
- Add
keyto FiltersBucket type
Other changes
- Drop support for Python 3.8 (#3001)
- Python
Published by miguelgrinberg 10 months ago
elasticsearch - 9.0.2
DSL
* Add rescore_vector to DenseVectorIndexOptions
- Python
Published by miguelgrinberg 12 months ago
elasticsearch - 8.18.1
- Update APIs
- Add back
inference.inferenceAPIs that were removed by mistake
- Add back
- Update DSL
- Add
CountedKeywordandPassthroughfields - Add
rescore_vectorto Knn query - Add
bbq_flatandbbq_hnswvector index types - Add
scriptandon_script_errortoDateandDateNanosfields
- Add
- Python
Published by pquentin about 1 year ago
elasticsearch - 9.0.1
- Surface caused_by in ApiError (#2932)
- Clarify Elasticsearch 9.x compatibility (#2928)
- Reorganize Sphinx docs to only include reference pages (#2776)
- Python
Published by pquentin about 1 year ago
elasticsearch - 8.18.0
- Merge
Elasticsearch-DSL <https://github.com/elastic/elasticsearch-dsl-py/>_ package (#2736) - Add Python DSL documentation (#2761)
- Autogenerate DSL field classes from schema (#2780)
- Improve DSL documentation examples with class-based queries and type hints (#2857)
- Document the use of
param()in Python DSL methods (#2861) - Document use of sub-clients (#2798)
- Fix
simulatesub-client documentation (#2749) - Update APIs
- Remove
wait_for_active_shardsfrom experimental Get field usage stats API - Rename incorrect
access_tokentotokenin Logout of OpenID Connect API - Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
- Add Reindex legacy backing indices APIs
- Add Create an index from a source index API
- Add
include_source_on_errorto Create, Index, Update and Bulk APIs - Add Stop async ES|QL query API
- Add
timeoutto Resolve Cluster API - Add
adaptive_allocationsbody field to Start and Update a trained model deployment API - Rename
index_template_subtitutionstoindex_template_substitutionsin Simulate data ingestion API* Addif_primary_term,if_seq_no,op_type,require_aliasandrequire_data_streamto Create API - Add
max_concurrent_shard_requeststo Open point in time API - Add
localandflat_settingsto Check index templates API - Add
reopento Update index settings API - Add
resourceto Reload search analyzer API - Add
lazyto Roll over to a new index API - Add
causeandcreateto Simulate index template APIs - Add Elastic Inference Service (EIS) chat completion
- Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elastic Inference Service (EIS), Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
- Remove
- Update DSL
- Add
ignore_malformed,script,on_script_errorandtime_series_dimensionto Boolean field - Add
indexto GeoShape field - Add
search_inference_idto SemanticText field
- Add
- Python
Published by pquentin about 1 year ago
elasticsearch - 9.0.0
- Remove deprecated
Elasticsearch()options (#2840) - Remove deprecated
url_prefixanduse_ssloptions (#2797) - Merge Elasticsearch-DSL package (#2736)
- Add Python DSL documentation (#2761)
- Autogenerate DSL field classes from schema (#2780)
- Improve DSL documentation examples with class-based queries and type hints (#2857)
- Document the use of
param()in Python DSL methods (#2861) - Migrate documentation from AsciiDoc to Markdown format (#2806)
- Document use of sub-clients (#2798)
- Document how to making API calls (#2843)
- Fix
simulatesub-client documentation (#2749) - Update APIs
- Remove Unfreeze an index API
- Remove mincompatibleshard_node from Search and Async Search Submit APIs
- Remove local parameter from cat alias, Alias exists, and Get alias APIs
- Remove
verbosefrom Index segments API - Remove
include_model_definitionfrom Get trained model configuration info API - Remove
wait_for_active_shardsfrom experimental Get field usage stats API - Support soft-deletes in connectors:
- Add
hardto Delete connector API - Add
include_deletedto Get and List Connector APIs - Add
master_timeoutto Migrate to data tiers routing APIs - Add
master_timeoutto the Alias exists and Get alias APIs. - Add
expand_wildcardsto Create snapshot API - Rename incorrect
access_tokentotokenin Logout of OpenID Connect API - Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
- Add Reindex legacy backing indices APIs
- Add Create an index from a source index API
- Add
include_source_on_errorto Create, Index, Update and Bulk APIs - Add Stop async ES|QL query API
- Add
timeoutto Resolve Cluster API - Add
adaptive_allocationsbody field to Start and Update a trained model deployment API - Rename
index_template_subtitutionstoindex_template_substitutionsin Simulate data ingestion API* Addif_primary_term,if_seq_no,op_type,require_aliasandrequire_data_streamto Create API - Add
max_concurrent_shard_requeststo Open point in time API - Add
localandflat_settingsto Check index templates API - Add
reopento Update index settings API - Add
resourceto Reload search analyzer API - Add
lazyto Roll over to a new index API - Add
causeandcreateto Simulate index template APIs - Add Elastic Inference Service (EIS) chat completion
- Add inference APIs: Alibaba Cloud AI Search, Amazon Bedrock, Anthropic, Azure AI Studio, Azure OpenAI, Cohere, Elastic Inference Service (EIS), Elasticsearch, ELSER, Google AI Studio, Google Vertex AI, Hugging Face, Jina AI, Mistral, OpenAI, and Voyage AI
- Update DSL
- Add
ignore_malformed,script,on_script_errorandtime_series_dimensionto Boolean field - Add
indexto GeoShape field - Add
search_inference_idto SemanticText field
- Add
- Python
Published by pquentin about 1 year ago
elasticsearch - 8.17.2
8.17.2 (2025-03-04)
- Explain how to use sub clients in API docs (#2798)
- Render descriptions as Markdown in API docs
- Update APIs
- Add
keep_aliveto Submit async search API - Add Run and Delete async ES|QL query APIs
- Add Get async ES|QL query results API
- Add
include_ccs_metadatato ES|QL query API
- Add
- Python
Published by pquentin about 1 year ago
elasticsearch - 8.17.1
8.17.1 (2025-01-23)
- Make pyarrow dependency optional for tests (#2733, contributed by @danigm)
- Update APIs:
- Add Simulate ingest API
- Add Get data stream lifecycle stats API
- Add Update inference API
- Add Create or update, Get and Delete IP geolocation database configuration APIs
- Add Bulk update API keys
- Add Get and Update Security index settings APIs
- Add OpenID Connect prepare authentication, OpenID Connect authenticate and OpenID Connect logout APIs
- Add Delegate PKI authentication API
- Add Repository analysis API
- Add Render Search Application Query API
- Add Find field structure and Find messages structure APIs
- Add Get Watcher index settings and Update Watcher index settings APIs
- Add experimental Check in and Claim connector sync job APIs
- Add experimental Set connector sync job errors and Set connector sync job stats APIs
- Add experimental Update connector features APIs
- Add experimental Post Event to an Analytics Collection API
- Add
timeoutandmaster_timeoutto Snapshot lifecycle management (SLM) APIs - Add
allow_partial_search_resultsto SQL search API - Add
throttle_period_in_millisto Create or update watch API - Fix query parameters for CAT APIs
- Python
Published by pquentin over 1 year ago
elasticsearch - 8.17.0
8.17.0 (2024-12-13)
- Allow simsimd again on Python 3.13 (#2722)
- Update APIs:
- Mark all Inference APIs as stable.
- Add
allow_partial_search_resultsto the Open Point in Time API - Add
keep_aliveto the Get async search status API - Remove the
keep_alive,pre_filter_shard_sizeandscrollparameters from the Submit async search API. They were never supported. - Add
master_timeoutandtimeoutto all autoscaling policy APIs - Add
master_timeoutto the Alias exists and Get alias APIs - Add
list_executed_pipelinesandrequire_data_streamto Bulk API - Add
include_model_definitionto Get trained models API - Add
metato Create data frame analytics API - Add
aggsto Create datafeeds API - Add
allow_no_indices,expand_wildcards,ignore_throttledandignore_unavailableto Create anomaly detection jobs API
- Python
Published by pquentin over 1 year ago
elasticsearch - 8.16.0
8.16.0 (2024-11-12)
- Support Python 3.13 (#2680)
Emit Python warnings for beta and tech preview APIs (#2675). You can disable those warnings if needed: ```python import warnings from elasticsearch.exceptions import GeneralAvailabilityWarning
warnings.filterwarnings("ignore", category=GeneralAvailabilityWarning) ```
Vectorstore: use a retriever query for hybrid search (#2666)
Allow retries for statuses other than 429 in streaming bulk (#2071, contributed by @ayayron)
Make
BulkIndexErrorandScanErrorserializable (#2669, contributed by @seagrine)Fix import when
traceis missing fromopentelemetrypackage (#2694, contributed by @nicoloboschi)Update APIs:
- Fix
nodesparameter in Task management API (contributed by @margaretpearce) - Add Test query rule API
- Add Create Cross-Cluster API key and Update Cross-Cluster API key APIs
- Add experimental Verify snapshot repository API
- Add
data_stream_nameandsettingsto Delete auto-follow pattern API - Add
max_samples_per_keyto Get async EQL status API - Add
lifecycleand remove unuseddata_retentionanddownsampling parametersfrom Put data stream lifecycle API - Add
include_remotesand removeflat_settingsfrom Cluster stats API - Add
remote_indicesto Create or update application privileges and Create or update roles APIs
- Fix
- Python
Published by pquentin over 1 year ago
elasticsearch - 7.17.12
- Fix compatibility with NumPy 2.0 (#2647, contributed by @alvarogf97)
- Python
Published by pquentin over 1 year ago
elasticsearch - 8.15.1
8.15.1 (2024-09-08)
- Fix OTel context loss in parallel bulk helper (#2616)
- Use request converter to generate python examples (#2645)
- Add Geoip database configuration APIs: Create or update, Get and Delete
- Add
qparameter to Update by Query API - Add
allow_no_indicesandignore_unavailableparameters to Resolve index API
- Python
Published by pquentin over 1 year ago
elasticsearch - 8.15.0
- Added the Connector API (#2623)
- Added support for semantic_text and semantic query.
- Added support for sequences of job id, model id and tags where applicable in ML APIs
- Added
dry_runandforceparameters to the Perform inference API - Added optional Arrow deserialization support (#2632)
- Merged Query Ruleset API into new Query Rules API (#2607)
- Added mapping code examples (#2596)
- Fixed reference docs (#2629)
- Dropped Python 3.7 support (#2618)
- Python
Published by miguelgrinberg almost 2 years ago
elasticsearch - 8.14.0
- Fixed
node_pool_classoverride (#2581, contributed by @tallakh) - Added
retrieverto the Search API - Added
deprecatedand removedallow_auto_createfrom the Create or update component template API - Added
allow_auto_create,cause,deprecated,ignore_missing_component_templatesandmaster_timeoutto the Create or update index template API - Added
cause, removedflat_settingsandtimeoutfrom the Create or update index template legacy API - Removed various unsupported parameters from the Simulate index API
- Added various supported paramters to the Simulate index template API
- Added the
completionandreranktask types to the Inference APIs - Added the
queryandtimeoutparameters to the Perform inference API - Added
typed_keysto the Search Application Search API - Added
with_profile_uidto the Get API key information and Query API key information APIs
- Python
Published by pquentin almost 2 years ago
elasticsearch - 8.13.2
- Added the
ml.update_trained_model_deploymentAPI - Marked Requests 2.32.2 as incompatible with the Elasticsearch client
- Python
Published by pquentin about 2 years ago
elasticsearch - 8.13.1
- Added
force_synthetic_sourceto the Get API - Added
wait_for_completionto the Create trained model API - Added
typed_keysto the Query API key information API
- Python
Published by pquentin about 2 years ago
elasticsearch - 8.13.0
- Added native OpenTelemetry support (#2435)
- Added optional
orjson(a fast, correct JSON library) serialization support (#2493) - Added the
text_structure.test_grok_patternAPI - Added the
indices.resolve_clusterAPI - Renamed the
model_idparameter toinference_idin theinferenceAPIs - Changed all
synonymsAPIs from experimental to stable. - Fixed API key documentation (#2477, contributed by @iuliaferoli)
- Python
Published by pquentin about 2 years ago
elasticsearch - 8.12.1
- Fixed but deprecated parameter aliases in body parameter (#2427)
- Added mappings and bulk to quickstart page (#2417)
- Python
Published by pquentin over 2 years ago
elasticsearch - 8.12.0
- Dropped support for Python 3.6
- Allowed unrestricted
bodyparameter again (see #2383 for details) - Added the Inference APIs
- Added the ES|QL API
- Added
active_onlyparameter tosecurity.get_api_keyAPI - Added
expirationparameter tosecurity.update_api_keyAPI
- Python
Published by pquentin over 2 years ago
elasticsearch - 8.11.1
- Added missing
role_templatestosecurity.put_role_mappingAPI - Added interactive examples page to documentation
- Changed API reference to have one page per sub-client
- Python
Published by pquentin over 2 years ago
elasticsearch - 8.11.0
- Added support for Python 3.12
- Added missing
scoresparameter to create trained model vocabulary API - Added missing
delete_dest_indexparameter to delete transform API
- Python
Published by pquentin over 2 years ago
elasticsearch - 8.10.1
- Removed deprecation warnings when using
bodyparameter (#2302) - Fixed some type hints to use covariant Sequence instead of invariant List (#2324, #2325)
- Python
Published by pquentin over 2 years ago
elasticsearch - 8.10.0
- Add the Query rules APIs
- Add the Synonyms APIs
- Python
Published by pquentin over 2 years ago
elasticsearch - 8.9.0
- Added the
cluster.infoAPI - Updated the
inference_configargument inml.put_trained_modelAPI to reflect an improvement in the specification
- Python
Published by ezimuel almost 3 years ago
elasticsearch - 8.8.2
Client is compatible with Elasticsearch 8.8.2
- Python
Published by ezimuel almost 3 years ago
elasticsearch - 8.8.1
- Added the
rankparameter in search() endpoint 2d5434f
- Python
Published by ezimuel almost 3 years ago
elasticsearch - 8.8.0
- Added
include_defaultsparameter to thecluster.get_component_template,indices.get_data_stream, andindices.get_index_templateAPI - Added the
indices.delete_data_lifecycle,indices.explain_data_lifecycle,indices.get_data_lifecycle, andindices.put_data_lifecycleAPIs - Added the experimental
search_application.delete,search_application.delete_behavioral_analytics,search_application.get,search_application.get_behavioral_analytics,search_application.list,search_application.put,search_application.put_behavioral_analytics, andsearch_application.searchAPIs.
- Python
Published by sethmlarson about 3 years ago
elasticsearch - 8.7.0
- Added the
health_reportAPI - Added the
transform.schedule_now_transformAPI - Added the
from_request parameter to thetransform.start_transformAPI - Added the
buffer,grid_agg, andwith_labelsparameters to thesearch_mvtAPI - Added the
allow_auto_createparameter to thecluster.create_component_templateAPI - Added the
delete_user_annotationsparameter to theml.delete_job,ml.reset_jobAPI - Added the
startandendparameters to theml.preview_datafeedAPI - Added the
priorityparameter to theml.start_datafeedAPI - Added the
job_idparameter to theml.update_datafeedAPI - Added the
model_prune_windowparameter to theml.update_jobAPI - Added the
feature_statesparameter to thesnapshot.restore_snapshotAPI - Added the
timeoutparameter to thetransform.get_transform_statsAPI - Added the
from_parameter to thetransform.start_transformAPI - Changed the
inputparameter of theml.put_trained_modelsAPI from required to optional - Fixed the
cluster.create_component_templateAPI by removing the erroneously providedaliases,mappings, andsettingsparameters. Only thetemplateparameter should be used for specifying component templates.
- Python
Published by sethmlarson about 3 years ago
elasticsearch - 8.6.2
- Client is compatible with Elasticsearch 8.6.2
- Python
Published by ezimuel over 3 years ago
elasticsearch - 8.6.1
- Added the
expand_wildcards,preference, androutingparameters to theopen_point_in_timeAPI.
- Python
Published by sethmlarson over 3 years ago
elasticsearch - 7.17.9
- Client is compatible with Elasticsearch 7.17.9
- Python
Published by sethmlarson over 3 years ago
elasticsearch - 8.6.0
Core
- Changed the
fieldsparameter of thefield_capsAPI to be encoded in the HTTP request body. - Changed the
indexparameter of therank_evalAPI to be optional. - Changed the
requestsparameter of therank_evalAPI to be optional.
CAT
- Added the
timeparameter to thecat.indicesAPI
Machine Learning
- Fixed the
model_idparameter of theml.clear_trained_model_deployment_cacheAPI to be required.
- Python
Published by sethmlarson over 3 years ago
elasticsearch - 7.17.8
- Removed the work-around for a bug in aiohttp when sending HEAD requests. This change was backported from v8.x of elastic-transport.
- Python
Published by sethmlarson over 3 years ago
elasticsearch - 8.5.3
- Client is compatible with Elasticsearch 8.5.3
- Python
Published by sethmlarson over 3 years ago
elasticsearch - 8.5.2
- Client is compatible with Elasticsearch 8.5.2
- Python
Published by miriam-eid over 3 years ago
elasticsearch - 8.5.1
- Client is compatible with Elasticsearch 8.5.1
- Python
Published by miriam-eid over 3 years ago
elasticsearch - 8.5.0
Indices
- Added the experimental
indices.downsampleAPI. # Rollup - Removed the deprecated
rollup.rollupAPI. # Snapshot - Added the
index_namesparameter to thesnapshot.getAPI. # Machine Learning - Added the beta
ml.clear_trained_model_deployment_cacheAPI. - Changed the
ml.put_trained_model_definition_partAPI from experimental to stable. - Changed the
ml.put_trained_model_vocabularyAPI from experimental to stable. - Changed the
ml.start_trained_model_deploymentAPI from experimental to stable. - Changed the
ml.stop_trained_model_deploymentAPI from experimental to stable. # Security - Added the
with_limited_byparameter to theget_api_keyAPI. - Added the
with_limited_byparameter to thequery_api_keysAPI. - Added the
with_profile_uidparameter to theget_userAPI. - Changed the
security.activate_user_profileAPI from beta to stable. - Changed the
security.disable_user_profileAPI from beta to stable. - Changed the
security.enable_user_profileAPI from beta to stable. - Changed the
security.get_user_profileAPI from beta to stable. - Changed the
security.suggest_user_profilesAPI from beta to stable. - Changed the
security.update_user_profile_dataAPI from beta to stable. - Changed the
security.has_privileges_user_profileAPI from experimental to stable.
- Python
Published by miriam-eid over 3 years ago
elasticsearch - 7.17.7
- Client is compatible with Elasticsearch 7.17.7
- Python
Published by miriam-eid over 3 years ago
elasticsearch - 8.4.3
- Client is compatible with Elasticsearch 8.4.3
- Python
Published by miriam-eid over 3 years ago
elasticsearch - 8.4.2
Documents
- Added the
error_trace,filter_path,humanandprettyparameters to theget_sourceAPI. - Added the
extparameter to thesearchAPI. # Async Search - Added the
extparameter to theasync_search.submitAPI. # Fleet - Added the
extparameter to thefleet.searchAPI.
- Python
Published by miriam-eid over 3 years ago
elasticsearch - 8.4.1
- Client is compatible with Elasticsearch 8.4.1
- Python
Published by miriam-eid over 3 years ago
elasticsearch - 8.4.0
Documents
- Added the
knnparameter to thesearchAPI. - Added the
knnparameter to theasync_search.submitAPI. # Machine Learning - Added the
cache_sizeparameter to theml.start_trained_model_deploymentAPI. # Security - Added the
security.update_api_keyAPI.
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 7.17.6
- Client is compatible with Elasticsearch 7.17.6
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 7.17.5
- Client is compatible with Elasticsearch 7.17.5
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 8.3.3
- Client is compatible with Elasticsearch 8.3.3
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 8.3.2
Security
- Added the
refreshparameter to thesecurity.create_service_tokenAPI.
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 8.3.1
Security
- Added the experimental
security.has_privileges_user_profileAPI - Added the
hintparameter to the experimentalsecurity.suggest_user_profilesAPI
- Python
Published by sethmlarson almost 4 years ago
elasticsearch - 8.3.0
- Client is compatible with Elasticsearch 8.3.0
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 8.2.3
Documents
- Added the
routingparameter to themsearchAPI. # CAT - Added the
cat.component_templatesAPI. # Ingest - Added the
if_versionparameter to theingest.put_pipelineAPI. # Security - 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 - 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.
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 8.2.2
Client
- Client is compatible with Elasticsearch 8.2.2
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 8.2.1
Machine Learning
- Added the
inference_configparameter to theml.infer_trained_model_deploymentAPI.
- Python
Published by miriam-eid almost 4 years ago
elasticsearch - 7.17.4
Client
- Client is compatible with Elasticsearch 7.17.4
- Python
Published by sethmlarson almost 4 years ago
elasticsearch - 8.2.0
Client
- Re-introduced support for passing
requests.auth.BaseAuthobjects to thehttp_authparameter which was available in 7.x.
Search
- Added the
filterparameter to the experimentalknn_searchAPI
Documents
- Changed the
sourceanddestparameters for thereindexAPI from optional to required
Indices
- 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
- Added the
ml.get_memory_statsAPI
Migrations
- Added the
migrations.get_feature_upgrade_statusAPI - Added the
migrations.post_feature_upgradeAPI
Nodes
- Added the
nodes.clear_repositories_metering_archiveAPI - Added the
nodes.get_repositories_metering_infoAPI
Security
- 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
- Added the
catalog,index_using_frozen,keep_alive,keep_on_completion,runtime_mappings, andwait_for_completion_timeoutparameters to thesql.queryAPI
- Python
Published by sethmlarson about 4 years ago
elasticsearch - 7.17.3
Client
- Client is compatible with Elasticsearch 7.17.3
- Python
Published by miriam-eid about 4 years ago
elasticsearch - 8.1.3
Client
- Client is compatible with Elasticsearch 8.1.3
- Python
Published by sethmlarson about 4 years ago
elasticsearch - 8.1.2
Client
- Client is compatible with Elasticsearch 8.1.2
- Python
Published by sethmlarson about 4 years ago
elasticsearch - 7.17.2
Client
- Client is compatible with Elasticsearch 7.17.2
- Python
Published by sethmlarson about 4 years ago
elasticsearch - 8.1.1
Documents
- Changed the
sourceanddestparameters of thereindexAPI to be required.
Mappings
- Changed the
fieldsparameter of thefield_capsAPI to be required.
- Python
Published by sethmlarson about 4 years ago
elasticsearch - 8.1.0
Transforms
- Added the
transform.reset_transformAPI
- Python
Published by sethmlarson about 4 years ago
elasticsearch - 8.0.1
Client
- Fixed the
sortparameter of multiple APIs to serialize in the query string when using the shorthand form
Indices
- Fixed the
indexparameter to be required for theindices.field_usage_statsAPI
SQL
- Added the
catalog,keep_alive,keep_on_completion,params,runtime_mappings, andwait_for_completion_timeoutparameters to thesql.queryAPI
- Python
Published by sethmlarson about 4 years ago
elasticsearch - 7.17.1
Helpers
- Fixed the
fromparameter to be rewritten tofrom_when used with thescanandasync_scanhelpers (https://github.com/elastic/elasticsearch-py/pull/1897)
Transport
- Fixed
AiohttpHttpConnectionto not leak TLS connections when the socket isn't explicitly shutdown by the peer (https://github.com/elastic/elasticsearch-py/pull/1919)
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 8.0.0
:warning: v8.0.0 is a new major release and contains some breaking changes. For information on how migrate your application from v7.x to v8.0.0 you can read the migration guide here.
Client
Added
- 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
- 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
- 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
Deprecated
- 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
API
- Removed the
doc_type,include_type_name, andcopy_settingsparameters from many document and index APIs
CAT
- 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
- Removed the deprecated
sizeparameter from thedelete_by_queryAPI - Removed the deprecated
sizeparameter from theupdate_by_queryAPI
Indices
- 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
- Deprecated the
accept_enterpriseparameter of thelicense.getAPI - Deprecated the
accept_enterpriseparameter of thexpack.infoAPI
Machine Learning
- 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
- Added the experimental
knn_searchAPI
Searchable Snapshots
- Removed the deprecated
searchable_snapshots.repository_statsAPI
Snapshots
- Changed the
snapshot.deleteAPI to accept multiple snapshots
Security
- Added the
security.enroll_kibanaAPI - Added the
security.enroll_nodeAPI
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 8.0.0-beta2
Client
Added
- 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
- 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
- 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
Deprecated
- 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
API
- Removed the
doc_typeandinclude_type_nameparameters from many document and index APIs
CAT
- 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
- Removed the deprecated
sizeparameter from thedelete_by_queryAPI - Removed the deprecated
sizeparameter from theupdate_by_queryAPI
Indices
- 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 parameter
copy_settingsfrom theindices.shrinkAPI
License / X-Pack
- Deprecated the
accept_enterpriseparameter of thelicense.getAPI - Deprecated the
accept_enterpriseparameter of thexpack.infoAPI
Machine Learning
- Removed the deprecated
allow_no_jobsparameter from theml.close_jobAPI - Added the
timeoutparameter to theml.delete_trained_modelAPI - 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 - 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
Search
- Added the experimental
knn_searchAPI
Searchable Snapshots
- Removed the deprecated
searchable_snapshots.repository_statsAPI
Security
- Added the
security.enroll_kibanaAPI - Added the
security.enroll_nodeAPI
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.17.0
Machine Learning
- Added the
ml.get_model_snapshot_upgrade_statsAPI - Added the
bodyparameter to theml.forecastandml.open_jobAPIs
Transform
- Added the
timeoutparameter to thetransform.delete_transform,transform.preview_transform,transform.put_transform,transform.update_transform, andtransform.upgrade_transformAPIs
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 8.0.0-beta1
Client
Added
- 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
- 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
Removed
- 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
Deprecated
- 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
API
- Removed the
doc_typeandinclude_type_nameparameters from many document and index APIs
CAT
- 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
- Removed the deprecated
sizeparameter from thedelete_by_queryAPI - Removed the deprecated
sizeparameter from theupdate_by_queryAPI
Indices
- 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 parameter
copy_settingsfrom theindices.shrinkAPI
License / X-Pack
- Deprecated the
accept_enterpriseparameter of thelicense.getAPI - Deprecated the
accept_enterpriseparameter of thexpack.infoAPI
Machine Learning
- Removed the deprecated
allow_no_jobsparameter from theml.close_jobAPI - Added the
timeoutparameter to theml.delete_trained_modelAPI - 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 - 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
Search
- Added the experimental
knn_searchAPI
Searchable Snapshots
- Removed the deprecated
searchable_snapshots.repository_statsAPI
Security
- Added the
security.enroll_kibanaAPI - Added the
security.enroll_nodeAPI
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.16.3
Client
- API is compatible with Elasticsearch 7.16.3
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 8.0.0-alpha4
Client
Added
- 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
- Changed the transport layer to use the
elastic-transportpackage - Changed user-defined
bodyparameters to have semantic names (e.gindex(document={...})instead ofindex(body={...} [elasticsearch8-8.0.0a3.tar.gz](https://github.com/elastic/elasticsearch-py/files/7686727/elasticsearch8-8.0.0a3.tar.gz) ). - Changed responses to be objects with three properties,
metafor response metadata,rawfor the raw deserialized response, 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
Removed
- 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
Deprecated
- 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 - Deprecated the
bodyandparamsparameters on all APIs
API
- Removed the
doc_typeandinclude_type_nameparameters from many document and index APIs
CAT
- 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
- Removed the deprecated
sizeparameter from thedelete_by_queryAPI - Removed the deprecated
sizeparameter from theupdate_by_queryAPI
Indices
- 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 parameter
copy_settingsfrom theindices.shrinkAPI
License / X-Pack
- Deprecated the
accept_enterpriseparameter of thelicense.getAPI - Deprecated the
accept_enterpriseparameter of thexpack.infoAPI
Machine Learning
- Removed the deprecated
allow_no_jobsparameter from theml.close_jobAPI - Added the
timeoutparameter to theml.delete_trained_modelAPI - 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 - 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
Search
- Added the experimental
knn_searchAPI
Searchable Snapshots
- Removed the deprecated
searchable_snapshots.repository_statsAPI
Security
- Added the
security.enroll_kibanaAPI - Added the
security.enroll_nodeAPI
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.16.2
Client
- API is compatible with Elasticsearch 7.16.2
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.16.1
Client
- API is compatible with Elasticsearch 7.16.1
Transport
- Fixed an issue where the
AIOHttpConnectionwouldn't log query parameters for URLs.
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.16.0
Client
Deprecated
- Deprecated the
send_get_body_asparameter. 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
unicodeHTTP headers with the urllib3 HTTP client - Fixed an issue with the
scanhelper to always set thesortandscrollparameters
API
Search
- Changed the
keep_aliveparameter of theopen_point_in_timeAPI to be required to reflect its required status within Elasticsearch - Added the
track_total_hitsparameter to thesearch_mvtAPI
Fleet
- Changed the
fleet.global_checkpointsAPI from experimental to stable - Added the
fleet.searchexperimental API - Added the
fleet.msearchexperimental API
Indices
- Added the
indices.modify_data_streamAPI
Ingest
- Added the
if_versionparameter to theingest.put_pipelineAPI
Migration
- Added the
migration.get_feature_upgrade_statusAPI - Added the
migration.post_feature_upgradeAPI
Machine Learning
- Added the
defer_definition_decompressionparameter to theml.put_trained_modelAPI
Transforms
- Added the
transform.upgrade_transformsAPI
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.15.2
Client
- API is compatible with Elasticsearch 7.15.2
Nodes
- Documented additional options the
metricparameter of thenodes.infoAPI.
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.15.1
Client
- Fixed a performance regression in
JSONSerializer.default()whennumpyandpandasweren't installed. - Changed the
DeprecationWarningfor thebodyparameter to be a "removed in a future version" instead of "removed in 8.0" in line with the 8.0 roadmap.
API
Search
- The
indexparameter of theopen_point_in_timeAPI is now required, was optional.
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 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
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.14.2
Client
- Client is compatible with Elasticsearch 7.14.2
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 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
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 7.14.1
Client
- Client is compatible with Elasticsearch 7.14.1
- Python
Published by sethmlarson over 4 years ago
elasticsearch - 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 APIRemoved 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
- Python
Published by sethmlarson almost 5 years ago
elasticsearch - 7.13.4
Client
- Client is compatible with Elasticsearch 7.13.4
- Python
Published by sethmlarson almost 5 years ago
elasticsearch - 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 APIRemoved 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
- Python
Published by sethmlarson almost 5 years ago
elasticsearch - 7.13.3
Client
Fixed
NameErrorwould be raised on Python 2.7 and 3.4 when a connection error would have otherwise been raised.
- Python
Published by sethmlarson almost 5 years ago
elasticsearch - 7.13.2
:warning: 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 reraisesRecursionError(Contributed by @hmilkovi)AIOHttpConnectionno longer sendsAccept-Encoding: gzip, deflatewhenhttp_compress=None. Instead now sends noAccept-Encodingheader.
APIs
Snapshot
- Added the
snapshot.repository_analyzeAPI
- Python
Published by sethmlarson almost 5 years ago
elasticsearch - 7.13.1
Client
- Client is compatible with Elasticsearch 7.13.1
- Python
Published by sethmlarson almost 5 years ago
elasticsearch - 7.13.0
Client
Added
- Added support for compatibility header for Elasticsearch. If the environment variable
ELASTIC_CLIENT_APIVERSIONING=1is 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_segmentsparameter to thecat.nodesAPI
Snapshot Features
- Added the
features.reset_featuresexperimental API
Fleet
- Added the
fleet.global_checkpointsexpiremental API
Ingest
- Added the
ingest.geo_ip_statsAPI
Machine Learning
- Added the
ml.delete_trained_model_aliasAPI - Added the
ml.preview_data_frame_analyticsAPI - Added the
ml.put_trained_model_aliasAPI - 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_analyticsAPIs from beta to stable.
Nodes
- Added
include_unloaded_segmentsparameter tonode.statsAPI
Searchable Snapshots
- Added the
searchable_snapshots.cache_statsexperimental API
Security
- Added the
security.clear_cached_service_tokensbeta API - Added the
security.create_service_tokenbeta API - Added the
security.delete_service_tokenbeta API - Added the
security.get_service_accountsbeta API - Added the
security.get_service_credentialsbeta API
Shutdown
- Added the
shutdown.delete_nodeexperiemental API - Added the
shutdown.get_nodeexperimental API - Added the
shutdown.put_nodeexperimental API
Snapshots
- Added the
index_detailsparameter tosnapshot.getAPI
Text Structure
- Changed the
text_structure.find_structureAPI from experimental to stable
- Python
Published by sethmlarson about 5 years ago
elasticsearch - 7.12.1
APIs
Text Structure
- Changed the
text_structure.find_text_structureAPI from experimental to stable
- Python
Published by sethmlarson about 5 years ago
elasticsearch - 7.12.0
APIs
Autoscaling
- Changed
autoscaling.delete_autoscaling_policy,autoscaling.get_autoscaling_policy, andautoscaling.put_autoscaling_policyAPIs from experimental to stable
EQL
- Added
eql.get_statusAPI
Logash
- Added
logstash.delete_pipeline,logstash.get_pipeline, andlogstash.put_pipelineAPIs
Machine Learning
- Removed the experimental
ml.find_text_structureAPI
Searchable Snapshots
- Added
storageparameter to thesearchable_snapshots.mountAPI - Added
levelparameter to thesearchable_snapshots.statsAPI
Search
- Added the
min_compatible_shard_nodeparameter tosearch()
Text Structure
- Added experimental
text_structure.find_text_structureAPI
- Python
Published by sethmlarson about 5 years ago
elasticsearch - 7.11.0
Client
Added
- Added the
X-Elastic-Client-MetaHTTP header and themeta_headerparameter for controlling the header (#1473) - Added
ElasticsearchWarningwhich is raised when theWarningHTTP header is returned from Elasticsearch.ElasticsearchDeprecationWarningis now an alias for this warning type (#1495)
APIs
Async Search
- Added the
async_search.statusAPI
Autoscaling
- Added the
autoscaling.get_autoscaling_capacityexperimental API - Removed the
autoscaling.get_autoscaling_decisionexperimental API
Cat
- Changed
cat.tasksAPI parametersnode_idandparent_tasktonodesandparent_task_id
Cluster
- Changed
cluster.delete_component_template,cluster.exists_component_template, andcluster.get_component_template,cluster.put_component_templateAPIs from experimental to stable
EQL
- Changed
eql.delete,eql.get,eql.searchAPIs from beta to stable
Indices
- Added
indices.migrate_to_data_streamAPI - Added
indices.promote_data_streamAPI - Added
expand_wildcardsparameter to theindices.delete_data_streamandindices.get_data_streamAPIs - Changed
indices.delete_index_template,indices.exists_index_template,indices.get_index_template,indices.put_index_template,indices.simulate_index_template, andindices.simulate_templateAPIs moved from experimental to stable
Machine Learning
- Added
ml.upgrade_job_snapshotAPI - Added
exclude_generatedparameter toml.get_data_frame_analytics,ml.get_datafeeds,ml.get_jobs, andml.get_trained_modelsAPIs - Changed
ml.delete_data_frame_analytics,ml.delete_trained_model,ml.explain_data_frame_analytics,ml.get_data_frame_analytics,ml.get_data_frame_analytics_stats,ml.get_trained_models,ml.get_trained_models_stats,ml.put_data_frame_analytics,ml.put_trained_model,ml.start_data_frame_analytics,ml.stop_data_frame_analytics,ml.update_data_frame_analyticsAPIs from experimental to beta
Rollup
- Added
rollup.rollupAPI
Transform
- Added
exclude_generatedparameter totransform.get_transformAPI
Watcher
- Added
watcher.query_watchesAPI
- Python
Published by sethmlarson over 5 years ago
elasticsearch - 7.11.0-beta1
Client
Added
- Added the
X-Elastic-Client-MetaHTTP header and themeta_headerparameter for controlling the header (#1473) - Added
ElasticsearchWarningwhich is raised when theWarningHTTP header is returned from Elasticsearch.ElasticsearchDeprecationWarningis now an alias for this warning type (#1495)
APIs
Async Search
- Added the
async_search.statusAPI
Autoscaling
- Added the
autoscaling.get_autoscaling_capacityexperimental API - Removed the
autoscaling.get_autoscaling_decisionexperimental API
Cat
- Changed
cat.tasksAPI parametersnode_idandparent_tasktonodesandparent_task_id
Cluster
- Changed
cluster.delete_component_template,cluster.exists_component_template, andcluster.get_component_template,cluster.put_component_templateAPIs from experimental to stable
EQL
- Changed
eql.delete,eql.get,eql.searchAPIs from beta to stable
Indices
- Added
indices.migrate_to_data_streamAPI - Added
indices.promote_data_streamAPI - Added
expand_wildcardsparameter to theindices.delete_data_streamandindices.get_data_streamAPIs - Changed
indices.delete_index_template,indices.exists_index_template,indices.get_index_template,indices.put_index_template,indices.simulate_index_template, andindices.simulate_templateAPIs moved from experimental to stable
Machine Learning
- Added
ml.upgrade_job_snapshotAPI - Added
exclude_generatedparameter toml.get_data_frame_analytics,ml.get_datafeeds,ml.get_jobs, andml.get_trained_modelsAPIs - Changed
ml.delete_data_frame_analytics,ml.delete_trained_model,ml.explain_data_frame_analytics,ml.get_data_frame_analytics,ml.get_data_frame_analytics_stats,ml.get_trained_models,ml.get_trained_models_stats,ml.put_data_frame_analytics,ml.put_trained_model,ml.start_data_frame_analytics,ml.stop_data_frame_analytics,ml.update_data_frame_analyticsAPIs from experimental to beta
Rollup
- Added
rollup.rollupAPI
Transform
- Added
exclude_generatedparameter totransform.get_transformAPI
Watcher
- Added
watcher.query_watchesAPI
- Python
Published by sethmlarson over 5 years ago
elasticsearch - 7.10.1
Client
Fixed
- Fixed issue where the Scan helper would fail if a
scrollresponse returned without a value for_shards.skipped(#1451) - Fixed handling of IPv6 hosts with a port in the computed
Connection.hostproperty (#1460) - Fixed documented task management API stability, should have been "experimental" (#1471)
Changed
- Changed deprecated
collections.Mappingin favor ofcollections.abc.Mappingfor Python 3.9 (#1443)
- Python
Published by sethmlarson over 5 years ago
elasticsearch - 7.10.0
Client
Added
- Added support for Elasticsearch 7.10 APIs
- Added basic type stubs for static type checking and IDE auto-complete of API parameters (#1297, #1406)
- Added support for Optimistic Concurrency Control options (
_if_seq_no/_if_primary_term) to bulk helpers (#1387) - Added support for passing
_sourcewith"_op_type": "update"bulk helpers (#1387) - Added API stability to doc-strings of API methods and documentation (#1410)
Removed
- Removed explicit
yarldependency from[async]extra to avoid issue where pip would overrideaiohttp's pin ofyarl. This was not a problem if you install with--use-feature=2020-resolver. Users should see no changes. (#1401)
Fixed
- Fixed bug where
Connection.log_request_failure()call would receive the compressed HTTP body rather than uncompressed when an error is raised forRequestsHttpConnection(#1394) - Fixed a typo in AsyncTransport where
sniff_timeoutwas used instead ofsniffer_timeout(#1431, contributed by @HarrySky)
Basic APIs
Snapshot
- Added
snapshot.clonemethod
Index
- Added
require_aliasparameter to multiple index APIs
X-Pack APIs
Point in Time
- Added
close_point_in_timeandopen_point_in_timemethods
Security
- Added
security.clear_api_key_cacheandsecurity.grant_api_keymethods
Machine Learning
- Deprecated
allow_no_jobsparameter ofcat.ml_jobsandml.close_job,ml.get_job_stats,ml.get_jobs,ml.get_overall_bucketsmethods in favor ofallow_no_matchparameter - Deprecated
allow_no_datafeedsparameter ofml.get_datafeed_stats,ml.get_datafeeds,ml.stop_datafeedin favor ofallow_no_matchparameter - Deprecated
include_model_definitionparameter ofml.get_trained_modelsmethod in favor ofincludeparameter
- Python
Published by sethmlarson over 5 years ago
elasticsearch - 7.10.0-alpha2
Added
- Added support for Elasticsearch 7.10 APIs
- Added basic type stubs for static type checking and IDE auto-complete of API parameters (#1297, #1406)
- Added support for Optimistic Concurrency Control options (
_if_seq_no/_if_primary_term) to bulk helpers (#1387) - Added support for passing
_sourcewith"_op_type": "update"bulk helpers (#1387)
Removed
- Removed explicit
yarldependency from[async]extra to avoid issue where pip would overrideaiohttp's pin ofyarl. This was not a problem if you install with--use-feature=2020-resolver. Users should see no changes. (#1401)
Fixed
- Fixed bug where
Connection.log_request_failure()call would receive the compressed HTTP body rather than uncompressed when an error is raised forRequestsHttpConnection(#1394)
- Python
Published by sethmlarson over 5 years ago
elasticsearch - 7.10.0-alpha1
Added
- Added support for Elasticsearch 7.10 APIs
- Added basic type stubs for static type checking and IDE auto-complete of API parameters (#1297)
- Added support for Optimistic Concurrency Control options (
_if_seq_no/_if_primary_term) to bulk helpers (#1387) - Added support for passing
_sourcewith"_op_type": "update"bulk helpers (#1387)
Removed
- Removed explicit
yarldependency from[async]extra to avoid issue where pip would overrideaiohttp's pin ofyarl. This was not a problem if you install with--use-feature=2020-resolver. Users should see no changes. (#1401)
Fixed
- Fixed bug where
Connection.log_request_failure()call would receive the compressed HTTP body rather than uncompressed when an error is raised forRequestsHttpConnection(#1394)
- Python
Published by sethmlarson over 5 years ago