Skip to content

Latest commit

 

History

History
164 lines (103 loc) · 5.67 KB

CHANGELOG.md

File metadata and controls

164 lines (103 loc) · 5.67 KB

1.4.0 (2021-10-29)

  • Minimum supported rust version (MSRV) is now 1.46.0 (http 0.2.5 MSRV is also 1.46.0).

  • Upgrade to language-tags 0.3.1. (#35)

  • Remove httparse dependency and conversion from httparse::Error to hyperx::Error. In the presumed unlikely event that this conversion is used externally, this is a potential breaking change, risked in a minor release. (#32)

  • Broaden httpdate dependency to include the 1.0 major release.

  • Add docs to cookie headers recommending use of the cookie crate. (#30)

1.3.1 (2021-10-28)

  • Broaden bytes dependency to include 1.1.

  • Broaden httparse dependency to include 1.4.

  • Clarify MSRV policy in README.md.

1.3.0 (2021-1-8)

  • Remove log dependency, which was only used sparsely as a poor workaround for unspecific Error::Header errors. (#25)

  • Upgrade to bytes 1.0.0 (paolobarbolini #31)

  • Lift prior constraint on http dependency (optimistically hoping for no further 0.2.z anomalous releases).

1.2.1 (2021-1-7)

  • Constrain http dependency to <0.2.3 for remaining 1.2 series due to dubious release practices, e.g. forcing duplicates in patch releases. This will be lifted in 1.3.0, see this github comment.

1.2.0 (2020-10-6)

  • Replace use of time crate with httpdate crate for date/time typed headers (paolobarbolini #24)

  • Broaden base64 dependency to include 0.13.0 (dvermd #23)

1.1.0 (2020-8-29)

  • Fix various compile warnings with rustc 1.44 and later.

  • Broaden base64 dependency to include 0.12.0 (paolobarbolini #20)

1.0.0 (2020-1-3)

  • The default compat feature is no longer optional, as its unlikely that anyone would be using recent versions without this feature. The feature gate name is retained for now, but has no effect.

  • Place the legacy Headers struct under a new non-default headers feature gate. Note that use of this type is no longer required nor recommended for parsing and serialization of typed headers. See the rewritten typed header doc examples. Consider replacing with the http crate HeaderMap and the TypedHeaders extension trait introduced here in 0.15.0. (#18)

  • Upgrade to http 0.2.0 (\w API changes) and bytes 0.5.2 (MSRV 1.39.0)

  • Upgrade (unconstrain) cfg-if dependency to 0.1.10 (MSRV 1.31.0)

  • Upgrade to unicase 2.6.0

  • Upgrade to percent-encoding 2.1.0 (\w API changes, MSRV 1.33.0) (#15)

  • Upgrade to time 0.1.39 to avoid minimal version build failure

  • Broaden base64 dependency to include 0.11.0 (MSRV 1.34.0)

  • MSRV is now 1.39.0, based on above upgrades.

0.15.2 (2019-10-1)

  • Constrain transitive cfg-if dependency to <0.1.10 to preserve MSRV 1.27.2.

  • Narrow various other dependencies for future reliability. We may subsequently make PATCH releases which broaden private or public dependencies to include new releases found compatible.

0.15.1 (2019-6-3)

  • Fix build.rs for rustc --version not including git metadata (alyssais #14)

0.15.0 (2019-5-8)

  • Add a TypedHeaders extension trait providing more convenient generic encode/decode methods to http::HeaderMap for hyperx typed headers, implemented using a new StandardHeader trait and standard_header! macro, with an associate function for the HeaderName constants of the http crate. (#13)

  • Add reference based impl From<&'a Headers> for http::HeaderMap for symmetry and performance, e.g. avoiding a clone. (#13)

  • Increase MSRV to 1.27.2, which enables us to revert a CI workaround for the fact that base64 0.10.1 was released with this same MSRV. (#10 #12)

  • Add a build.rs to check MSRV and fail fast with a clear error when older rustc versions are used. (#12)

0.14.0 (2019-1-4)

  • Update the signature of Header::parse_header to be generic over types implementing a new RawLike trait, which includes the existing local Raw type as well as http crate types HeaderValue and (HeaderMap::get_all) GetAll. This avoids an allocation when directly parsing from these later types.

    Expected Breakage: Any 3rd-party custom headers directly implementing parse_header will need to change accordingly on upgrade. Also Into conversions to Raw now frequently need to be type annotated. (#8)

  • Improve header module rustdoc, including with parsing usage for the above.

0.13.2 (2019-1-2)

  • Remove un-exported, and unused as of 0.13.1, uri module and related code.

  • Broaden base64 dependency to include 0.10.0, passing tests.

  • Silence a deprecation warning for str::trim_right_matches until the minimum rust version is updated to 1.30.0.

0.13.1 (2018-6-26)

  • Remove error::UriError re-export and error::Canceled which are unused internally and where not exported from this crate. (#5)

0.13.0 (2018-6-18)

  • Remove variants from hyperx::Error which are unused by the header module. Exhaustive matching has been discouraged for this enum, but this is still a potential breaking change. (dekellum #2)

  • Add an alternative, by reference From<&http::HeaderMap> for Headers. (DarrenTsung #3)

0.12.0 (2018-6-1)

Forked from hyper 0.11.27, extracting the typed header module from hyperium/hyper@76fdbcf2, 0.11.x branch, preserved here as 76fdbcf2.

Prior Releases

See hyper's CHANGELOG for prior updates pertaining to the headers sub-module.