Skip to content

Releases: nodejs/undici

v3.2.0 - Agent

13 Jan 12:41
Compare
Choose a tag to compare

Improvements:

  • Agent and global methods (#508).

v3.1.0

12 Jan 09:54
Compare
Choose a tag to compare

📚 PR:

  • fix: throw if passed keepAlive
  • doc: fix grammar
  • fix: don't fail socket if onComplete throws
  • fix: throw if passed requestTimeout
  • fix: improve not support arg error message
  • fix: types
  • perf: check aborted earlier
  • perf: avoid closure capture
  • Fix capitalization of 'errors' in types (#503)
  • Two small grammar nits (#505)
  • feat(pool): forward connect and disconnect events (#510)
  • fix(types): Pool URL (#507)
  • Do not run .mjs in test. Add npm test to CI. (#511)

v3.0.0

17 Dec 22:44
Compare
Choose a tag to compare

Fixes:

  • Replace socketTimeout with bodyTimeout (#460).
  • Replace keepAlive option with pipelining: 0 (#459).
  • Rename idleTimeout option to keepAliveTimeout (#461).
  • Retry idempotent with original body (#471).
  • Add writableNeedDrain support to Client.stream (#442).
  • Free parser when detaching.
  • Throw if passed maxKeepAliveTimeout, idleTimeout, or socketTimeout.

Improvements:

  • Add trailers support to Client.request (#493).
  • Misc refactoring.

v2.2.1

08 Dec 06:23
Compare
Choose a tag to compare

Fixes:

  • Fallback to url as servername (#490),

v2.2.0

12 Nov 12:00
Compare
Choose a tag to compare

Fixes:

  • Make keep-alive postfix optional (#477).
  • Accept absolute urls as path (#468).

Improvements:

  • Add types (#375).
  • Update abort docs to native AbortController (#472).

v2.1.1

02 Nov 21:24
Compare
Choose a tag to compare

Fixes:

  • Free parser when detaching (6d92f14)
  • Retry idempotent body (#471)
  • Host header missing port (60cc0cf)

v2.1.0

23 Oct 23:50
Compare
Choose a tag to compare

📚 PR:

  • cosmetics
  • feat: allow pausing from onHeaders
  • Remove node 14 benchmark results
  • fix(core/request): handle header set to null (#453)
  • test: support earliest versions in range in CI (#454)
  • test: skip ESM test when ESM support not available (#455)
  • fix(benchmarks): fix timeout errors (#457)
  • Fix for node 12.19 (#458)

v2.0.7

09 Oct 08:50
Compare
Choose a tag to compare

Fixes:

  • Bad upgrade header (#451).
  • Node 12.9 (#449).

v2.0.6

07 Oct 19:59
Compare
Choose a tag to compare

Fixes:

  • Handle socket handle error (#436).
  • Always resume after complete if not destroy (1c628a9).
  • Skip when running and keep alive (1c628a9).

v2.0.5

24 Sep 21:50
Compare
Choose a tag to compare

Fixes:

  • Socket back pressure memory leak (#435).
  • Verify trailers (#433).