Skip to content

Commit 35c6ddd

Browse files
committed
v0.10.0
1 parent c88d3b7 commit 35c6ddd

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

Diff for: CHANGELOG.md

+20-14
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
1-
# v0.10.0-alpha.2
2-
3-
- Add `Request::try_clone()` method.
4-
- Add HTTP2 window size configuration to `ClientBuilder`.
5-
- Add `Body::as_bytes()` method.
6-
- Add `Response::bytes()` method for WASM target.
7-
- Add `RequestBuilder::body()` method for WASM target.
8-
- Change to enable system/environment proxy detection by default.
9-
- Fix checking `HTTP_PROXY` environment variable if it the environment is from a CGI script.
10-
- Fix removal of username/password of parsed proxy URL.
11-
- Fix pinning `async-compression` dependency to last alpha.
12-
13-
# v0.10.0-alpha.1
1+
# v0.10.0
142

153
- Add `std::future::Future` support.
164
- Add `wasm32-unknown-unknown` support (with fewer features).
175
- Add ability to pass async `Response` as the `body` of another `Request`.
6+
- Add `Body::as_bytes()` method.
7+
- Add `Response::bytes_stream()` method to get body as an `impl Stream`.
8+
- Add `Request::try_clone()` method.
9+
1810
- Change default `Client` API to async. The previous blocking client API is avaialble at `reqwest::blocking`.
11+
- Change to no longer send a default `User-Agent` header. Add one via `ClientBuilder::user_agent()`.
12+
- Change to enable system/environment proxy detection by default.
13+
- Change `default-tls` feature to only include `ClientBuilder` options that both `native-tls` and `rustls` support.
1914
- Change default feature set to reduce unnecessary dependencies. Most features are disabled by default:
2015
- `blocking`: The `reqwest::blocking` (synchronous) client API.
2116
- `cookies`: Cookie store support.
2217
- `gzip`: Automatic response body decompression.
2318
- `json`: Request and response JSON body methods.
24-
- Change `futures::Stream` support to a disabled-by-default `unstable-stream` feature.
19+
- `stream`: `futures::Stream` support.
2520
- Change `Error` internal design, removing several `Error::is_*` inspector methods.
21+
- Change Redirect API:
22+
- Renamed types to be part of the `redirect` module (for example, `reqwest::RedirectPolicy` is now `reqwest::redirect::Policy`).
23+
- Removed `loop_detected` and `too_many_redirect` methods from `redirect::Attempt`, replaced with a generic `error` method.
24+
- The default policy no longer specifically looks for redirect loops (but they should be caught by the maximum limit).
25+
26+
- Fix checking `HTTP_PROXY` environment variable if it the environment is from a CGI script.
27+
- Fix removal of username/password of parsed proxy URL.
28+
2629
- Update `url` to v2.0.
30+
- Update `hyper` to v0.13.
31+
- Update `http` to v0.2.
32+
2733

2834
## v0.9.19
2935

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "reqwest"
3-
version = "0.10.0-alpha.2" # remember to update html_root_url
3+
version = "0.10.0" # remember to update html_root_url
44
description = "higher level HTTP client library"
55
keywords = ["http", "request", "client"]
66
repository = "https://github.com/seanmonstar/reqwest"

Diff for: README.md

-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ An ergonomic, batteries-included HTTP Client for Rust.
1414
- Cookie Store
1515
- [Changelog](CHANGELOG.md)
1616

17-
> *NOTE*: reqwest's [master](https://github.com/seanmonstar/reqwest) branch is currently
18-
preparing breaking changes, for most recently released code, look to the
19-
[0.9.x](https://github.com/seanmonstar/reqwest/tree/0.9.x) branch.
20-
2117
## Example
2218

2319
Async:

Diff for: src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![deny(missing_docs)]
22
#![deny(missing_debug_implementations)]
33
#![cfg_attr(test, deny(warnings))]
4-
#![doc(html_root_url = "https://docs.rs/reqwest/0.10.0-alpha.2")]
4+
#![doc(html_root_url = "https://docs.rs/reqwest/0.10.0")]
55

66
//! # reqwest
77
//!

0 commit comments

Comments
 (0)