November 25, 2024
theguild-bot
released this
25 Nov 14:57
·
88 commits
to master
since this release
@whatwg-node/node-fetch@0.7.4
Patch Changes
e88ab4a
Thanks @ardatan! - dependencies updates:- Added dependency
@whatwg-node/disposablestack@^0.0.5
↗︎
(todependencies
)
- Added dependency
@whatwg-node/server@0.9.57
Patch Changes
-
e88ab4a
Thanks @ardatan! - dependencies updates:- Added dependency
@whatwg-node/disposablestack@^0.0.5
↗︎
(todependencies
)
- Added dependency
-
e88ab4a
Thanks @ardatan! - New Explicit Resource Management feature for the
server adapters;
Learn moreSymbol.dispose
andSymbol.asyncDispose
hooks When the server adapter plugin has these hooks,
it is added to the disposable stack of the server adapter. When the server adapter is disposed,
those hooks are triggereddisposableStack
in the server adapter The shared disposable stack that will be triggered when
Symbol.asyncDispose
is called.- Automatic disposal on Node and Node-compatible environments Even if the server adapter is not
disposed explicitly, the disposal logic will be triggered on the process termination (SIGINT,
SIGTERM etc) - ctx.waitUntil relation If it is an environment does not natively provide
waitUntil
, the
unresolved passed promises will be resolved by the disposable stack.