Skip to content

Bump elasticsearch from 7.0.5 to 8.1.0#239

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

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

Conversation

@dependabot
Copy link

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

Bumps elasticsearch from 7.0.5 to 8.1.0.

Release notes

Sourced from elasticsearch's releases.

8.1.0

Transforms

  • Added the transform.reset_transform API

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

... (truncated)

Commits
  • 7d7b8ed Update APIs to 8.1-SNAPSHOT
  • eef5ba0 [8.1] Add release notes for 7.17.1
  • e891c09 [8.1] Serialize 'sort' parameter into query when using shorthand format
  • 60a5830 [8.1] Add 8.0.0 release notes to elastic.co/guide
  • 568eb69 Update APIs to 8.1.0-SNAPSHOT
  • bc261f0 [8.1] Require an non-beta elastic-transport~=8
  • bc55096 [8.1] Generate complex types from Elasticsearch specification
  • 0b23a42 [8.1] Add cleanups for filters, calendars, transforms, jobs
  • e93f887 [8.1] Rewrite the 'from' parameter from kwargs/query into 'from_'
  • b2d0bb5 [8.1] Require elastic-transport>=8.0.0b1
  • 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.1.0.
- [Release notes](https://github.com/elastic/elasticsearch-py/releases)
- [Commits](elastic/elasticsearch-py@7.0.5...v8.1.0)

---
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 9, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 23, 2022

Superseded by #256.

@dependabot dependabot bot closed this Mar 23, 2022
@dependabot dependabot bot deleted the dependabot/pip/develop/elasticsearch-8.1.0 branch March 23, 2022 01:19
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