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.0Release Notes
ardatan/whatwg-node (@whatwg-node/server)
v0.10.10Compare Source
Patch Changes
#2452
19c0be5Thanks @ardatan! - Support AbortSignal.any on Node.js
#2452
19c0be5Thanks @ardatan! - Prevent custom AbortSignal to log
"MaxListenersExceededWarning"
v0.10.9Compare Source
Patch Changes
#2424
28c4ad9Thanks @ardatan! - Performance optimizations
AbortControllerandAbortSignalif not needed withnew Requestbecause itis expensive
Headersand try to re-use the init object forHeadersforperformance with a single-line
writeHead.Bufferforstringbodies for performancesetHeaderswhich acceptsHeaderssince Node 18 if needed to forwardHeadersto Node1642a76Thanks @ardatan! - Remove unnecessary workaround for Bun
Updated dependencies
[
28c4ad9]:v0.10.8Compare Source
Patch Changes
8eb332cThanks @ardatan! - Workaround for the bug in Node 24 and Deno don't
like bound disposal functions
v0.10.7Compare Source
Patch Changes
085186bThanks @renovate! - Fix explicit resource management for Deno
v0.10.6Compare Source
Patch Changes
#2383
9527e8fThanks @ardatan! - Some implementations like
compressionnpmpackage 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
compressionpackage;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.endimmediately. else if itis
false, it means the stream is not drained yet, so we can wait for thedrainevent to callresponse.end.Updated dependencies
[
d86b4f3,9527e8f]:v0.10.5Compare Source
Patch Changes
b9f3629Thanks @enisdenjo! - dependencies updates:
@whatwg-node/fetch@^0.10.6↗︎(from
^0.10.5, independencies)v0.10.4Compare Source
Patch Changes
#2305
380984aThanks @enisdenjo! - Handle request abort signals with streamed
body on uWS adapter
#2229
9655941Thanks @ardatan! - Simplify
useContentEncodingpluginUpdated dependencies
[
6bf6aa0]:v0.10.3Compare Source
Patch Changes
#2208
ff052a3Thanks @ardatan! - When any
Requestmethod 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.2Compare Source
Patch Changes
ace1774Thanks @ardatan! - Expose
waitUntilmethod in the adapterv0.10.1Compare Source
Patch Changes
#2452
19c0be5Thanks @ardatan! - Support AbortSignal.any on Node.js
#2452
19c0be5Thanks @ardatan! - Prevent custom AbortSignal to log
"MaxListenersExceededWarning"
v0.10.0Compare Source
Minor Changes
#2068
516bf60Thanks @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
Instrumentationis 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
516bf60Thanks @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.