Releases: hyperium/hyper
Releases · hyperium/hyper
v0.13.0-alpha.2
Bug Fixes
- client: allow client GET requests with explicit body headers (0867ad5c, closes #1925)
Features
- body:
- identify aborted body write errors (dc54ee19)
- put
Stream
impl for Body
behind stream
feature (511ea388)
- server: introduce
Accept
trait (b3e55062)
Breaking Changes
- Using a
Body
as a Stream
, and constructing one via
Body::wrap_stream
, require enabling the unstable-stream
feature.
(511ea388)
- Passing a
Stream
to Server::builder
or
Http::serve_incoming
must be changed to pass an Accept
instead. The
unstable-stream
optional feature can be enabled, and the a stream can be
converted using hyper::server::accept::from_stream
.
(b3e55062)
v0.12.35
Features
- body: identify aborted body write errors (32869224)
v0.13.0-alpha.1
Bug Fixes
- server: change
Builder
window size methods to be by-value (a22dabd0, closes #1814)
Features
- body:
- change
Sender::send_data
to an async fn
. (62a96c07)
- Update
Payload
to be a trait alias of http_body::Body
(#1908) (79c32f89)
- require
Sync
when wrapping a dynamic Stream
(44413721)
- client:
- provide tower::Service support for clients (#1915) (eee2a728)
- change
GaiResolver
to use a global blocking threadpool (049b5132)
- lib: update to
std::future::Future
(8f4b05ae)
- service: use tower_service::Service for hyper::service (ec520d56)
Breaking Changes
- Usage of
send_data
should either be changed to
async/await or use try_send_data
.
(62a96c07)
- Calls to
GaiResolver::new
and HttpConnector::new
no
longer should pass an integer argument for the number of threads.
(049b5132)
- All usage of async traits (
Future
, Stream
,
AsyncRead
, AsyncWrite
, etc) are updated to newer versions.
(8f4b05ae)
v0.12.34
Bug Fixes
- client: allow client GET requests with explicit body headers (23fc8b08, closes #1925)
v0.12.32
Features
- client:
HttpConnector
: allow to set socket buffer sizes (386109c4)
v0.12.30
Bug Fixes
- http1: force always-ready connections to yield after a few spins (8316f96d)
- http2: correctly propagate HTTP2 request cancellation (50198851)
v0.12.29
Bug Fixes
- server: skip automatic Content-Length header for HTTP 304 responses (b342c38f, closes #1797)
Features
- body: implement
http_body::Body
for hyper::Body
(2d9f3490)
- client: Implement
TryFrom
for Destination
(#1810) (d1183a80, closes #1808)
- server: add initial window builder methods that take self by-val (#1817) (8b45af7f)
v0.12.28
Bug Fixes
- client:
- detect HTTP2 connection closures sooner (e0ec5cad)
- fix a rare connection pool race condition (4133181b)
Features
v0.12.27
Bug Fixes
- http2: fix import of h2::Reason to work on 1.26 (5680d944)
v0.12.26
Bug Fixes
- http2: send a GOAWAY when the user's Service::poll_ready errors (42c5efc0)
- server: prohibit the length headers on successful CONNECT (d1501a0f, closes #1783)
Features
- http2: check
Error::source()
for an HTTP2 error code to send in reset (fc18b680)