Releases: elastic/elasticsearch-py
Releases · elastic/elasticsearch-py
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)
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
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)
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)