Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Bump minreq from 2.2.1 to 2.6.0 #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 28, 2022

Bumps minreq from 2.2.1 to 2.6.0.

Release notes

Sourced from minreq's releases.

2.6.0

First off, about the GitHub releases: every version between 2.0.1 and 2.6.0 seems to have been nuked, unfortunately. Sorry, if you were leaning on those. I accidentally removed the tags on github by pushing with --mirror from a version that did not have the tags. I managed to recover the tags, but GitHub seems to have misplaced the releases for the newer tags. Don't know why. The crates.io releases obviously still exist, and all the changes can be seen in the changelog.

Now, the actual 2.6.0. This time we have one new feature by @​alpha-tango-kilo, urlencoding, which encodes any special characters in the url so that it can be properly handled by regular http servers. Previously, the idea was to leave the encoding up to the user, but as an optional feature, you can now avoid that manual work by using this feature. Overall internals improvements are included in this release as well.

Changed

  • The error returned when the request url does not start with https:// or http:// is now a slightly different IoError, with a clearer message. This will be changed to a proper minreq-specific error in 3.0, but for now it's an IoError to avoid breaking the Error type.

Fixed

  • The crate-internal function parse_url now properly handles missing protocols (which is the cause for the change above). Thanks for the report, @​alpha-tango-kilo! (#70)

Added

2.5.1

Rustls updated from 0.19 to 0.20 and general cleanup.

Fixed

  • GitHub API requests without User-Agent returning an IoError (seemingly caused by rustls 0.19). Thanks for the report, @​tech-ticks! (#66)

2.5.0

Switched to Github Actions from Travis CI, and some fixes. Minor version bump because the "expected length" reported by ResponseLazy is now capped at 16 KiB, so your code may behave differently. No API changes though. Next up: hopefully 3.0!

Fixed

  • Returning the wrong status code when the response was missing a status phrase. Thanks for the PR, @​richarddd! (#64)
  • Non-lazy requests crashing if the request had a very big Content-Length header. Thanks for the report, @​Shnatsel! (#63)

2.4.2

Fixed

  • A regression in 2.4.1 where the port is no longer included in the Host, even if it's a non-standard port. Now the port is always included if it's in the request URL, and omitted if the port is implied. Thanks for the report, @​ollpu! (#61)

2.4.1

Fixed

  • The port is no longer included in the Host header when sending requests, and port handling was cleaned up overall. This fixes issues with infinite redirections and https handshakes for some websites. Thanks to @​Shnatsel for reporting the issues, and @​joeried for debugging and figuring out the root cause of these problems! (#48, #49)

2.4.0

Added

  • Request::with_param for more ergonomic query parameter usage. Thanks for the PR, @​sjvignesh! (#54)
  • Request::with_max_headers_size and Request::with_max_status_line_length for avoiding DoS when the server sends large headers or status lines. Thanks for the report, @​Shnatsel! (#55)
  • Support for the rustls-native-certs crate via a new https-rustls-probe feature. Thanks for the PR, @​joeried! (#59)

Fixed

  • Chunk length handling for some servers with slightly off-spec chunk lengths. Thanks for the report, @​Shnatsel! (#50)
  • Timeouts not always being properly enforced. Thanks for the report, @​Shnatsel! (#52)

2.3.1

Fixed

  • Removed some leftover printlns from the redirection update in 2.3.0 and ensured there's no printlns in the library anymore. Thanks for reporting the issue @​Shnatsel! #45
  • Fixed the timeout not being respected during the initial TCP connect. Thanks for the report and fix @​KarthikNedunchezhiyan! #46, #47

... (truncated)

Changelog

Sourced from minreq's changelog.

[2.6.0] - 2022-02-23

Changed

  • The error returned when the request url does not start with https:// or http:// now is now a slightly different IoError, with a clearer message. This will be changed to a proper minreq-specific error in 3.0, but for now it's an IoError to avoid breaking the Error type.

Added

[2.5.1] - 2022-01-07

Fixed

  • GitHub API requests without User-Agent returning an IoError. Thanks for the report, @​tech-ticks! (#66)

[2.5.0] - 2022-01-06

Fixed

  • Returning the wrong status code when the response was missing a status phrase. Thanks for the PR, @​richarddd! (#64)
  • Non-lazy requests crashing if the request had a very big Content-Length header. Thanks for the report, @​Shnatsel! (#63)

[2.4.2] - 2021-06-11

Fixed

  • A regression in 2.4.1 where the port is no longer included in the Host, even if it's a non-standard port. Now the port is always included if it's in the request URL, and omitted if the port is implied. Thanks for the report, @​ollpu! (#61)

[2.4.1] - 2021-06-05

Fixed

  • The port is no longer included in the Host header when sending requests, and port handling was cleaned up overall. This fixes issues with infinite redirections and https handshakes for some websites. Thanks to @​Shnatsel for reporting the issues, and @​joeried for debugging and figuring out the root cause of these problems! (#48, #49)

[2.4.0] - 2021-05-27

Added

  • Request::with_param for more ergonomic query parameter

... (truncated)

Commits
  • b09f581 Release 2.6.0
  • 46dc7e2 Update changelog, revert new error additions
  • cd37bed Fix clippy issue and remove outdated comment
  • 6c37807 Simplify parse_url
  • 00e4c83 Add InvalidProtocol error if url doesn't start with http(s)://
  • 2fecda7 Add lint workflow for rustfmt and clippy
  • 878e7cb Encoding unit tests
  • efe8a57 Add urlencoding feature
  • 01ef317 Bump to dev version
  • 958c7c6 Release 2.5.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [minreq](https://github.com/neonmoe/minreq) from 2.2.1 to 2.6.0.
- [Release notes](https://github.com/neonmoe/minreq/releases)
- [Changelog](https://github.com/neonmoe/minreq/blob/master/CHANGELOG.md)
- [Commits](neonmoe/minreq@2.2.1...2.6.0)

---
updated-dependencies:
- dependency-name: minreq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants