Releases: neonmoe/minreq
2.13.2
"Cleaned up" some code in 2.13.1, thinking that minreq doesn't have a build.rs, but it does, and the code could actually be enabled via an environment variable. Reverted that bit here.
Fixed
- Reverted a part of 2.13.1, accidentally removed some code that wasn't actually dead code.
2.13.1
Only affects builds using the https-bundled-probe
feature.
This is a tiny update to the copied-over native-tls cert loading code when using openssl-probe
without native-tls
, to avoid an apparently unsafe function in openssl-probe
.
Fixed
- Usage of an openssl-probe function that's deprecated due to safety issues. See rustsec/advisory-db#2209 for further info.
2.13.0
Small fixups all around, mostly code size improvements. In case your application depends specifically on webpki-roots
certs being used, but still uses the https-rustls-probe
feature, I'm afraid you'll have to stay on 2.12. I hope this isn't the case for anyone.
Also: periodic MSRV CI did its job! It took me 5 days to notice the notification, but still a big improvement in issue-appearance-to-fix-latency.
Changed
- The
https-rustls-probe
feature no longer brings in thewebpki-roots
andrustls-webpki
crates. Thanks for the report, @polarathene! (#111)
Fixed
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)