pypi elasticsearch 7.10.0

latest releases: 8.13.0, 8.12.1, 8.12.0...
3 years ago

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 _source with "_op_type": "update" bulk helpers (#1387)
  • Added API stability to doc-strings of API methods and documentation (#1410)

Removed

  • Removed explicit yarl dependency from [async] extra to avoid issue where pip would override aiohttp's pin of yarl. 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 for RequestsHttpConnection (#1394)
  • Fixed a typo in AsyncTransport where sniff_timeout was used instead of sniffer_timeout (#1431, contributed by @HarrySky)

Basic APIs

Snapshot

  • Added snapshot.clone method

Index

  • Added require_alias parameter to multiple index APIs

X-Pack APIs

Point in Time

  • Added close_point_in_time and open_point_in_time methods

Security

  • Added security.clear_api_key_cache and security.grant_api_key methods

Machine Learning

  • Deprecated allow_no_jobs parameter of cat.ml_jobs and ml.close_job, ml.get_job_stats, ml.get_jobs, ml.get_overall_buckets methods in favor of allow_no_match parameter
  • Deprecated allow_no_datafeeds parameter of ml.get_datafeed_stats, ml.get_datafeeds, ml.stop_datafeed in favor of allow_no_match parameter
  • Deprecated include_model_definition parameter of ml.get_trained_models method in favor of include parameter

Don't miss a new elasticsearch release

NewReleases is sending notifications on new releases.