Changed the source and dest parameters of the reindex API to be required.
Mappings
Changed the fields parameter of the field_caps API to be required.
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
:warning: 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
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 from 7.16.1 to 8.1.1.
Release notes
Sourced from elasticsearch's releases.
... (truncated)
Commits
878f2ab
Update APIs to 8.1-SNAPSHOTa52999c
Bump version to 8.1.17d7b8ed
Update APIs to 8.1-SNAPSHOTeef5ba0
[8.1] Add release notes for 7.17.1e891c09
[8.1] Serialize 'sort' parameter into query when using shorthand format60a5830
[8.1] Add 8.0.0 release notes to elastic.co/guide568eb69
Update APIs to 8.1.0-SNAPSHOTbc261f0
[8.1] Require an non-beta elastic-transport~=8bc55096
[8.1] Generate complex types from Elasticsearch specification0b23a42
[8.1] Add cleanups for filters, calendars, transforms, jobsDependabot 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)