fix(deps): update dependency @whatwg-node/server to ^0.10.0 #214
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.9.60
->^0.10.0
Release Notes
ardatan/whatwg-node (@whatwg-node/server)
v0.10.10
Compare Source
Patch Changes
#2452
19c0be5
Thanks @ardatan! - Support AbortSignal.any on Node.js
#2452
19c0be5
Thanks @ardatan! - Prevent custom AbortSignal to log
"MaxListenersExceededWarning"
v0.10.9
Compare Source
Patch Changes
#2424
28c4ad9
Thanks @ardatan! - Performance optimizations
AbortController
andAbortSignal
if not needed withnew Request
because itis expensive
Headers
and try to re-use the init object forHeaders
forperformance with a single-line
writeHead
.Buffer
forstring
bodies for performancesetHeaders
which acceptsHeaders
since Node 18 if needed to forwardHeaders
to Node1642a76
Thanks @ardatan! - Remove unnecessary workaround for Bun
Updated dependencies
[
28c4ad9
]:v0.10.8
Compare Source
Patch Changes
8eb332c
Thanks @ardatan! - Workaround for the bug in Node 24 and Deno don't
like bound disposal functions
v0.10.7
Compare Source
Patch Changes
085186b
Thanks @renovate! - Fix explicit resource management for Deno
v0.10.6
Compare Source
Patch Changes
#2383
9527e8f
Thanks @ardatan! - Some implementations like
compression
npmpackage do not implement
response.write(data, callback)
signature, but whatwg-node/server waitsfor it to finish the response stream. Then it causes the response stream hangs when the
compression package takes the stream over when the response data is larger than its threshold.
It is actually a bug in
compression
package;expressjs/compression#46 But since it is a
common mistake, we prefer to workaround this on our end.
Now after calling
response.write
, it no longer uses callback but first it checks the result;if it is
true
, it means stream is drained and we can callresponse.end
immediately. else if itis
false
, it means the stream is not drained yet, so we can wait for thedrain
event to callresponse.end
.Updated dependencies
[
d86b4f3
,9527e8f
]:v0.10.5
Compare Source
Patch Changes
b9f3629
Thanks @enisdenjo! - dependencies updates:
@whatwg-node/fetch@^0.10.6
↗︎(from
^0.10.5
, independencies
)v0.10.4
Compare Source
Patch Changes
#2305
380984a
Thanks @enisdenjo! - Handle request abort signals with streamed
body on uWS adapter
#2229
9655941
Thanks @ardatan! - Simplify
useContentEncoding
pluginUpdated dependencies
[
6bf6aa0
]:v0.10.3
Compare Source
Patch Changes
#2208
ff052a3
Thanks @ardatan! - When any
Request
method is called outsideserver adapter scope, it used to hang. This PR prevents it to hang and throw an error if the
readable stream is destroyed earlier.
v0.10.2
Compare Source
Patch Changes
ace1774
Thanks @ardatan! - Expose
waitUntil
method in the adapterv0.10.1
Compare Source
Patch Changes
#2452
19c0be5
Thanks @ardatan! - Support AbortSignal.any on Node.js
#2452
19c0be5
Thanks @ardatan! - Prevent custom AbortSignal to log
"MaxListenersExceededWarning"
v0.10.0
Compare Source
Minor Changes
#2068
516bf60
Thanks @EmrysMyrddin! - Add new Instrumentation API
Introduction of a new API allowing to instrument the graphql pipeline.
This new API differs from already existing Hooks by not having access to input/output of phases.
The goal of
Instrumentation
is to run allow running code before, after or around the wholeprocess of a phase, including plugins hooks executions.
The main use case of this new API is observability (monitoring, tracing, etc...).
Basic usage
Multiple instrumentation plugins
It is possible to have multiple instrumentation plugins (Prometheus and Sentry for example), they
will be automatically composed by envelop in the same order than the plugin array (first is
outermost, last is inner most).
Custom instrumentation ordering
If the default composition ordering doesn't suite your need, you can manually compose
instrumentation. This allows to have a different execution order of hooks and instrumentation.
Patch Changes
516bf60
Thanks @EmrysMyrddin! - dependencies updates:
@whatwg-node/promise-helpers@^1.2.2
↗︎(from
^1.0.0
, independencies
)@envelop/[email protected]
↗︎(to
dependencies
)[
516bf60
]:Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.