Releases: neonmoe/minreq
2.12.0
A new convenience function, Request::with_headers! And in maintenance news, I added a schedule for the msrv job, so hopefully I'll notice it failing when it starts failing rather than on every new pull request.
Added
2.11.2
2.11.1
2.11.0
Nothing new in this version for those who don't care about the MSRV. For those who do, sorry, the crate no longer compiles out-of-the box with the newest versions of dependencies that Cargo resolves, so you need to pin some version in your Cargo.lock a bit lower. Instructions in the readme!
Changed
- Removed upper bounds on the
serde_json
,log
andchrono
dependencies (dev-dependency in the case ofchrono
). If you were depending on minreq compiling with the MSRV compiler without any issues, check out the MSRV section in the readme, it's been updated with additional instructions. Thanks for the report, @RCasatta! (#99)
2.10.0
Three years into this major release, and I'm still finding new and exciting features of HTTP! Turns out, requests should not contain fragments, and the semantics about replacing fragments from the original url with the redirects' fragment are only relevant if the user agent wants to see the "final version" of the URL. Thus, minreq no longer sends the fragment in the request, and now responses have an url
field.
Fixed
- Fragment handling, once again. Turns out you're not supposed to include fragments in the request. This may break usage with servers that are written with the wrong assumptions. Thanks for the report, @rawhuul! (#100)
Added
Response::url
andResponseLazy::url
fields, to contain the final URL after redirects and fragment replacement semantics.
2.9.1
2.9.0
Dependency cleanup release, including a few changes to examples and tests to get rid of serde_derive.
Changed
- From webpki to rustls-webpki. Thanks for the heads-up about webpki not being maintained, @RCasatta! (#98)
- Updated rustls and webpki-roots to their most recent versions.
- Maximum versions for the following dependencies to keep minreq compiling on Rust 1.48:
- serde_json (
>=1.0.0, <1.0.101
) - log (
>=0.4.0, <0.4.19
) - chrono (dev-dependency,
>=0.4.0, <0.4.24
)
- serde_json (
Fixed
- Errors when using an IP address as the host with HTTPS (tested with https://8.8.8.8). (#34)
2.8.1
2.8.0
2.7.0
Long time no release! This is a minor release thanks to the additions, explicitly the new Read impl for ResponseLazy, as well as --all-features
now actually working. That said, I would not recommend enabling all features when using the library, you'll get a lot of unnecessary dependencies with it, thanks to the overlapping https features.
Changed
- From lazy_static to once_cell for library internals. Thanks for the PR, @alpha-tango-kilo! (#80)
Added
- A Read impl for ResponseLazy. Thanks for the PR, @Luro02! (#81)
- Building with
--all-features
, with thesend_https
function defaulting to the rustls-based implementation. Thanks for the PR, @tcharding! (#89) - An explicit minimum supported rust version policy. The MSRV for versions 2.x is 1.48. Thanks for the suggestion and PR, @tcharding! (#90)
- Performance improvements, test fixes, CI updates.