Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate http to 0.2.0 #32

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 18, 2021

This PR contains the following updates:

Package Type Update Change
http dependencies minor 0.1.7 -> 0.2.0

Release Notes

hyperium/http (http)

v0.2.12

Compare Source

What's Changed

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

v0.2.11

Compare Source

What's Changed

  • Fix MIRI warnings in HeaderMap::iter().

v0.2.10

Compare Source

  • Fix parsing of Authority to handle square brackets in incorrect order.
  • Fix HeaderMap::with_capacity() to handle arithmetic overflow.

v0.2.9

Compare Source

  • Add HeaderName constants for cache-status and cdn-cache-control.
  • Implement Hash for PathAndQuery.
  • Re-export HeaderName at crate root.

v0.2.8

Compare Source

  • Fix internal usage of uninitialized memory to use MaybeUninit inside HeaderName.

v0.2.7

Compare Source

  • MSRV bumped to 1.49.
  • Add extend() method to Extensions.
  • Add From<Authority> and From<PathAndQuery> impls for Uri.
  • Make HeaderName::from_static a const fn.

v0.2.6

Compare Source

  • Upgrade internal itoa dependency to 1.0.

v0.2.5

Compare Source

  • Add is_empty() and len() methods to Extensions.
  • Add version_ref() method to request::Builder.
  • Implement TryFrom<Vec<u8>> and TryFrom<String> for Authority, Uri, PathAndQuery, and HeaderName.
  • Make HeaderValue::from_static a const fn.

v0.2.4

Compare Source

  • Fix Uri parsing to allow {, ", and } in paths.

v0.2.3

Compare Source

  • Upgrade internal (private) bytes dependency to 1.0.

v0.2.2

Compare Source

  • Fix (potential double) panic of (HeaderMap) OccupiedEntry::remove_entry and
    remove_entry_mult when multiple values are present. ([#​446], [#​449] dekellum)
  • Safety audits of (priv) ByteStr and refactor of Authority ([#​408], [#​414] sbosnick)
  • Fix HeaderName to error instead of panic when input is too long ([#​432] [#​433] acfoltzer)
  • Allow StatusCode to encode values 100-999 without error. Use of the
    unclassified range 600-999 remains discouraged. ([#​144], [#​438], [#​443] quininer dekellum)
  • Add String and &String fallible conversions to PathAndQuery ([#​450] mkindahl)
  • Fix Authority (and Uri) to error instead of panic on unbalanced brackets
    ([#​435], [#​445] aeryz)

v0.2.1

Compare Source

  • Fix parsing of Authority to handle square brackets in incorrect order.
  • Fix HeaderMap::with_capacity() to handle arithmetic overflow.

v0.2.0

Compare Source

  • Add Version::HTTP_3 constant.
  • Add HeaderValue::from_maybe_shared, HeaderValue::from_maybe_shared_unchecked, Uri::from_maybe_shared, Authority::from_maybe_shared, and PathAndQuery::from_maybe_shared.
  • Change request::Builder, response::Builder, and uri::Builder to use by-value methods instead of by-ref.
  • Change from HttpTryFrom trait to std::convert::TryFrom.
  • Change HeaderMap::entry to no longer return a Result.
  • Change HeaderMap::drain iterator to match the behavior of IntoIter.
  • Change Authority::port to return an Option<Port> instead of Option<u16>.
  • Change Uri::scheme to return Option<&Scheme> instead of Option<&str>.
  • Change Uri::authority to return Option<&Authority> instead of Option<&str>.
  • Remove InvalidUriBytes, InvalidHeaderNameBytes, and InvalidHeaderValueBytes error types.
  • Remove HeaderValue::from_shared, HeaderValue::from_shared_unchecked, Uri::from_shared, Authority::from_shared, Scheme::from_shared, and PathAndQuery::from_shared.
  • Remove Authority::port_part.
  • Remove Uri::scheme_part and Uri::authority_part.

v0.1.21

Compare Source

v0.1.20

Compare Source

  • Fix possible double-free if header::Drain iterator is std::mem::forgoten (#​357).
  • Fix possible data race if multiple header::ValueDrains are iterated on different threads (#​362).
  • Fix HeaderMap::reserve capacity overflows (#​360).
  • Fix parsing long authority-form Uris (#​351).

v0.1.19

Compare Source

  • Allow % in IPv6 addresses in Uri (#​343).

v0.1.18

Compare Source

  • Fix compilation of HeaderName parsing on WASM targets (#​324).
  • Implement HttpTryFrom<HashMap> for HeaderMap (#​326).
  • Export http::header::HeaderValue as http::HeaderValue.

v0.1.17

Compare Source

  • Add Error::inner_ref() to view the kind of error (#​303)
  • Add headers_ref() and headers_mut() methods to request::Builder and response::Builder (#​293)

v0.1.16

Compare Source

  • Fix Uri to permit more characters in the path (#​296)

v0.1.15

Compare Source

  • Fix Uri::host() to include brackets of IPv6 literals (#​292)
  • Add scheme_str and port_u16 methods to Uri (#​287)
  • Add method_ref, uri_ref, and headers_ref to request::Builder (#​284)

v0.1.14

Compare Source

  • Add Port struct (#​252, #​255, #​265)
  • Introduce Uri builder (#​219)
  • Empty Method no longer considered valid (#​262)
  • Fix Uri equality when terminating question mark is present (#​270)
  • Allow % character in userinfo (#​269)
  • Support additional tokens for header names (#​271)
  • Export http::headers::{IterMut, ValuesMut} (#​278)

v0.1.13

Compare Source

  • impl fmt::Display for HeaderName (#​249)
  • Fix uri::Authority parsing when there is no host after an @ (#​248)
  • Fix Uri parsing to allow more characters in query strings (#​247)

v0.1.12

Compare Source

  • Fix HeaderValue parsing to allow HTABs (#​244)

v0.1.11

Compare Source

  • Add From<&Self> for HeaderValue, Method, and StatusCode (#​238)
  • Add Uri::from_static (#​240)

v0.1.10

Compare Source

  • impl HttpTryFrom<String> for HeaderValue (#​236)

v0.1.9

Compare Source

  • Fix double percent encoding (#​233)
  • Add additional HttpTryFrom impls (#​234)

v0.1.8

Compare Source

  • Add fuller set of PartialEq for Method (#​221)
  • Reduce size of HeaderMap by using Box<[Entry]> instea of Vec (#​224)
  • Reduce size of Extensions by storing as Option<Box<AnyMap>> (#​227)
  • Implement Iterator::size_hint for most iterators in header (#​226)

Configuration

📅 Schedule: 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.

@renovate renovate bot force-pushed the renovate/http-0.x branch from 6b0e5b3 to 92b7a07 Compare March 7, 2022 09:36
@renovate renovate bot changed the title Update Rust crate http to 0.2.5 Update Rust crate http to 0.2.6 Mar 7, 2022
@renovate renovate bot changed the title Update Rust crate http to 0.2.6 Update Rust crate http to 0.2.7 May 16, 2022
@renovate renovate bot force-pushed the renovate/http-0.x branch from 92b7a07 to 126f9bb Compare May 16, 2022 00:56
@renovate renovate bot force-pushed the renovate/http-0.x branch from 126f9bb to 280f2ea Compare June 18, 2022 17:39
@renovate renovate bot changed the title Update Rust crate http to 0.2.7 Update Rust crate http to 0.2.8 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/http-0.x branch from 280f2ea to 27cb826 Compare March 16, 2023 22:04
@renovate renovate bot changed the title Update Rust crate http to 0.2.8 Update Rust crate http to 0.2.9 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/http-0.x branch from 27cb826 to 6a97529 Compare November 11, 2023 05:54
@renovate renovate bot changed the title Update Rust crate http to 0.2.9 Update Rust crate http to 0.2.10 Nov 11, 2023
@renovate renovate bot force-pushed the renovate/http-0.x branch from 6a97529 to 324bcc5 Compare November 14, 2023 20:41
@renovate renovate bot changed the title Update Rust crate http to 0.2.10 Update Rust crate http to 0.2.11 Nov 14, 2023
@renovate renovate bot force-pushed the renovate/http-0.x branch from 324bcc5 to 2c7c2ba Compare March 5, 2024 02:50
@renovate renovate bot changed the title Update Rust crate http to 0.2.11 Update Rust crate http to 0.2.12 Mar 5, 2024
@renovate renovate bot force-pushed the renovate/http-0.x branch from 2c7c2ba to 06bce2e Compare May 5, 2024 08:51
@renovate renovate bot changed the title Update Rust crate http to 0.2.12 Update Rust crate http to 0.2.0 May 5, 2024
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