github nodejs/undici v8.3.0

7 hours ago

What's Changed

  • fix: preserve pool capacity after removing stale client by @trivikr in #5151
  • build(deps): bump actions/github-script from 8.0.0 to 9.0.0 by @dependabot[bot] in #5157
  • build(deps): bump actions/upload-artifact from 5.0.0 to 7.0.1 by @dependabot[bot] in #5162
  • build(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 by @dependabot[bot] in #5156
  • chore(http2): collapse duplicate request stream setup by @trivikr in #5140
  • perf(client): cache HTTP/2 authority by @trivikr in #5141
  • build(deps-dev): bump borp from 0.20.2 to 1.0.0 by @dependabot[bot] in #4819
  • types: add TOpaque to client connect options by @samuel871211 in #4928
  • build(deps): bump tinybench from 5.1.0 to 6.0.1 in /benchmarks by @dependabot[bot] in #4688
  • build(deps): bump codecov/codecov-action from 5.5.1 to 6.0.0 by @dependabot[bot] in #4950
  • build(deps): bump actions/dependency-review-action from 4.8.1 to 4.9.0 by @dependabot[bot] in #4951
  • test(fetch): add userinfo coverage for issue-4897 URLs by @mcollina in #4901
  • perf: avoid duplicate pool dispatcher selection on backpressure by @trivikr in #5149
  • build(deps): bump actions/setup-node from 6.2.0 to 6.4.0 by @dependabot[bot] in #5163
  • build(deps): bump step-security/harden-runner from 2.14.1 to 2.19.1 by @dependabot[bot] in #5160
  • build(deps): bump cronometro from 5.3.0 to 6.0.3 in /benchmarks by @dependabot[bot] in #4687
  • build(deps): bump github/codeql-action from 4.35.1 to 4.35.3 by @dependabot[bot] in #5161
  • build(deps-dev): bump neostandard from 0.12.2 to 0.13.0 by @dependabot[bot] in #4853
  • build(deps): bump hendrikmuhs/ccache-action from 1.2.22 to 1.2.23 by @dependabot[bot] in #5158
  • build(deps): bump fastify/github-action-merge-dependabot from 3.11.2 to 3.12.0 by @dependabot[bot] in #5159
  • build(deps-dev): bump c8 from 10.1.3 to 11.0.0 by @dependabot[bot] in #4854
  • build(deps): bump uWebSockets.js from v20.64.0 to v20.66.0 in /benchmarks by @dependabot[bot] in #5130
  • docs: mention install() also installs WebSocket globals by @mcollina in #5174
  • types: stop interfering with @types/node by @Renegade334 in #5173
  • fix: align h2 empty body content-length methods with h1 by @trivikr in #5172
  • build(deps-dev): bump fast-check from 4.6.0 to 4.7.0 by @dependabot[bot] in #5192
  • build(deps-dev): bump typescript from 6.0.2 to 6.0.3 by @dependabot[bot] in #5191
  • test: move cleanup from finally to after hooks by @trivikr in #5194
  • test: resolve flaky timeout in issue-3356 by @trivikr in #5188
  • SnapshotAgent: Add normalizeBody and normalizeQuery by @GeoffreyBooth in #5121
  • fix(socks5): use configured connector in Socks5ProxyAgent by @trivikr in #5168
  • perf(http2): avoid isArray checks for common headers by @trivikr in #5170
  • fix(test): make deduplicate body-streaming test non-flaky by @mcollina in #5196
  • test(retry): add regression test for RetryAgent + HTTP/2 stream timeout (#5137) by @mcollina in #5176
  • fix(socks5): preserve dispatch backpressure return value by @trivikr in #5166
  • perf(http2): end zero-length request bodies with headers by @trivikr in #5169
  • fix(test): make issue-2898-comment.js assertion robust against flakiness by @mcollina in #5208
  • test: disable timeouts in h2 high concurrency regression by @trivikr in #5205
  • test: deflake stream compat coverage by @mcollina in #5209
  • fix(dispatcher): remove unreachable assert in writeBlob by @SAY-5 in #5231
  • fix: clean up benchmark resources before worker exit by @trivikr in #5225
  • test: avoid per-chunk assertions in diagnostics get by @trivikr in #5224
  • test: capture cache test worker stderr and preserve failures by @trivikr in #5206
  • chore: gitignore benchmarks/package-lock.json by @trivikr in #5228
  • perf(proxy-agent): avoid extra header allocations in auth guard by @trivikr in #5164
  • test(wpt): retry WPT server startup on port conflicts or timeout by @trivikr in #5215
  • test: make websocket diagnostics ping-pong ordering deterministic by @trivikr in #5222
  • test(websocket): fix flaky send test by @mcollina in #5232
  • fix: prevent node-fetch test server close from hanging on Windows by @mcollina in #5246
  • test: wait for cache test server to listen by @trivikr in #5242
  • fix: accept unknown-size Content-Range values by @trivikr in #5120
  • test: avoid global dispatcher state in mock client tests by @trivikr in #5258
  • test: fix flaky permessage-deflate limit timeout by @mcollina in #5229
  • test: drain request bodies in request tests by @trivikr in #5247
  • test: reduce retry-after invalid date timing flake by @trivikr in #5250
  • test: drive request timeout ticks after connect by @trivikr in #5251
  • test: only fail max-listener checks on max-listener warnings by @trivikr in #5253
  • test: avoid double-closing server in client-request test by @trivikr in #5255
  • fix(retry-handler): validate response body length against Content-Range by @mcollina in #4975
  • test: wait for inflight-and-close body cleanup by @trivikr in #5261
  • fix(test): make http2-pseudo-headers test order-independent by @mcollina in #5234
  • fix: preserve fetch multipart body on MockAgent fallback by @mcollina in #5269
  • ci: build Node FFI fixtures for shared-builtin tests by @trivikr in #5275
  • test: deflake issue-5137 stream count assertion by @trivikr in #5243
  • fix: replace finished() with writable lifecycle tracking by @trivikr in #5001
  • perf(client-h2): reuse request stream handlers by @trivikr in #5280
  • fix: prevent pipeline body replay on redirect by @mcollina in #5274
  • fix(types): remove throwOnError from Dispatcher.RequestOptions by @Zelys-DFKH in #5279
  • fix: validate EOF for chunked h1 responses by @mcollina in #5273
  • test: deflake parser-issues teardown by @mcollina in #5278
  • test: make http2-alpn control requests explicit by @trivikr in #5252
  • test: include cache-test worker metadata on failure by @trivikr in #5276
  • test: include after in parser-issues by @trivikr in #5284
  • cache formdata boundary by @KhafraDev in #5292
  • build(deps-dev): bump fast-check from 4.7.0 to 4.8.0 by @dependabot[bot] in #5298
  • test: retry crashed cache-test workers once by @trivikr in #5294
  • Add Node 26 to the matrix by @mcollina in #5271
  • perf(client-h2): reuse request upgrade stream handlers by @trivikr in #5293
  • build(deps-dev): bump jest from 30.3.0 to 30.4.2 by @dependabot[bot] in #5297
  • build(deps): bump uWebSockets.js from v20.66.0 to v20.67.0 in /benchmarks by @dependabot[bot] in #5299
  • test: fix flaky http2-dispatcher WebSocket upgrade tests by @mcollina in #5304

New Contributors

Full Changelog: v8.2.0...v8.3.0

Don't miss a new undici release

NewReleases is sending notifications on new releases.