Skip to content

0.7.0

Compare
Choose a tag to compare
@jimmycuadra jimmycuadra released this 22 Jul 23:11
· 38 commits to master since this release

Breaking changes:

0.7.0 is a major update with many breaking changes. The biggest ones are listed below.

  • The crate now uses asynchronous I/O with the futures and tokio crates.
  • API functions have been moved into separate modules.
  • The error enum has several structural changes.
  • Some API endpoint functions that previously had many positional arguments now take an options struct.
  • The "action" field on KeyValueInfo (previously KeySpaceInfo) is now an enum instead of a string.
  • A few struct fields which were previously optional are now always present.
  • The main client type now has three constructors, one for HTTP, one for HTTPS, and one that allows the user to pass in a previously-constructed hyper::Client for full customization of the HTTP layer. The custom constructor is also necessary for X.509 client certificate authentication.

New features:

  • All I/O is now asynchronous.
  • "Watch" operations on the key-value API can now specify timeouts.
  • Cluster metadata provided in HTTP response headers are now accessible.

Improvements:

  • Major updates to documentation.