Releases: hyperium/hyper-util
Releases · hyperium/hyper-util
v0.1.13
tl;dr
- Fix
HttpConnector
to always prefer IPv6 addresses first, if happy eyeballs is enabled. - Fix
legacy::Client
to return better errors if available on the connection.
What's Changed
- fix(client): prefer IPv6 addresses before IPv4 even if resolver ordered differently by @seanmonstar in #194
- chore(test): make proxy test robust wrt IPv4/v6 by @Fabian-Gruenbichler in #195
- refactor: limit dependency futures-util to tests and client-legacy by @hanna-kruppe in #192
- Fix some clippy lints by @jplatte in #196
- ConnectErrors improvements by @seanmonstar in #197
- fix(client): race in connection errors propagation by @dare3path in #184
New Contributors
- @Fabian-Gruenbichler made their first contribution in #195
- @hanna-kruppe made their first contribution in #192
- @jplatte made their first contribution in #196
- @dare3path made their first contribution in #184
Full Changelog: v0.1.12...v0.1.13
v0.1.12
tl;dr
- Add
client::legacy::proxy::Tunnel
connector that wraps another connector with HTTP tunneling. - Add
client::legacy::proxy::{SocksV4, SocksV5}
connectors that wraps another connector with SOCKS. - Add
client::proxy::matcher::Matcher
type that can use environment variables to match proxy rules. - Add
server::graceful::Watcher
type that can be sent to watch a connection in another task. - Add
GracefulShutdown::count()
method to get number of currently watched connections. - Fix missing
must_use
attributes onConnection
futures. - Fix tracing span in GAI resolver that can cause panics.
What's Changed
- fix(server): Enforce
serve_connection
result usage by @Sol-Ell in #178 - fix(tracing): revert #134 - tracing span removal in legacy DNS
GaiResolver
by @arpadav in #179 - docs(service): document service utilities by @cratelyn in #180
- refactor: replace manual implementations of
ReadBufCursor
methods by @paolobarbolini in #181 - feat(server): add graceful::Watcher type by @seanmonstar in #182
- feat(server): implement default for server auto connection builder by @tottoto in #183
- feat(client): add
proxy::Tunnel
legacy util by @seanmonstar in #140 - docs(client): Include .pool_timer() in the Client builder example by @sulami in #186
- feat(server): add method to get number of watching connection by @tottoto in #185
- Add a proxy Matcher by @seanmonstar in #171
- feat(client): add macOS system proxy support for Matcher by @seanmonstar in #189
- feat(client): add windows system proxies for Matcher by @seanmonstar in #190
- feat(client): add proxy::SocksV4 and proxy::SocksV5 connectors by @JPDye in #187
New Contributors
- @Sol-Ell made their first contribution in #178
- @arpadav made their first contribution in #179
- @paolobarbolini made their first contribution in #181
- @sulami made their first contribution in #186
- @JPDye made their first contribution in #187
Full Changelog: v0.1.11...v0.1.12
v0.1.11
What's Changed
- fix(client): Fix
HTTP/2
websocket request by @0x676e67 in #165 - builder: expose methods for determining if HTTP/1.1 or HTTP/2 support are enabled by @tobz in #164
- feat(server): support
auto_date_header
,max_local_error_reset_streams
, andignore_invalid_headers
. by @finnbear in #161 - fix(tracing): propagate span context by @alpeb in #166
- feat(rt/tokio): additive tokio and hyper i/o adaptors by @cratelyn in #170
- feat(client): implement Connection for UnixStream and NamedPipeClient by @seanmonstar in #177
- enable
HttpConnector::interface
on macOS and Solarish systems by @hawkw in #176
New Contributors
- @jlizen made their first contribution in #159
- @linyihai made their first contribution in #160
- @tobz made their first contribution in #164
- @finnbear made their first contribution in #161
- @alpeb made their first contribution in #166
- @cratelyn made their first contribution in #168
- @hawkw made their first contribution in #176
Thanks
v0.1.10
What's Changed
- Add
http2_max_header_list_size(num)
option to legacy client builder. - Add
set_tcp_user_timeout(dur)
option to legacyHttpConnector
.
New Contributors
- @guillaumebort made their first contribution in #152
- @DSharifi made their first contribution in #154
- @gretchenfrage made their first contribution in #155
Full Changelog: v0.1.9...v0.1.10
v0.1.9
What's Changed
- Add support for
client::legacy
DNS resolvers to set non-zero ports on returned addresses. - Fix
client::legacy
wrongly retrying pooled connections that were created successfully but failed immediately after, resulting in a retry loop.
New Contributors
Full Changelog: v0.1.8...v0.1.9
v0.1.8
What's Changed
- Add
server::conn::auto::upgrade::downcast()
for use with auto connection upgrades.
New Contributors
Full Changelog: v0.1.7...v0.1.8
v0.1.7
What's Changed
- Add
Connected::poison()
tolegacy
client, a port from hyper v0.14.x. - Add
Error::connect_info()
tolegacy
client, a port from hyper v0.14.x.
New Contributors
- @nox made their first contribution in #135
- @aaronriekenberg made their first contribution in #137
Full Changelog: v0.1.6...v0.1.7
v0.1.6
What's Changed
- Add support for AIX operating system to
legacy
client. - Fix
legacy
client to better use dying pooled connections.
New Contributors
- @ramiroaisen made their first contribution in #131
- @ecnelises made their first contribution in #132
Full Changelog: v0.1.5...v0.1.6
v0.1.5
What's Changed
- Add
server::graceful::GracefulShutdown
helper to coordinate over many connections. - Add
server::conn::auto::Connection::into_owned()
to unlink lifetime fromBuilder
. - Allow
service
module to be available with onlyservice
feature enabled.
New Contributors
Full Changelog: v0.1.4...v0.1.5
v0.1.4
What's Changed
- Add
initial_max_send_streams()
tolegacy
client builder - Add
max_pending_accept_reset_streams()
tolegacy
client builder - Add
max_headers(usize)
toauto
server builder - Add
http1_onl()
andhttp2_only()
toauto
server builder - Add connection capturing API to
legacy
client - Add
impl Connection for TokioIo
- Fix graceful shutdown hanging on reading the HTTP version
New Contributors
- @magurotuna made their first contribution in #87
- @ikrivosheev made their first contribution in #90
- @elpiel made their first contribution in #103
- @mladedav made their first contribution in #106
- @wfly1998 made their first contribution in #107
- @CobaltCause made their first contribution in #110
- @hasezoey made their first contribution in #114
- @MaxFangX made their first contribution in #116
- @kvinwang made their first contribution in #117
- @martinetd made their first contribution in #113
- @rcoh made their first contribution in #112
- @allan2 made their first contribution in #102
- @FabijanC made their first contribution in #120
Full Changelog: v0.1.3...v0.1.4