Releases: hyperium/hyper
Releases · hyperium/hyper
v0.9.0
Features
- net: Add Ssl impls for security-framework (f37315b2)
Breaking Changes
- The re-exported Url type has breaking changes.
(8fa7a989)
v0.8.1
Bug Fixes
- headers: correctly handle repeated headers (70c69142, closes #683)
Features
- header: add prefer and preference applied headers (6f649301, closes #747)
- net: Split Ssl into SslClient and SslServer (2c86e807, closes #756)
v0.8.0
Bug Fixes
- headers: remove charset from
ContentType::json()
convenience method (ec568e9a)
- net: fix the typo in
set_write_timeout
(7c76fff3)
Features
- client: Implement Debug for Client (8c7ef7fd)
- status: add HTTP statuses 421 and 451 (93fd5a87)
Breaking Changes
v0.6.16
Bug Fixes
- response: respond with a 500 if a handler panics (63c6762c)
Features
- headers: Add Access-Control-Expose-Headers (f783e991)
- server: Add hooks for HttpListener and HttpsListener to be started from existing listene (fa0848d4)
Breaking Changes
v0.6.15
Bug Fixes
- server: use a timeout for Server keep-alive (cdaa2547, closes #368)
Features
- client: add patch method to Client builder interface (03827c31)
v0.6.10
Bug Fixes
- client: close connection when there is an Error (d32d35bb)
Features
- uri: implement fmt::Display for RequestUri () (80931cf4, closes #629)
v0.6.9
Bug Fixes
- client:
- improve keep-alive of bodyless Responses (67c284a9)
- improve HttpReader selection for client Responses (31f117ea, closes #436)
- nightly: remove feature flag for duration (0455663a)
Features
- headers: Content-Range header (af062ac9)
- net: impl downcast methods for NetworkStream (without + Send) (1a91835a, closes #521)
- server: add Request.ssl() to get underlying ssl stream (7909829f, closes #627)
v0.6.8
Bug Fixes
- headers: fix broken deserialization of headers (f5f5e1cb)
Features
- net:
- Implement NetworkConnector for closure to be more flexible (abdd4c5d)
- add socket timeouts to Server and Client (7d1f154c, closes #315)
- implement FromRawFd/FromRawSocket (664bde58)
Breaking Changes
v0.6.1
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
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)