Releases: hyperium/hyper
v0.11.3
Features
- header: add ContentType::xml() constructor (92595e84)
- http: add Body::from(cow) for bytes and strings (425ff71d)
- lib: implement compatibility with http crate (0c7d375b)
- server:
Bug Fixes
Performance
- server: try to read from socket at keep-alive (1a9f2648)
Thanks
❤️
v0.10.13
v0.11.2
v0.11.1
v0.11.0
Bug Fixes
- header:
- add length checks to ETagparsing (643fac1e)
- prevent 2 panics in QualityItemparsing (d80aae55)
- Allow IPv6 Addresses in Hostheader (8541ac72)
- Remove raw part when getting mutable reference to typed header (f38717e4, closes #821)
- only add chunked to TransferEncodingif not present (1b4f8579)
- ignore invalid cookies (310d98d5)
 
- add length checks to 
- http:
- server:
- support HTTP/1.1 pipelining (523b890a)
 
Features
- body:
- client:
- add HttpConnector.enforce_http(1c34a05a)
- add an accessor for the request body (4e26646a)
- Response.status() now returns a StatusCodeby value (d63b7de4)
- add Client::handle (9101817b)
- add Request.set_proxy for HTTP proxy requests (e8714116, closes #1056)
- DNS worker count is configurable (138e1643)
- add keep_alive_timeout to Client (976218ba)
 
- add 
- error: Display for Error shows better info (49e196db, closes #694)
- header:
- add ContentType::octet_stream() constructor (1a353102)
- change Cookieto be map-like (dd03e723, closes #1145)
- add Cookie::iter()(edc1c0dd)
- implement fmt::Display for several headers (e9e7381e)
- add Headers::append_raw(b4b2fb78)
- Add support for Retry-After header (1037bc77)
- add Encoding::Brotlivariant (f0ab2b6a)
- introduce header::Raw(#869) (50ccdaa7)
- add TEheader struct (#1150) (f1859dfd, closes #1109)
- support Opaque origin headers (#1147) (41485997, closes #1065)
- add HeaderView.raw()(8143c33b)
- impl Eq for ContentType(bba761ac)
- add Linkheader implementation (592c1e21, closes #650)
- add star,json,text,imageconstructors toAccept(bdc19d52)
- Add strict-origin and strict-origin-when-cross-origin referer policy (3593d798)
- support multiple values for Referrer-Policy header (7b558ae8, closes #882)
- add Warningheader (69894d19, closes #883)
- Headers::removereturns the Header (9375addb, closes #891)
- add ContentLocationheader (13c5bf66, closes #870)
- add LastEventIdheader (e1542a60)
- add `Origin header (01843f88, closes #651)
- Add ReferrerPolicyheader (3a86b3a2)
 
- http:
- lib:
- mime: upgrade to mime v0.3 (f273224f, closes #738)
- server:
- status:
- uri:
- version: impl FromStrforHttpVersion(47f3aa62)
Breaking Changes
- The Cookieheader is no longer a wrapper over a
 Vec<String>. It must be accessed via itsgetandsetmethods.
(dd03e723)
- Any use of Quality(num)should change toq(num).
(a4644959)...
v0.10.0
Features
- client:
- header: remove cookiedependency (f22701f7)
- lib:
Breaking Changes
- 
There is no more hyper::http::h2.(d301c6a1) 
- 
The CookieandSetCookieheaders 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-serializationfeature.
 Look at external crates, likehyper-serde, to fulfill this feature.(7b9817ed) 
- 
hyper will no longer provide OpenSSL support out of the 
 box. Thehyper::net::Openssland related types are gone. TheClient
 now uses anHttpConnectorby 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_configwill need to change to
 provide a network connector. For the same functionality, a
 hyper::net::HttpConnectorcan be easily created and passed.(14a4f1c2) 
v0.9.14
v0.9.13
v0.9.12
Features
- error: export url::ParseError in hyper's error module