Releases: elastic/elasticsearch-py
Releases · elastic/elasticsearch-py
9.2.0
Enhancements
- Support Trio when using the HTTPX async client (#3089)
- Pydantic integration for the DSL module (#3086)
- Add
flush_after_secondsoption tostreaming_bulk()(#3064) - Add
TS,FUSEandINLINE STATScommands to the ES|QL query builder (#3096)
Bug Fixes
- DSL: support passing inner documents as
AttrDictinstances (#3080) - DSL: add some recently added field classes as top-level exports for the package (#3078)
API
- Add
streamsnamespace withstreams.logs_disable,streams.logs_enable,streams.statusAPIs - Add
inference.contextualaiAPI - Add
security.get_statsAPI - Add
bytesandtimeparameters to various APIs in thecatnamespace. - Add
include_execution_metadataparameter toesql.async_queryandesql.queryAPIs - Add
index_templateparameter toindices.simulate_index_templateAPI - Add
input_typeparameter toinference.text_embeddingAPI - Add
field_access_patternparameter toingest.put_pipelineAPI - Removed unsupported
sizeparameter fromreindexAPI
Serverless-specific
- Add
projectnamespace withproject.tagsAPI - Add
project_routingparameter tocount,field_caps,msearch,msearch_template,open_point_in_time,search,search_mvt,search_template,async_search.submit,cat.count,eql.search,indices.resolve_index,sql.queryAPIs
DSL
- New
CartesianBounds,CartesianCentroid,ChangePointaggregations - Add
p_valueparameter toSignificantTermsaggregation - Add
fieldsparameter toSemanticTextfield - Add
visit_percentageparameter toKnnquery - Add
on_disk_rescorefield toDenseVectorIndexOptionstype - Add
sparse_vectorfield toSemanticTextIndexOptionstype
Other
9.1.2
Enhancements
- Add
flush_after_secondsoption tostreaming_bulk()(#3064)
Bug Fixes
- DSL: support passing inner documents as
AttrDictinstances (#3080) - DSL: add some recently added field classes as top-level exports for the package (#3078)
API
- Add
streamsnamespace withstreams.logs_disable,streams.logs_enable,streams.statusAPIs - Add
bytesandtimeparameters to various APIs in thecatnamespace. - Add
index_templateparameter toindices.simulate_index_templateAPI - Add
input_typeparameter toinference.text_embeddingAPI
DSL
- New
CartesianBounds,CartesianCentroid,ChangePointaggregations - Add
p_valueparameter toSignificantTermsaggregation - Add
index_optionsandfieldsparameters toSemanticTextfield - Add
visit_percentageparameter toKnnquery - Add
on_disk_rescorefield toDenseVectorIndexOptionstype
Other
- Add 3.14 to CI builds (#3103)dd
8.19.2
Enhancements
- Add
flush_after_secondsoption tostreaming_bulk()(#3064)
Bug Fixes
- DSL: support passing inner documents as
AttrDictinstances (#3080) - DSL: add some recently added field classes as top-level exports for the package (#3078)
API
- Add
streamsnamespace withstreams.logs_disable,streams.logs_enable,streams.statusAPIs - Add
indices.get_data_stream_settingsAPI - Add
indices.put_data_stream_settingsAPI - Add
bytesandtimeparameters to various APIs in thecatnamespace. - Add
index_templateparameter toindices.simulate_index_templateAPI - Add
input_typeparameter toinference.text_embeddingAPI - Removed unsupported
sizeparameter fromreindexAPI
DSL
- New
CartesianBounds,CartesianCentroid,ChangePointaggregations - Add
p_valueparameter toSignificantTermsaggregation - Add
fieldsparameter toSemanticTextfield
Other
- Add 3.14 to CI builds (#3103)
9.1.1
Enhancements and Fixes
- ES|QL query builder integration with the DSL module (#3058)
- ES|QL query builder robustness fixes (#3017)
- Fix ES|QL
multi_match()signature (#3052)
API
- Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs
- Add Transform Set Upgrade Mode API
- Fix type of
fieldsparameter of Term Vectors API to array of strings - Fix type of
paramsparameter of SQL Query API to array
DSL
- Preserve the
skip_emptysetting into_dict()recursive serializations (#3041) - Add
separator_groupandseparatorsattributes toChunkingSettingstype - Add
primaryattribute toShardFailuretype - Fix type of
keyattribute ofArrayPercentilesItemto float
9.0.4
Enhancements and Fixes
- ES|QL query builder integration with the DSL module (#3058)
- ES|QL query builder robustness fixes (#3017)
- Fix ES|QL
multi_match()signature (#3052)
API
- Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs
- Add Transform Set Upgrade Mode API
- Fix type of
fieldsparameter of Term Vectors API to array of strings - Fix type of
paramsparameter of SQL Query API to array
DSL
- Preserve the
skip_emptysetting into_dict()recursive serializations (#3041) - Add
primaryattribute toShardFailuretype - Fix type of
keyattribute ofArrayPercentilesItemto float
8.19.1
Enhancements and Fixes
- ES|QL query builder integration with the DSL module (#3058)
- ES|QL query builder robustness fixes (#3017)
- Fix ES|QL
multi_match()signature (#3052)
API
- Add support for ES|QL query builder objects to ES|QL Query and Async Query APIs
- Add Amazon Sagemaker to Inference API
- Add
expand_wildcardsparameter to Snapshot Create API - Add Transform Set Upgrade Mode API
- Fix type of
paramsparameter of SQL Query API to array - Fix type of
fieldsparameter of Term Vectors API to array of strings
DSL
- Preserve the
skip_emptysetting into_dict()recursive serializations (#3041) - Add
ChunkingSettingstype - Add
SemanticTextIndexOptionstype - Add
exclude_vectorsattribute toSourceFiltertype - Add
SparseVectorIndexOptionstype - Add
execution_hintattribute toTDigesttype - Add
primaryattribute toShardFailuretype - Fix type of
keyattribute ofArrayPercentilesItemto float
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)
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
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
9.0.2
DSL
- Add
rescore_vectortoDenseVectorIndexOptions