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