github nodejs/undici v8.4.0

12 hours ago

What's Changed

  • fix: register connect listener before initiating requests in close-and-destroy test by @mcollina in #5272
  • test: stabilize tls-cert-leak regression by @mcollina in #5306
  • fix: replace tspl with native test context in test/examples.js by @mcollina in #5300
  • http2: remove redundant request stream binding by @trivikr in #5302
  • test: limit cache-tests workers on Windows by @mcollina in #5309
  • test: use test context cleanup hooks in parser issue tests by @mcollina in #5282
  • Add redirect option to strip headers on redirect by @mcollina in #5281
  • chore(test): fix lint failure by @aduh95 in #5316
  • chore(ci): use npm ci instead of npm install by @aduh95 in #5315
  • docs: clarify formData security considerations by @mcollina in #5320
  • docs: add EventSource server example by @Will-thom in #5321
  • fix(core): simplify addAbortListener util by @aduh95 in #5317
  • build(deps-dev): bump ws from 8.20.0 to 8.21.0 by @dependabot[bot] in #5325
  • build(deps-dev): bump jsondiffpatch from 0.7.3 to 0.7.6 by @dependabot[bot] in #5313
  • docs: match undici EoL to node version it's bundled in by @trivikr in #5330
  • fix: handle all HTTP/2 request stream sync errors by @mcollina in #5311
  • fix: preserve timeout errors for HTTP/2 requests by @mcollina in #5091
  • fix(core): normalize autoSelectFamily timeout AggregateError by @youcefzemmar in #5329
  • chore(core): define kEnumerableProperty atomically by @aduh95 in #5332
  • chore(core): use regex.exec instead of string.match by @aduh95 in #5331
  • fix: reset invalid HTTP/2 sessions by @mcollina in #5310
  • feat(connect): add preferH2 connector option to offer h2 first in ALPN by @Antamansid in #5327
  • test: fix flaky http2 trailers test by @mcollina in #5338
  • fix(mock): restore single-arg MockCallHistory.filterCallsByX by @youcefzemmar in #5328
  • docs: document missing error types in Errors.md by @cesarvspr in #5339
  • build(deps): bump github/codeql-action from 4.35.3 to 4.36.1 by @dependabot[bot] in #5346
  • build(deps): bump actions/dependency-review-action from 4.9.0 to 5.0.0 by @dependabot[bot] in #5347
  • build(deps): bump uWebSockets.js from v20.67.0 to v20.68.0 in /benchmarks by @dependabot[bot] in #5352
  • build(deps): bump concurrently from 9.2.1 to 10.0.3 in /benchmarks by @dependabot[bot] in #5353
  • build(deps): bump step-security/harden-runner from 2.19.1 to 2.19.4 by @dependabot[bot] in #5348
  • build(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #5351
  • build(deps): bump codecov/codecov-action from 6.0.0 to 6.0.1 by @dependabot[bot] in #5349
  • docs: improve connect option documentation in Client.md by @AliMahmoudDev in #5344
  • fix(mock): do not persist snapshots on close in playback mode by @GeoffreyBooth in #5359
  • fix(fetch): remove abort listener when request settles by @ATOM00blue in #5318
  • test: add Node.js global fetch regression coverage by @mcollina in #5361
  • fix(h2): make Client multiplex on h2 (#4143) by @mcollina in #5362

New Contributors

Full Changelog: v8.3.0...v8.4.0

Don't miss a new undici release

NewReleases is sending notifications on new releases.