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 (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.