Skip to content

Bump elasticsearch from 7.0.5 to 8.0.1#229

Closed
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/pip/develop/elasticsearch-8.0.1
Closed

Bump elasticsearch from 7.0.5 to 8.0.1#229
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/pip/develop/elasticsearch-8.0.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 2, 2022

Bumps elasticsearch from 7.0.5 to 8.0.1.

Release notes

Sourced from elasticsearch's releases.

8.0.1

Client

  • Fixed the sort parameter of multiple APIs to serialize in the query string when using the shorthand form

Indices

  • Fixed the index parameter to be required for the indices.field_usage_stats API

SQL

  • Added the catalog, keep_alive, keep_on_completion, params, runtime_mappings, and wait_for_completion_timeout parameters to the sql.query API

8.0.0

⚠️ 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 to Elasticsearch and AsyncElasticsearch for modifying transport options.
  • Added parameters corresponding to JSON request body fields for all APIs
  • Added basic_auth parameter for specifying username and password authentication
  • Added bearer_auth parameter for specifying an HTTP bearer token or service token
  • Added the meta property to ApiError to access the HTTP response metadata of an error.
  • Added a check that a compatible version of the elastic-transport package is installed.

Changed

  • Changed the transport layer to use the elastic-transport package
  • Changed user-defined body parameters to have semantic names (e.g index(document={...}) instead of index(body={...})).
  • Changed responses to be objects with two properties, meta for response metadata (HTTP status, headers, node, etc) and body for a typed body.
  • Changed AsyncElasticsearch to always be available, regardless of whether aiohttp is installed
  • Changed exception hierarchy, the major change is a new exception ApiError which differentiates between an error that's raised from the transport layer (previously elasticsearch.exceptions.TransportError, now elastic_transport.TransportError) and one raised from the API layer
  • Changed the name of JSONSerializer to JsonSerializer for 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.connection module as all functionality has been moved to the elastic-transport package
  • Removed the default URL of http://localhost:9200 due to Elasticsearch 8.0 default configuration being https://localhost:9200. The client's connection to Elasticsearch now must be specified with scheme, host, and port or with the cloud_id parameter
  • Removed the ability to use positional arguments with API methods. Going forward all API parameters must be keyword-only parameters

Deprecated

  • Deprecated the body and params parameters on all APIs
  • Deprecated setting transport options http_auth, api_key, ignore, request_timeout, headers, and opaque_id

... (truncated)

Commits
  • 74aa9de [8.0] Serialize 'sort' parameter into query when using shorthand format
  • 3c788d2 Bump version to 8.0.1
  • f882d48 [8.0] Add 8.0.0 release notes to elastic.co/guide
  • fd191ba Update APIs to 8.0.0-SNAPSHOT
  • 079c268 [8.0] Require an non-beta elastic-transport~=8
  • 9d44d05 [8.0] Generate complex types from Elasticsearch specification
  • 0eb9f8f Bump version to 8.0.0
  • b359f71 Release 8.0.0b2
  • 44fbea3 [8.0] Add cleanups for filters, calendars, transforms, jobs
  • 7391f3b [8.0] Rewrite the 'from' parameter from kwargs/query into 'from_'
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [elasticsearch](https://github.com/elastic/elasticsearch-py) from 7.0.5 to 8.0.1.
- [Release notes](https://github.com/elastic/elasticsearch-py/releases)
- [Commits](elastic/elasticsearch-py@7.0.5...v8.0.1)

---
updated-dependencies:
- dependency-name: elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 2, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 9, 2022

Superseded by #239.

@dependabot dependabot bot closed this Mar 9, 2022
@dependabot dependabot bot deleted the dependabot/pip/develop/elasticsearch-8.0.1 branch March 9, 2022 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments