Skip to content

Releases: nodejs/undici

v7.14.0

17 Aug 12:53
dfa2d15
Compare
Choose a tag to compare

What's Changed

  • Fix flaky snapshot-testing by @mcollina in #4367
  • Actually flush the file in lib/mock/snapshot-recorder.js by @mcollina in #4378
  • docs: clarify Node.js version support in LTS table by @mcollina in #4375
  • cache: fix excessive caching and some other lack of caching by @fredericDelaporte in #4335
  • feat(websocket): add handshake response info to undici:websocket:open diagnostic event by @tawseefnabi in #4396
  • feat: add install() function to type definitions by @jsaguet in #4384
  • build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by @dependabot[bot] in #4380
  • build(deps): bump cronometro from 4.0.3 to 5.3.0 in /benchmarks by @dependabot[bot] in #4171
  • build(deps): bump step-security/harden-runner from 2.12.0 to 2.13.0 by @dependabot[bot] in #4379
  • fix: h2 CI by @metcoder95 in #4395
  • feat: EventSource can be configured with reconnectionTime by @Uzlopak in #4260
  • build(deps-dev): bump tsd from 0.32.0 to 0.33.0 by @dependabot[bot] in #4404
  • eventsource: deflake reconnectionTime tests by @Uzlopak in #4406
  • cache: change normaliseHeaders to normalizeHeaders by @Uzlopak in #4408
  • build(deps-dev): bump jest from 29.7.0 to 30.0.5 by @dependabot[bot] in #4387
  • build(deps-dev): bump cross-env from 7.0.3 to 10.0.0 by @dependabot[bot] in #4386
  • cache-control: no-cache: use quoted-string form by @alxndrsn in #4177
  • test: fix snapshot testing flaky test by @Uzlopak in #4410
  • fix formdata constructor args mark optional by @tsctx in #4411
  • Update WPT by @github-actions[bot] in #4358
  • Update Cache Tests by @github-actions[bot] in #4096
  • chore: improve imports and requires by @Uzlopak in #4418
  • refactor: snapshot-recorder by @Uzlopak in #4413
  • Update WPT by @github-actions[bot] in #4416
  • fix: better set a finalizer on cloned response by @tsctx in #4419

New Contributors

Full Changelog: v7.13.0...v7.14.0

v7.13.0

31 Jul 09:09
8bbf77c
Compare
Choose a tag to compare

What's Changed

  • MockAgent.prototype.get support ignoreTrailingSlash option by @lisez in #4344
  • chore: more jsdoc and minor improvements for lib/api/readable.js, by @Uzlopak in #4351
  • ci: skip Node.js 20 tests on Windows by @mcollina in #4353
  • Update WPT by @github-actions[bot] in #4267
  • feat(ProxyAgent) improve Curl-y behavior in HTTP->HTTP Proxy connections (#4180) by @caitp in #4340
  • fix: detect and prevent redirect loops with Client/Pool by @mcollina in #4361
  • remove node:buffer imports by @KhafraDev in #4362
  • fix: remove deprecated maxRedirections option from types by @mcollina in #4363
  • Amend the GC warning in the README to clarify that consuming bodies is recommended but not required by @mcollina in #4364
  • fix(inteceptor/dump): handle preemptive network errors by @metcoder95 in #4354
  • feat: add SnapshotAgent for HTTP request recording and playback by @mcollina in #4270

New Contributors

Full Changelog: v7.12.0...v7.13.0

v7.12.0

18 Jul 14:01
eb455bb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.11.0...v7.12.0

v7.11.0

26 Jun 21:44
2fcd8e0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.10.0...v7.11.0

v7.10.0

20 May 07:19
5ad8998
Compare
Choose a tag to compare

What's Changed

  • Add "clientLifetime" option to close and remove connections from the pool after a specified time. by @dhalbrook in #4175
  • remove spurious only by @mcollina in #4207
  • add node v24 workflow by @tsctx in #4206
  • Update WPT by @github-actions in #4172
  • chore: add pnpm-lock.yaml to .gitignore by @styfle in #4227
  • fix: agent memory leak by @styfle in #4223
  • Add ability to detect when MemoryCacheStore reaches max size by @FelixVaughan in #4224
  • feat(ProxyAgent): match Curl behavior in HTTP->HTTP Proxy connections by @caitp in #4180
  • docs: correct example in FormData request by @inyourtime in #4226

New Contributors

Full Changelog: v7.9.0...v7.10.0

v6.21.3

13 May 08:07
da0e823
Compare
Choose a tag to compare

What's Changed

  • [Backport v6.x] append crlf to formdata body by @github-actions in #4210

Full Changelog: v6.21.2...v6.21.3

v7.9.0

10 May 18:37
1333929
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump step-security/harden-runner from 2.10.2 to 2.11.1 by @dependabot in #4134
  • Update WPT by @github-actions in #4155
  • Update WPT by @github-actions in #4170
  • feat: add new acceptNonStandardSearchParameters MockAgent option by @dario-piotrowicz in #4148
  • fix: cache: treat cache-control request header case-insensitively by @alxndrsn in #4131
  • cache: honour unqualified no-cache response directive by @alxndrsn in #4178
  • build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 by @dependabot in #4079
  • Ensure conflicting flat headers in HTTP/2 are combined correctly by @pimterry in #4196
  • Add stats of client and pool to be accessible through agent by @tdeekens in #4157
  • Fix missing code in diagnostics example by @islandryu in #4195
  • Doc cors spec compliance by @FelixVaughan in #4202
  • Restore cache tests & fix max-age behavior by @mcollina in #4198

New Contributors

Full Changelog: v7.8.0...v7.9.0

v7.8.0

10 Apr 10:01
6ea61af
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.7.0...v7.8.0

v7.7.0

02 Apr 09:03
981636f
Compare
Choose a tag to compare

What's Changed

  • fix: export UndiciHeaders type and set dispatch headers to UndiciHeaders by @dancastillo in #3849
  • feat(h2): emit connectionerror upon GOAWAY frame by @metcoder95 in #4123
  • Update WPT by @github-actions in #4126
  • Update DNS caching example to include other interceptors, production configuration by @GeoffreyBooth in #4127
  • feat: implement h2c client by @metcoder95 in #4118

New Contributors

Full Changelog: v7.6.0...v7.7.0

v7.6.0

27 Mar 14:17
9d5e8ba
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.5.0...v7.6.0