Releases: elastic/elasticsearch-rs
v7.9.0-alpha.1
v7.8.1-alpha.1...v7.9.0-alpha.1
Features & Enhancements
- #118 Add
ElasticsearchException
to model Elasticsearch exceptions (issue: #112) - #121 Update rest specs to 7.9 and regenerate client
- #127 Expose dangling indices APIs
- #132 Add support for global and per call request timeouts (issue: #116)
Breaking Changes
-
#132 Add support for global and per call request timeouts (issue: #116)
The addition of per API call timeouts has added an additional timeout parameter to the
Transport
send function, which is a breaking change if you are using this function directly for beta or experimental APIs. This function is likely to be refactored in the future (see #132)
View the full list of issues and PRs
v7.8.1-alpha.1
v7.8.0-alpha.1...v7.8.1-alpha.1
Features & Enhancements
- #117 Add
Debug
impl forResponse
(issue: #113) - #119 Return warning description only from warning headers
- #124 Update rest specs to 7.8 and regenerate client
Bug Fixes
- #114 Make _id optional on Bulk index operation
Breaking Changes
- #114 Make _id optional on Bulk index operation
CI & testing
- #125 Rename CI certificates
Uncategorized
- #115 Remove unnecessary default-tls feature (issue: #111) - thanks @mwilliammyers 👍
View the full list of issues and PRs
v7.8.0-alpha.1
v7.7.1-alpha.1...v7.8.0-alpha.1
Features & Enhancements
- #106 Update REST specs to 7.8
Documentation & Examples
- #103 Add Examples directory
CI & testing
Breaking Changes
- #107 Pass Transport to builder structs
View the full list of issues and PRs
v7.7.1-alpha.1
v7.7.0-alpha.1...v7.7.1-alpha.1
Features & Enhancements
- #95 Encode values passed to Parts enums
- #96 Add method, url, content_length and content_type to Response (issue: #6)
- #98 Add yaml test runner project (issue: #19)
- #101 Add Certificate newtype that supports CA chains. (issue: #100) thanks @reyk 👍
Breaking Changes
-
#101 Add Certificate newtype that supports CA chains. (issue: #100)
This introduces a new
Certificate
struct to the library that can handle PEM encoded certificate chains. Previously,CertificateValidation::Full(Certificate)
andCertificateValidation::Certificate(Certificate)
took areqwest::Certificate
. Now, they take the libraryCertificate
struct.
Uncategorized
- #94 Add license headers and NOTICE.txt
View the full list of issues and PRs
v7.7.0-alpha.1
v7.6.1-alpha.1...v7.7.0-alpha.1
Highlights
elasticsearch crate now compiles on stable channel! Rust nightly is required only to run doc tests against README.md, which are conditionally included when compiling with nightly.
The read_body()
fn on Response
has been renamed to json
. With the introduction of a read_body_as_text()
fn to read the body as plain text, the function names were overly verbose. The renames to json
and text
better align with what each returns, respectiviely.
Features & Enhancements
- #72 Use text/plain content-type and accept headers for cat APIs (issue: #71)
- #81 Update to 7.7 rest specs
- #85 Add default global HTTP headers (issue: #83)
- #88 Add deprecation warning headers
- #89 Allow elasticsearch to work with rust stable (issue: #87)
Breaking Changes
- #72 Use text/plain content-type and accept headers for cat APIs (issue: #71)
- #84 Rename read_body and read_body_as_text (issue: #74)
Documentation
- #73 Add markdown examples into generated client (issues: #66, #67)
- #82 Add note about tokio runtime (issue: #80)
- #92 Making changes to main and Build error in parsing response (issue: #91). thanks @srikwit 👍
View the full list of issues and PRs
v7.6.1-alpha.1
v7.6.0-alpha.1...v7.6.1-alpha.1
Features & Enhancements
- #46 Add error_for_status_code methods to Response (issue: #28) thanks @mwilliammyers 👍
- #56 BulkOperation builder implementations (issue: #43)
- #60 Add Certificate validation (issue: #55)
- #68 Provide native-tls and rustls-tls features (issue: #44)
- #69 Generate client from v7.6.1 REST API specs
View the full list of issues and PRs
v7.6.0-alpha.1
v7.5.2-alpha.1
Features
- #52 Model
track_total_hits
as enum - #42 Update
Body
trait so that you can pass any&'a impl Body
, and giveBytes
a way to set the request body without having to do any copying. Thanks @KodrAus 👍 - #49 Implement
Sync
andSend
onConnectionPool
trait. Thanks @iostat 👍 - #41 Make the top level
Error
type opaque. Thanks @KodrAus 👍
Bug fixes
Misc
- #51 Update to v7.5.2 rest specs
- #45 Relax dependency versions. Thanks @mwilliammyers 👍
- #40 Update
objekt
dependency todyn-clone
. Thanks @bryantbiggs 👍
v7.5.1-alpha.1
Initial release