rust-etcd v0.7.0 Release Notes
Release Date: 2017-07-22 // over 6 years ago-
๐ฅ 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
(previouslyKeySpaceInfo
) 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.