All Versions
179
Latest Version
Avg Release Cycle
31 days
Latest Release
56 days ago

Changelog History
Page 15

  • v0.6.2 Changes

    July 06, 2015

    ๐Ÿ› Bug Fixes

    • http: no longer keep alive for Http1.0 if no Connection header (ddecb262, closes #596)

    ๐Ÿ”‹ Features

    • client: add url property Response (82ed9092)
    • headers: add strict-transport-security header (7c2e5124, closes #589)

    ๐Ÿ’ฅ Breaking Changes

    • Access-Control-Allow-Origin does no longer use Url

    (ed458628)

    • Technically a break, since Response::new() takes an additional argument. In practice, the only place that should have been creating Responses directly is inside the Client, so it shouldn't break anyone. If you were creating Responses manually, you'll need to pass a Url argument.

    (82ed9092)

  • v0.6.1 Changes

    June 26, 2015

    ๐Ÿ› Bug Fixes

    • benches: adjust to missing set_ssl_verifier (eb38a11b)
    • cargo: fix linking on OSX 10.10 (9af2b66f)
    • client: use Ssl instance in creation of SslStream (1a490e25)
  • v0.6.0 Changes

    June 24, 2015

    ๐Ÿ› 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)

  • v0.5.2 Changes

    June 01, 2015

    ๐Ÿ› Bug Fixes

    • buffer: check capacity before resizing (b1686d1b)
  • v0.5.1 Changes

    May 25, 2015

    ๐Ÿ› Bug Fixes

    • client: don't close stream until EOF (a5e6174e, closes #543)

    ๐Ÿ”‹ Features

    • client: implement Default trait for client (be041d91)
    • header: add ContentType::form_url_encoded() constructor (2c99d4e9)
    • headers: return hyper::Error instead of () from header components (5d669399)
    • http: add get_mut method to HttpReader (e64ce8c0)

    ๐Ÿ’ฅ Breaking Changes

    • Error enum extended. Return type of header/shared/ types changed.

    (5d669399)

  • v0.5.0 Changes

    May 12, 2015

    ๐Ÿ› Bug Fixes

    • client:
      • don't call close() inside Request (3334fca2, closes #519)
      • keep the underlying connector when setting an SSL verifier (f4556d55, closes #495)
    • ๐Ÿคก mock: adjust ChannelMockConnector connect method to compile (085d7b07)

    ๐Ÿ”‹ Features

    • header:
      • add ContentType::json(), plaintext(), html(), jpeg(), and png() constructors (b6114ecd)
      • add Connection::close() and ::keep_alive() constructors (c2938fb4)
      • export hypertm! macro so test modules work with header! (f64fb10b)
    • net:
      • remove mut requirement for NetworkConnector.connect() (1b318724)
      • add set_ssl_verifier method to NetworkConnector trait (a5d632b6)
    • server: check Response headers for Connection: close in keep_alive loop (49b5b8fd)

    ๐Ÿ’ฅ Breaking Changes

    • Usage of Response.deconstruct() and construct() now use a &mut Headers, instead of the struct proper.

    (49b5b8fd)

    • If you use deref! from the header module, you'll need to switch to using hyperderef!.

    (62d96adc)

    • Any custom Connectors will need to change to &self in the connect method. Any Connectors that needed the mutability need to figure out a synchronization strategy.

    Request::with_connector() takes a &NetworkConnector instead of &mut. Any uses of with_connector will need to change to passing &C.

    (1b318724)

    • โž• Adding a new required method to a public trait is a ๐Ÿ’ฅ breaking change.

    (a5d632b6)

  • v0.4.0 Changes

    May 07, 2015

    ๐Ÿ› Bug Fixes

    • net: ignore NotConnected error in NetworkStream.close (6be60052, closes #508)

    ๐Ÿ”‹ Features

    • error: add Ssl variant to hyper::Error (972b3a38, closes #483)
    • headers:
      • Allow null value in Access-Control-Allow-Origin (5e341714)
      • Parse Upgrade header protocols further (f47d11b9, closes #480)
      • Add From header field (ce9c4af1)
      • Add Accept-Ranges header field (2dbe3f9b)
    • method: implement AsRef<str> for Method (c29af729)
    • server:
      • add Response.send to write a sized body (d5558b68, closes #446)
      • dropping a Response will write out to the underlying stream (a9dcc59c)

    ๐Ÿ’ฅ Breaking Changes

    • โž• Adds a variant to hyper::Error, which may break any exhaustive matches.

    (972b3a38)

    • ๐Ÿšš The terms Http and Error have been removed from the Error type and its variants. HttpError should now be accessed as hyper::Error, and variants like HttpIoError should be accessed as Error::Io.

    (9ba074d1)

    • โž• Add variant to Access-Control-Allow-Origin enum

    (5e341714)

    • โฌ†๏ธ Upgrade header Protocol changed.

    (f47d11b9)

    • from_one_raw_str() returns None on empty values.

    (a6974c99)

  • v0.3.16 Changes

    May 01, 2015

    ๐Ÿ› Bug Fixes

    • header:
      • make test_module of header! optional (a5ce9c59, closes #490)
      • exporting test_header! macro (2bc5a779)
    • http: keep raw reason phrase in RawStatus (8cdb9d5d, closes #497)

    ๐Ÿ”‹ Features

  • v0.3.15 Changes

    April 29, 2015

    ๐Ÿ› Bug Fixes

    • headers:
      • Do not parse empty values in list headers. (093a29ba)
      • Fix formatting of 0 qualites and formatting of empty list header fields. (621ef521)

    ๐Ÿ”‹ Features

    • client:
      • remove Clone requirement for NetworkStream in Client (60d92c29)
      • accept &String as Body in RequestBuilder (a2aefd9a)
      • accept &String for a Url in RequestBuilder (8bc179fb)
    • headers: Implement Content-Language header field (308880b4, closes #475)
    • net: add https_using_context for user-supplied SslContext (1a076d1b)
    • server: allow consumer to supply an SslContext (3a1a2427, closes #471)

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿšš This removes the trait IntoBody, and instead using Into<Body>, as it's more idiomatic. This will only have broken code that had custom implementations of IntoBody, and can be fixed by changing them to Into<Body>.

    (a2aefd9a)

  • v0.3.14 Changes

    April 18, 2015

    ๐Ÿ› Bug Fixes

    • http: Adjust httparse Request and Response lifetimes. (76550fdb)