hyper v0.6.0 Release Notes

Release Date: 2015-06-24 // almost 9 years ago
  • ๐Ÿ› Bug Fixes

    • client: check for drained stream in Response::drop (e689f203)

    ๐Ÿ”‹ Features

    • client:
    • error: add private __Nonexhaustive variant to Error (7c0421e3)
    • headers:
    • http2:
      • implement message API for HTTP/2 (f0fe2c5a)
      • add new error variant for HTTP/2 (48e9ca2f)
      • add dependency on solicit (3122ffef)
    • langtags: use true language tags in headers (99ff7e62)
    • ssl: redesign SSL usage (53bba6eb)

    ๐Ÿ’ฅ Breaking Changes

    • AcceptLanguage and ContentLanguage use LanguageTag now, ๐Ÿšš Language removed from Hyper.

    (99ff7e62)

    • Server::https was changed to allow any implementation of Ssl. Server in general was also changed. HttpConnector no longer uses SSL; using HttpsConnector instead.

    (53bba6eb)

    • Connectors and Protocols passed to the Client must now also have a Sync bounds, but this shouldn't break default usage.

    (64e47b4b)

    • ๐Ÿ“œ parse_header returns Result instead of Option, related code did also change

    (195a89fa)

    • โž• Adds a new variant to public Error enum. The proper fix is to stop matching exhaustively on hyper::Error.

    (7c0421e3)

    • A new variant Http2 added to a public enum hyper::Error.

    (48e9ca2f)

    • hyper::client::request::Response is no longer generic over NetworkStream types. It no longer requires a generic type parameter at all.

    (aa297f45)