-
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
tohyperx::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)
-
Broaden bytes dependency to include 1.1.
-
Broaden httparse dependency to include 1.4.
-
Clarify MSRV policy in README.md.
-
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).
- 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.
-
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)
-
Fix various compile warnings with rustc 1.44 and later.
-
Broaden base64 dependency to include 0.12.0 (paolobarbolini #20)
-
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 crateHeaderMap
and theTypedHeaders
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.
-
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.
- Fix build.rs for
rustc --version
not including git metadata (alyssais #14)
-
Add a
TypedHeaders
extension trait providing more convenient generic encode/decode methods tohttp::HeaderMap
for hyperx typed headers, implemented using a newStandardHeader
trait andstandard_header!
macro, with an associate function for theHeaderName
constants of the http crate. (#13) -
Add reference based
impl From<&'a Headers> for http::HeaderMap
for symmetry and performance, e.g. avoiding aclone
. (#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)
-
Update the signature of
Header::parse_header
to be generic over types implementing a newRawLike
trait, which includes the existing localRaw
type as well as http crate typesHeaderValue
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. AlsoInto
conversions toRaw
now frequently need to be type annotated. (#8) -
Improve header module rustdoc, including with parsing usage for the above.
-
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.
- Remove
error::UriError
re-export anderror::Canceled
which are unused internally and where not exported from this crate. (#5)
-
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>
forHeaders
. (DarrenTsung #3)
Forked from hyper 0.11.27, extracting the typed header module from hyperium/hyper@76fdbcf2, 0.11.x branch, preserved here as 76fdbcf2.
See hyper's CHANGELOG for prior updates pertaining to the headers sub-module.