All Versions
74
Latest Version
Avg Release Cycle
30 days
Latest Release
-
Changelog History
Page 7
Changelog History
Page 7
-
v0.7.3 Changes
๐ Features
Proxy::custom(fn)
to allow dynamically picking a proxy URL
๐ Fixes
- ๐ fix occasional panic when program exits while
Client
orResponse
are dropping.
-
v0.7.2 Changes
๐ Fixes
- ๐ fix a panic when redirecting and a
Authorization<Basic>
header was added (https://github.com/seanmonstar/reqwest/commit/cf246d072badd9b31b487e7a0b00490e4cc9584f) - ๐ fix redirects so that a GET will follow 307/308 responses (https://github.com/seanmonstar/reqwest/commit/2d11a4bd7167e1bf3a35b62f5aeb36d5d294e56e)
- ๐ fix a panic when redirecting and a
-
v0.7.1 Changes
๐ Fixes
- ๐ fix remove accidental
println
s in the sending of a body - ๐ some documentation improvements
- ๐ fix remove accidental
-
v0.7.0 Changes
๐ Features
- ๐ Proxy support (#30)
- Self-signed TLS certificates (#97)
- Disabling TLS hostname validation ย (#89)
- A
Request
type that can be used instead of theRequestBuilder
(#85) - Add
Response::error_for_status()
to easily convert 400 and 500 status responses into anError
(#98) - โฌ๏ธ Upgrade hyper to 0.11
- Synchronous
Client
remains. - Timeouts now affect DNS and socket connection.
- Pool much better at evicting sockets when they die.
- An
unstable
Cargo feature to enablereqwest::unstable::async
.
- Synchronous
- ๐ A huge docs improvement!
๐ Fixes
- Publicly exports
RedirectAction
andRedirectAttempt
- ๐
Error::get_ref
returnsError + Send + Sync
๐ฅ Breaking Changes
- โฌ๏ธ hyper has been upgraded to 0.11, so
header
,StatusCode
, andMethod
have breaking changes. mime
has been ugpraded to 0.3, with a very different API.- ๐ง All configuration methods have been removed from the
Client
, and moved to theClientBuilder
. - ๐ The
HttpVersion
type was completely removed. Error::cause()
now returnsError::get_ref().cause()
.- ๐ All methods on
Client
that start aRequestBuilder
now return aResult
immediately, instead of delaying the URL parse error for later. - ๐ The
RequestBuilder
methods all take&mut self
, instead of moving the builder, and return&mut Self
. (This shouldn't actually affect most people who are building a request in a single chain.) Response::status()
returns aStatusCode
instead of&StatusCode
.
-
v0.6.2 Changes
๐ Features
- โ adds
Client::referer(bool)
option to disable setting theReferer
header during redirects (https://github.com/seanmonstar/reqwest/commit/bafcd7ae6fc232856dd6ddb8bf5b20dbbbfe0bc9)
๐ Fixes
- ๐ fixes filtering sensitive headers during redirects (https://github.com/seanmonstar/reqwest/issues/10)
- ๐ fixes sending of the Referer to an HTTP site when coming from HTTPS, and removes username and fragment explicitly (https://github.com/seanmonstar/reqwest/commit/d8696045b4c6bc4d9e33789cff6a9e1fa75462d7)
- ๐ documentation updates
- โ adds
-
v0.6.1 Changes
๐ Features
- โ adds
Error::get_ref
to get the underlying error that may have occurred. Includes a'static
bounds, which allows for downcasting (as opposed toError::cause
).
- โ adds
-
v0.6.0 Changes
๐ Features
- โฌ๏ธ Upgraded to serde
1.0
- โ Added a
url
method toError
, which returns a possible associatedUrl
that occurred with this error. - Added
req.basic_auth(user, optional_pass)
method to ease usingBasic
authentication.
๐ฅ Breaking Changes
- โฌ๏ธ The publicly exposed peer dependency serde was upgraded. It is now
[email protected]
. Mismatched version will give a compiler error that a serde trait is not implemented. Error
is no longer anenum
, but an opaque struct. Details about it can be checked withstd::error::Error::cause()
, and methods onreqwest::Error
includeis_http()
,is_serialization()
, andis_redirect()
.- ๐
RedirectPolicy::custom
receives different arguments, and returns different values. See the docs for an example.
- โฌ๏ธ Upgraded to serde
-
v0.5.2 Changes
๐ Fixes
- ๐ fix panic with Gzip decoder on an empty body (https://github.com/seanmonstar/reqwest/issues/82)
-
v0.5.1 Changes
๐ Features
- โ add
Clone
implementation forClient
- โ add
-
v0.5.0 Changes
๐ Features
- 0๏ธโฃ Automatic GZIP decoding: By default,
Client
will try to decode any responses that appear to be gzip encoded (based on headers). This can be disabled viaclient.gzip(false)
(https://github.com/seanmonstar/reqwest/commit/ab5e477a123319efd4b17f3666b41b44ec244bee) - โฑ Specify a timeout for requests using
client.timeout(duration)
. (https://github.com/seanmonstar/reqwest/commit/ec049fefbae7355f6e4ddbbc7ebedcadb30e1e04) - Request bodies with a known length can be constructed with
Body::sized()
(https://github.com/seanmonstar/reqwest/commit/82f1877d4b6cba2fac432670ec306160aee5c501) - โ Add
Client.put
,Client.patch
, andClient.delete
convenience methods (https://github.com/seanmonstar/reqwest/commit/c37b8aa0338ac4142763d206c6df79856915056d, https://github.com/seanmonstar/reqwest/commit/4d6582d22b23c27927e481a9c8a83ad08cfd1a2a, https://github.com/seanmonstar/reqwest/commit/a3983f3122b2d1495ea36bb5a8fd019a7605ae56) - โ Add
reqwest::mime
(https://github.com/seanmonstar/reqwest/commit/0615c6d65e03ba9cb5364169c9e74f4f2a91554b)
๐ฅ Breaking Changes
โช The only breaking change is a behavioral one, all programs should still compile without modification. The automatic GZIP decoding could interfere in cases where a user was expecting the GZIP bytes, either to save to a file or decode themselves. To restore this functionality, set
client.gzip(false)
. - 0๏ธโฃ Automatic GZIP decoding: By default,