All Versions
59
Latest Version
Avg Release Cycle
30 days
Latest Release
61 days ago
Changelog History
Page 6
Changelog History
Page 6
-
v0.6.1
๐ 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
๐ 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
๐ Fixes
- ๐ fix panic with Gzip decoder on an empty body (https://github.com/seanmonstar/reqwest/issues/82)
-
v0.5.1
๐ Features
- โ add
Clone
implementation forClient
- โ add
-
v0.5.0
๐ 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,
-
v0.4.0
- โก๏ธ updated to serde 0.9
-
v0.3.0
- โก๏ธ updated to hyper 0.10
-
v0.2.0
๐ Features
- โ add
Response.json()
method (https://github.com/seanmonstar/reqwest/commit/2d10ecc99e2aaed66616294baaf65380b446e1c6) - โ add
RedirectPolicy
(https://github.com/seanmonstar/reqwest/commit/e92b3e862a1a94c0b4173a7d49a315bc121da31e) - set an
Accept: */*
header by default if noAccept
header is set (https://github.com/seanmonstar/reqwest/commit/559ae8011a2c098f4fe1821ec1d3444a46f4bf5e) - โ add support for 307 and 308 redirects (https://github.com/seanmonstar/reqwest/commit/a54447c1d9c75dab639333265f51a91a43e99c2e)
- ๐ implement
Sync
forClient
, andSend
forRequestBuilder
andResponse
(https://github.com/seanmonstar/reqwest/commit/d18a53b3fcc81c4a60875755c8e95d777a343319) - implement
Send
forError
(https://github.com/seanmonstar/reqwest/commit/20b161096e67d22c962e69b2656ae9741ac73c25) - implement
std::fmt::Debug
for all public types (https://github.com/seanmonstar/reqwest/commit/d624b0ef29020c6085ec94651a990f58ccd684e2)
๐ฅ Breaking Changes
- ๐
Error::Serialize
now has aBox<StdError + Send + Sync>
instead ofBox<StdError>
RequestBuilder
no longer has an associated lifetime (wasRequestBuilder<'a>
)
- โ add
-
v0.1.0
๐ Initial release: http://seanmonstar.com/post/153221119046/introducing-reqwest