1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/ext
Matt Mastracci 990ecc99d8
feat(ext/http): Upgrade to hyper1.0-rc4 (#19987)
Includes a lightly-modified version of hyper-util's `TokioIo` utility. 

Hyper changes:

v1.0.0-rc.4 (2023-07-10)
Bug Fixes

    http1:
http1 server graceful shutdown fix (#3261)
([f4b51300](f4b513009d))
send error on Incoming body when connection errors (#3256)
([52f19259](52f192593f),
closes https://github.com/hyperium/hyper/issues/3253)
properly end chunked bodies when it was known to be empty (#3254)
([fec64cf0](fec64cf0ab),
closes https://github.com/hyperium/hyper/issues/3252)

Features

client: Make clients able to use non-Send executor (#3184)
([d977f209](d977f209bc),
closes https://github.com/hyperium/hyper/issues/3017)
    rt:
replace IO traits with hyper::rt ones (#3230)
([f9f65b7a](f9f65b7aa6),
closes https://github.com/hyperium/hyper/issues/3110)
add downcast on Sleep trait (#3125)
([d92d3917](d92d3917d9),
closes https://github.com/hyperium/hyper/issues/3027)
service: change Service::call to take &self (#3223)
([d894439e](d894439e00),
closes https://github.com/hyperium/hyper/issues/3040)

Breaking Changes

Any IO transport type provided must not implement hyper::rt::{Read,
Write} instead of tokio::io traits. You can grab a helper type from
hyper-util to wrap Tokio types, or implement the traits yourself, if
it's a custom type.
([f9f65b7a](f9f65b7aa6))
client::conn::http2 types now use another generic for an Executor. Code
that names Connection needs to include the additional generic parameter.
([d977f209](d977f209bc))
The Service::call function no longer takes a mutable reference to self.
The FnMut trait bound on the service::util::service_fn function and the
trait bound on the impl for the ServiceFn struct were changed from FnMut
to Fn.
2023-07-31 07:34:53 -06:00
..
broadcast_channel 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
cache 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
console 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
crypto chore: remove unused dependencies (#19962) 2023-07-28 15:10:13 +05:30
fetch fix(Deno.serve): accessing .url on cloned request throws (#19869) 2023-07-30 09:13:28 -04:00
ffi perf(ext/ffi): Avoid receiving on FFI async work channel when no UnsafeCallback exists (#19454) 2023-07-30 16:43:22 +03:00
fs fix(ext/fs): fix MaybeArc when not sync_fs (#19950) 2023-07-26 15:33:42 +00:00
http feat(ext/http): Upgrade to hyper1.0-rc4 (#19987) 2023-07-31 07:34:53 -06:00
io chore: remove unused dependencies (#19962) 2023-07-28 15:10:13 +05:30
kv 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
napi 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
net 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
node fix(npm): improve declaration resolution for filename with different extensions (#19966) 2023-07-28 11:24:22 -04:00
tls 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
url chore: remove unused dependencies (#19962) 2023-07-28 15:10:13 +05:30
web fix(ext/compression): throw TypeError on corrupt input (#19979) 2023-07-30 09:15:29 -04:00
webidl 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00
websocket feat(ext/websocket): allow HTTP(S) protocol in URL (#19862) 2023-07-28 06:29:41 +00:00
webstorage 1.35.3 (#19947) 2023-07-26 10:18:02 -04:00