Skip to content

fix(deps): update rust crate http to v1 - #114

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/http-1.x
Open

fix(deps): update rust crate http to v1#114
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/http-1.x

Conversation

@renovate

@renovate renovate Bot commented May 5, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
http dependencies major 0.2.91.0.0

Release Notes

hyperium/http (http)

v1.5.0

Compare Source

  • Add Method::QUERY constant for the new QUERY method defined in RFC 10008.
  • Fix uri::Builder::path_and_query() to allow empty strings to mean no path.
  • Fix uri::PathAndQuery parsing to enforce URI max length.

v1.4.2

Compare Source

  • Fix uri::Builder to allow "*" as the path when scheme and authority are also set, used in HTTP/2 requests.
  • Fix Uri to properly reject DEL characters.

v1.4.1

Compare Source

  • Fix PathAndQuery::from_static() and from_shared() to reject inputs that do not start with /.
  • Fix Extend for HeaderMap to clamp max size hint and not overflow.
  • Fix header::IntoIter that could use-after-free if the generic value type could panic on drop.
  • Fix header::{IterMut, ValuesIterMut} to not violate stacked borrows.

v1.4.0

Compare Source

  • Add StatusCode::EARLY_HINTS constant for 103 Early Hints.
  • Make StatusCode::from_u16 now a const fn.
  • Make Authority::from_static now a const fn.
  • Make PathAndQuery::from_static now a const fn.
  • MSRV increased to 1.57 (allows legible const fn panic messages).

v1.3.1

Compare Source

  • Fix validation that all characters are UTF-8 in URI path and query.

v1.3.0

Compare Source

  • Allow most UTF-8 characters in URI path and query.
  • Fix HeaderMap::reserve() to allocate sufficient capacity.

v1.2.0

Compare Source

  • Add StatusCode::TOO_EARLY constant for 425 status.
  • Loosen TryFrom<HashMap> for HeaderMap to work with any state generic.
  • Change Builder methods to use TryInto instead of TryFrom arguments.
  • Make StatusCode::as_u16 a const function.
  • Fix Method parsing to allow #$%&' characters.
  • Fix HeaderName parsing to reject " characters.
  • Fix off by 1 error in Method::from_bytes that could cause extra allocations.

v1.1.0

Compare Source

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Add Extensions::get_or_insert() method.
  • Implement From<Uri> for uri::Builder.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

v1.0.0

Compare Source

  • Implement Clone for Request, Response, and Extensions. This breaking change requires
    that all extensions now implement Clone.
  • Add a default-on std feature. Disabling it currently is not supported.
  • Fix MIRI warnings in HeaderMap::iter().

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants