github hyperium/hyper v1.0.0

latest releases: v1.5.0, v0.14.31, v1.4.1...
11 months ago

Features

  • client: allow !Send IO with HTTP/1 client (#3371) (cf87eda8, closes #3363)
  • error:
  • ext:
    • make ReasonPhrase::from_static a const fn (d4a61e3d)
    • remove ReasonPhrase::from_bytes_unchecked() method (4021c57b)
  • lib:
  • rt: rename to Http2ClientConnExec and Http2ServerConnExec (52b27faa)
  • server: default http1 header_read_timeout to 30 seconds (8bf26d1e)
  • upgrade: introduce tracing as an optional unstable feature (#3326) (da3fc76c, closes #3319)

Bug Fixes

Breaking Changes

  • Upgrade to http 1.0.

(899e92a5)

  • (From previous RCs) ExecutorClient is renamed to
    Http2ClientConnExec, and Http2ConnExec is renamed to
    Http2ServerConnExec.

(52b27faa)

  • If you use client HTTP/1 upgrades, you must call
    Connection::with_upgrades() to still work the same.
    (cf87eda8)

  • HTTP/2 server builder now has a default max concurrent streams. This is a
    behavior change. Consider setting your own maximum.
    (dd638b5b)

  • Do not build any logic depending on the exact types of
    an Error::source(). They are only for debugging.
    (502a6450)

  • The format no longer prints the error chain. Be sure to
    check if you are logging errors directly.

    The Error::message() method is removed, it is no longer needed.

    The Error::into_cause() method is removed.
    (50f123af)

  • The ReasonPhrase::from_bytes_unchecked() method is
    gone. Use from_static() or TryFrom to construct one.

(4021c57b)

New Contributors

Don't miss a new hyper release

NewReleases is sending notifications on new releases.