v0.8.0
This commit is contained in:
		
							
								
								
									
										25
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -1,3 +1,28 @@ | ||||
| # v0.8.0 | ||||
|  | ||||
| ### Features | ||||
|  | ||||
| - Client TLS Certificates (#43) | ||||
| - GZIP decoding has been added to the **async** Client (#161) | ||||
| - `ClientBuilder` and `RequestBuilder` hold their errors till consumed (#189) | ||||
| - `async::Response::body()` now returns a reference to the body instead of consuming the `Response` | ||||
| - A default timeout for `reqwest::Client` is used set to 30 seconds (#181) | ||||
|  | ||||
| ### Breaking Changes | ||||
|  | ||||
| - `Client::new` no longer returns a `Result`. | ||||
|  | ||||
|   To handle any panics that come from `Client::new`, the builder can be used instead. | ||||
| - `ClientBuilder` and `RequestBuilder` hold their errors till consumed (#189). | ||||
|  | ||||
|   This means a bunch of `?` will be going away, but means using the builders will be far easier now. Any error encountered inside the builders will now be returned when the builder is consumed. | ||||
|  | ||||
|   To get errors back immediately, the `Request` type can be used directly, by building pieces separately and calling setters. | ||||
| - `async::Response::body()` now returns a reference to the body instead of consuming the `Response`. | ||||
| - A default timeout for `reqwest::Client` is used set to 30 seconds (#181) | ||||
|  | ||||
|   For uses where the timeout is too short, it can be changed on the `ClientBuilder`, using the `timeout` method. Passing `None` will disable the timeout, reverting to the pre-0.8 behavior. | ||||
|  | ||||
| ## v0.7.3 | ||||
|  | ||||
| ### Features | ||||
|   | ||||
| @@ -1,11 +1,11 @@ | ||||
| [package] | ||||
| name = "reqwest" | ||||
| version = "0.7.3" # remember to update html_root_url | ||||
| version = "0.8.0" # remember to update html_root_url | ||||
| description = "higher level HTTP client library" | ||||
| keywords = ["http", "request", "client"] | ||||
| repository = "https://github.com/seanmonstar/reqwest" | ||||
| documentation = "https://docs.rs/reqwest" | ||||
| authors = ["Sean McArthur <sean.monstar@gmail.com>"] | ||||
| authors = ["Sean McArthur <sean@seanmonstar.com>"] | ||||
| license = "MIT/Apache-2.0" | ||||
| categories = ["web-programming::http-client"] | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| #![deny(warnings)] | ||||
| #![deny(missing_docs)] | ||||
| #![deny(missing_debug_implementations)] | ||||
| #![doc(html_root_url = "https://docs.rs/reqwest/0.7.3")] | ||||
| #![doc(html_root_url = "https://docs.rs/reqwest/0.8.0")] | ||||
|  | ||||
| //! # reqwest | ||||
| //! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user