Skip to content

Releases: ardatan/whatwg-node

October 09, 2025

09 Oct 16:46
0b0526d

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

  • #2821
    93f2932
    Thanks @ardatan! - Fix handling multiple set-cookie headers
    correctly with uWebSockets.js integration

@whatwg-node/[email protected]

Patch Changes

  • #2821
    93f2932
    Thanks @ardatan! - Fix handling multiple set-cookie headers
    correctly with uWebSockets.js integration

September 19, 2025

19 Sep 16:46
c642a74

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Minor Changes

  • #2786
    60d41d6
    Thanks @ardatan! - Add User-Agent with node value by default
    similar to undici, because fetch implementation should provide one if the user doesn't provide
    one per WHATWG spec

August 01, 2025

01 Aug 00:08
bd73347

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

  • #2656
    d2ef55c
    Thanks @renovate! - Fix TypeScript issues and bump the version
    to get performance improvements for all dependent packages

@whatwg-node/[email protected]

Patch Changes

July 29, 2025

29 Jul 15:10
75f0bb5

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

  • #2643
    941e5ce
    Thanks @ardatan! - In case of iterator cancellation, ensure the
    response stream a.k.a. IncomingMessage is properly closed.

    const response = await fetch('http://localhost:3000/stream')
    
    for await (const chunk of response.body) {
      console.log('Received chunk:', chunk)
      if (chunk === 'stop') {
        console.log('Stopping stream')
        // In case of `break` which calls the `iterator.return()`, we need to ensure the stream is closed properly.
        break
      }
    }

July 28, 2025

28 Jul 11:23
ae59911

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

  • #2640
    22c568e
    Thanks @ardatan! - Handle string bodies without streams to fix the
    performance regression

July 17, 2025

17 Jul 12:36
23779dc

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

@whatwg-node/[email protected]

Patch Changes

May 22, 2025

22 May 02:14
68af0a3

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

May 20, 2025

20 May 14:36
f25ab15

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

  • #2424
    28c4ad9
    Thanks @ardatan! - Performance optimizations

    • Avoid creating AbortController and AbortSignal if not needed with new Request because it
      is expensive
    • Avoid creating a map for Headers and try to re-use the init object for Headers for
      performance with a single-line writeHead.
    • Avoid creating Buffer for string bodies for performance
    • Use setHeaders which accepts Headers since Node 18 if needed to forward Headers to Node
  • Updated dependencies
    [28c4ad9]:

@whatwg-node/[email protected]

Patch Changes

  • #2424
    28c4ad9
    Thanks @ardatan! - Performance optimizations

    • Avoid creating AbortController and AbortSignal if not needed with new Request because it
      is expensive
    • Avoid creating a map for Headers and try to re-use the init object for Headers for
      performance with a single-line writeHead.
    • Avoid creating Buffer for string bodies for performance
    • Use setHeaders which accepts Headers since Node 18 if needed to forward Headers to Node

@whatwg-node/[email protected]

Patch Changes

  • #2424
    28c4ad9
    Thanks @ardatan! - Performance optimizations

    • Avoid creating AbortController and AbortSignal if not needed with new Request because it
      is expensive
    • Avoid creating a map for Headers and try to re-use the init object for Headers for
      performance with a single-line writeHead.
    • Avoid creating Buffer for string bodies for performance
    • Use setHeaders which accepts Headers since Node 18 if needed to forward Headers to Node
  • 1642a76
    Thanks @ardatan! - Remove unnecessary workaround for Bun

  • Updated dependencies
    [28c4ad9]:

May 16, 2025

16 May 15:55
0d51ec4

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

  • 8eb332c
    Thanks @ardatan! - Workaround for the bug in Node 24 and Deno don't
    like bound disposal functions

May 16, 2025

16 May 15:12
503d735

Choose a tag to compare

@whatwg-node/[email protected]

Patch Changes

  • #2414
    1f0b643
    Thanks @ardatan! - Improvements for Node 24 and use once from
    node:events for Promise-based event handling whenever possible

@whatwg-node/[email protected]

Patch Changes