Skip to content

June 02, 2026

Choose a tag to compare

@github-actions github-actions released this 02 Jun 13:35
· 3 commits to master since this release
60e1a14

@whatwg-node/node-fetch@0.8.6

Patch Changes

  • #3203
    771cad6
    Thanks @renovate! - Add TypeScript 6 compatibility: implement
    values() method and [Symbol.asyncDispose] on PonyfillReadableStream to match the updated
    ReadableStream interface

@whatwg-node/server@0.11.0

Minor Changes

  • #3399
    9d02fd0
    Thanks @enisdenjo! - New useRequestDeadline plugin for enforcing
    per-request timeouts

    Aborts the request signal and returns a custom response when the handler takes longer than the
    configured timeout.

    import { createServerAdapter, useRequestDeadline } from '@whatwg-node/server'
    
    const adapter = createServerAdapter(myHandler, {
      plugins: [
        useRequestDeadline({
          timeout: 5000,
          response: req => new Response(`Request to ${req.url} timed out`, { status: 504 })
        })
      ]
    })

    The request's AbortSignal is aborted when the deadline fires, so handlers that respect it (e.g.
    fetch calls, database queries) are cancelled cooperatively:

    async function myHandler(req: Request) {
      // this fetch is cancelled automatically if the deadline fires
      const data = await fetch('https://slow-api.example.com/data', { signal: req.signal })
      return Response.json(await data.json())
    }

Patch Changes

  • #3376
    228b517
    Thanks @copilot-swe-agent! - Fix duplicate
    transfer-encoding: chunked header when using uWebSockets.js. uWebSockets.js automatically adds
    this header when streaming via write() + end(), so forwarding it from the fetch response
    caused chunked, chunked which breaks strict load balancers (e.g. Google Cloud Load Balancer).

@whatwg-node/server-plugin-cookies@1.0.6

Patch Changes