github hyperium/hyper v0.10.0

latest releases: v1.5.0, v0.14.31, v1.4.1...
7 years ago

Features

  • client:
    • change ProxyConfig to allow HTTPS proxies (14a4f1c2)
    • remove experimental HTTP2 support (d301c6a1)
  • header: remove cookie dependency (f22701f7)
  • lib:
    • remove SSL dependencies (2f48612c)
    • remove serde-serialization feature (7b9817ed)

Breaking Changes

  • There is no more hyper::http::h2.

    (d301c6a1)

  • The Cookie and SetCookie headers no longer use the
    cookie crate. New headers can be written for any header, or the ones
    provided in hyper can be accessed as strings.

    (f22701f7)

  • There is no longer a serde-serialization feature.
    Look at external crates, like hyper-serde, to fulfill this feature.

    (7b9817ed)

  • hyper will no longer provide OpenSSL support out of the
    box. The hyper::net::Openssl and related types are gone. The Client
    now uses an HttpConnector by default, which will error trying to
    access HTTPS URLs.

    TLS support should be added in from other crates, such as
    hyper-openssl, or similar using different TLS implementations.

    If using a client, take a look at reqwest.

    If using a server, look at hyper-native-tls or hyper-openssl.

    (2f48612c)

  • Usage of with_proxy_config will need to change to
    provide a network connector. For the same functionality, a
    hyper::net::HttpConnector can be easily created and passed.

    (14a4f1c2)

Don't miss a new hyper release

NewReleases is sending notifications on new releases.