From fb228d8536b041f26f53f7b6eaa3ff56238d9f2c Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Tue, 2 Mar 2021 11:11:33 -0800 Subject: [PATCH] 2.2.0 If you use the `h1-client`, upgrading to this release is recommended. - `h1-client-rustls` feature flag, for using the [`async-h1`](https://github.com/http-rs/async-h1) client with [`rustls`](https://github.com/ctz/rustls) as the TLS backend. - The TLS backend for `h1-client` is still `async-native-tls`. - Per-request middleware, provided by `RequestBuilder::middleware(&mut self, impl Middleware)`. - `AsRef` and `AsMut` for `surf::Request` and `surf::Response`. - Relative redirects should now be handled by the `RedirectMiddleware`. - The `h1-client` feature should now properly work with `http-client` 6.3.0+ without additional feature specification. - The `http` docs now link to the live, up-to-date `http_types` docs. - Various CI improvements. --- CHANGELOG.md | 20 ++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92fc95a6..c963606d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview ## [Unreleased] +## [2.2.0] - 2021-03-02 + +If you use the `h1-client`, upgrading to this release is reccomended. + +### Additions +- `h1-client-rustls` feature flag, for using the [`async-h1`](https://github.com/http-rs/async-h1) client with [`rustls`](https://github.com/ctz/rustls) as the TLS backend. + - The TLS backend for `h1-client` is still `async-native-tls`. +- Per-request middleware, provided by `RequestBuilder::middleware(&mut self, impl Middleware)`. +- `AsRef` and `AsMut` for `surf::Request` and `surf::Response`. + +### Fixes +- Relative redirects should now be handled by the `RedirectMiddleware`. +- The `h1-client` feature should now properly work with `http-client` 6.3.0+ without additional feature specification. + +### Docs +- The `http` docs now link to the live, up-to-date `http_types` docs. + +### Internal +- Various CI improvements. + ## [2.1.0] - 2020-10-23 This minor release contains follow-up fixes and improvements to Surf 2.0. diff --git a/Cargo.toml b/Cargo.toml index 36cf50c0..cb9ae4a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "surf" -version = "2.1.0" +version = "2.2.0" license = "MIT OR Apache-2.0" repository = "https://github.com/http-rs/surf" documentation = "https://docs.rs/surf"