Releases: nodejs/undici
Releases · nodejs/undici
v7.0.0-alpha.5
What's Changed
- docs: fix broken links by using absolute path by @dancastillo in #3820
- fix: memory store by @ronag in #3834
- Update Dispatch.md to Dispatcher.md by @bcomnes in #3839
- lib: add
nowAbsolute
to fast timers by @flakey5 in #3749 - feat: cache etag support by @flakey5 in #3758
- feat: support request cache control directives by @flakey5 in #3658
New Contributors
Full Changelog: v7.0.0-alpha.4...v7.0.0-alpha.5
v7.0.0-alpha.4
What's Changed
- fix filename* parsing by @KhafraDev in #3768
- fix http2 test by @KhafraDev in #3769
- add unsafe-url referrerPolicy test by @KhafraDev in #3772
- chore(docs): add request() example for conditionally reading the body by @styfle in #3743
- fix: dns interceptor ip ttl by @luddd3 in #3770
- add node v23 workflow by @tsctx in #3780
- fix: dns interceptor affinity by @luddd3 in #3778
- fix aborting Streams by @epistemancering in #3754
- add tests from cookie package by @KhafraDev in #3789
- disable failing test by @ronag in #3782
- fix: http2 queueing by @metcoder95 in #3761
- test(interceptors): fix dns testing on windows by @metcoder95 in #3793
- feat: use resolved ports in dns interceptor by @luddd3 in #3786
- fix: cache by @ronag in #3804
- fix: assume blocking unless HEAD by @ronag in #3771
- chore: use common WASM builder by @mhdawson in #3791
- refactor: silence neostandard import rules error by @jerome-benoit in #3776
- build(deps): bump actions/dependency-review-action from 4.3.4 to 4.4.0 by @dependabot in #3797
- build(deps): bump github/codeql-action from 3.26.10 to 3.27.0 by @dependabot in #3796
- build(deps): bump fastify/github-action-merge-dependabot from 3.10.2 to 3.11.0 by @dependabot in #3795
- docs: add example using proxy with fetch by @dancastillo in #3800
- fix: handle Headers in RedirectHandler by @iiAku in #3777
- Skip debuglog tests by @mcollina in #3810
- build(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3 by @dependabot in #3794
- h2: do not emit data after goaway by @mcollina in #3811
- fix redirect interceptor with FormData body by @KhafraDev in #3815
- docs: fix broken links in undici webpage by @dancastillo in #3807
- fix: handle undici Headers and Maps in redirect-handler by @iiAku in #3819
- fix: handle undefined deref() of WeakRef(socket) by @hochoy in #3751
- build(deps-dev): bump @sinonjs/fake-timers from 11.3.1 to 12.0.0 by @dependabot in #3823
- fix: range end is zero-indexed by @DTrombett in #3826
- lib: more cache fixes by @flakey5 in #3816
- fix: cache fixes by @ronag in #3830
- Headers webidl errors by @KhafraDev in #3833
- Fix goaway by @mcollina in #3835
- refactor: maxEntriesCount by @ronag in #3832
- Update WPT by @github-actions in #3693
New Contributors
- @styfle made their first contribution in #3743
- @luddd3 made their first contribution in #3770
- @epistemancering made their first contribution in #3754
- @jerome-benoit made their first contribution in #3776
- @hochoy made their first contribution in #3751
- @DTrombett made their first contribution in #3826
Full Changelog: v7.0.0-alpha.3...v7.0.0-alpha.4
v6.21.0
What's Changed
- [Backport v6.x] web: mark as uncloneable when possible (#3709) by @jazelly in #3744
- [Backport v6.x] fetch: fix content-encoding order by @github-actions in #3764
- [Backport v6.x] fix: handle undefined deref() of WeakRef(socket) by @github-actions in #3822
- [Backport v6.x] fix: range end is zero-indexed by @github-actions in #3827
Full Changelog: v6.20.1...v6.21.0
v7.0.0-alpha.3
What's Changed
- fetch: refactor referrer policy util functions by @Uzlopak in #3706
- fix: PoolBase kClose and kDestroy should await and not return the Promise by @Uzlopak in #3716
- fix: data-url set extractValue of collectAnHTTPQuotedString by default to false by @Uzlopak in #3717
- faster brand check by @tsctx in #3720
- web: mark as uncloneable when possible by @jazelly in #3709
- chore(H2): onboard H2 into Undici queueing system by @metcoder95 in #3707
- http: extract listeners from client-h1 by @Uzlopak in #3725
- http2: extract listenHandlers and one bugfix by @Uzlopak in #3722
- feat: http caching by @flakey5 in #3562
- build(deps-dev): bump borp from 0.17.0 to 0.18.0 by @dependabot in #3734
- docs: fix broken link in readme by @pastelsky in #3591
- chore: add jsdoc to lib/web/websocket/constants.js by @Uzlopak in #3564
- chore: remove redundant async in readable.js by @Uzlopak in #3643
- fix(types): add missing
cache
prop to RequestInit by @rindeal in #3569 - [http-cache] follow up by @Uzlopak in #3733
- fix(#3736): leaked error event on response body by @metcoder95 in #3740
- fix: unsafe methods not causing cache purge by @flakey5 in #3739
- build(deps): bump node from
83b4d7b
tof1b4315
in /build by @dependabot in #3756
New Contributors
- @flakey5 made their first contribution in #3562
- @pastelsky made their first contribution in #3591
- @rindeal made their first contribution in #3569
Full Changelog: v7.0.0-alpha.2...v7.0.0-alpha.3
v6.20.1
What's Changed
- [Backport v6.x] jsdoc: add jsdoc to lib/web/fetch/constants.js by @github-actions in #3710
- [Backport v6.x] feat: implement
BodyReadable.bytes
by @github-actions in #3711 - fix: add more expectsPayload methods by @ronag in #3715
- [Backport v6.x] chore(H2): onboard H2 into Undici queueing system (#3707) by @Uzlopak in #3724
- [Backport v6.x] fix: PoolBase kClose and kDestroy should await and not return the Promise by @github-actions in #3723
- [Backport v6.x] fix: extract noop everywhere by @Uzlopak in #3727
Full Changelog: v6.20.0...v6.20.1
v7.0.0-alpha.2
What's Changed
- fetch: fix content-encoding order by @tsctx in #3343
- Add regression test for broken body by @mcollina in #3346
- build(deps): bump node from
075a5cc
to9af472b
in /build by @dependabot in #3355 - fix: post request signal by @Gigioliva in #3354
- Revert "fix: post request signal (#3354)" by @ronag in #3359
- websocket: don't use pooled buffer in mask pool by @tsctx in #3357
- fix: consider bytes read when dumping by @ronag in #3360
- refactor: simplify signal handling by @ronag in #3362
- fix: use explicit flag for when use has interacted with stream by @ronag in #3361
- Refactor example documentation structure and add CacheableLookup example by @DarkGL in #3363
- refactor: simplify request error handling by @ronag in #3364
- fix: ensure onConnect is always called by @ronag in #3327
- Refactor responseHeader to responseHeaders by @DarkGL in #3375
- fix: don't override user defined MaxListeners by @fawazahmed0 in #3372
- fix: forward dispatch return value by @ronag in #3368
- build(deps): bump github/codeql-action from 3.25.7 to 3.25.11 by @dependabot in #3382
- build(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0 by @dependabot in #3384
- build(deps): bump actions/dependency-review-action from 4.3.2 to 4.3.3 by @dependabot in #3383
- build(deps): bump step-security/harden-runner from 2.8.0 to 2.8.1 by @dependabot in #3381
- fix: throw on retry when payload is consume by downstream by @climba03003 in #3389
- Remove file by @KhafraDev in #3367
- build(deps): bump node from
9af472b
to138d0b5
in /build by @dependabot in #3392 - feat!: upgrade llhttp to 9.2.0 (#2705) by @metcoder95 in #3388
- websocket: reduce memory usage by @tsctx in #3393
- feat: implement
BodyReadable.bytes
by @tsctx in #3391 - websocket: avoid using Buffer.byteLength by @tsctx in #3394
- separate whatwg websocket logic from rfc 6455 by @KhafraDev in #3396
- websocket: add fast-path for string input by @tsctx in #3395
- Add generic type for opaque object by @jfhr in #3385
- build(deps): bump node from
138d0b5
to67225d4
in /build by @dependabot in #3398 - interceptors: move throwOnError to interceptor by @mertcanaltin in #3331
- chore!: drop interceptors by @metcoder95 in #3399
- build(deps-dev): bump @fastify/busboy from 2.1.1 to 3.0.0 by @dependabot in #3404
- fix: don't call onConnect automatically by @ronag in #3407
- In CITGM, skip tests that are flaky there by @mcollina in #3413
- Update esbuild to 0.19.10 by @mcollina in #3415
- Fix signature of RetryHandler by @JbIPS in #3416
- docs: fix ToC in CONTRIBUTING.md by @richardlau in #3420
- Fix fetch
duplex
docs by @Ethan-Arrowood in #3422 - fix: restore externalized Node.js dep compatibility by @richardlau in #3421
- fix: cast falsy servername to null to avoid falsy inequality by @ronag in #3426
- Add backport action by @mcollina in #3427
- build(deps): bump node from
67225d4
to858234a
in /build by @dependabot in #3411 - build(deps): bump github/codeql-action from 3.25.11 to 3.25.15 by @dependabot in #3432
- build(deps): bump actions/dependency-review-action from 4.3.3 to 4.3.4 by @dependabot in #3431
- build(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 by @dependabot in #3430
- build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 by @dependabot in #3428
- build(deps): bump step-security/harden-runner from 2.8.1 to 2.9.0 by @dependabot in #3429
- build(deps): bump superagent from 9.0.2 to 10.0.0 in /benchmarks by @dependabot in #3439
- build(deps): bump node from
17e6738
to30c5be9
in /build by @dependabot in #3443 - docs: use default link of Web Streams API by @trivikr in #3446
- fix: increased memory in finalization first appearing in v6.16.0 by @snyamathi in #3445
- test: add test for memory leak by @snyamathi in #3450
- build: parametrize the location of wasm-opt by @khardix in #3454
- test: streamline test scripts in regard of without-intl and run more tests for without-intl case by @Uzlopak in #3453
- feat!: drop throwOnError by @metcoder95 in #3451
- types: allow non strict HTTPMethod by @Uzlopak in #3457
- build(deps-dev): bump borp from 0.15.0 to 0.17.0 by @dependabot in #3424
- remove core isErrored and isReadable by @KhafraDev in #3459
- use bodyUnusable to check if body is unusable by @KhafraDev in #3460
- perf: non-recursive implementation of euclidian gcd in balanced pool by @Uzlopak in #3461
- fix: do validation first before actual business logic, like super() by @Uzlopak in #3463
- use FinalizationRegistry for cloned response body by @KhafraDev in #3458
- perf: use isIPv6 for checking if hostname is isIPv6 by @Uzlopak in #3466
- fix: stripURLForReferrer jsdoc in fetch logic by @Uzlopak in #3471
- fix: remove kInterceptors in ProxyAgent by @Uzlopak in #3474
- fix: fix codesmells in retry-handler by @Uzlopak in #3475
- add autocompletable header types by @KhafraDev in #3462
- fix: add missing kOriginalDispatch Symbol in mock-logic by @Uzlopak in #3470
- fix: fix jsdoc in cookies/parse.js by @Uzlopak in #3469
- fix: remove unnecessary parameters in USVString calls by @Uzlopak in #3467
- fix: add jsdoc in tree.js, avoiding codesmells by @Uzlopak in #3476
- perf: set isLowerCase param on all calls of HeadersList.append by @Uzlopak in #3468
- fix: instantiation of ResponseError, pass headers and data correctly by @Uzlopak in #3472
- ci: add WPT updater by @Uzlopak in #3482
- meta: move nightly comment body to issue body by @RedYetiDev in #3484
- chore: improve jsdoc in cookies by @Uzlopak in #3478
- chore: improve jsdoc and minor changes in EventSource by @Uzlopak in #3480
- types: add Autocomplete utility type by @Uzlopak in #3479
- fix: instantiation of SecureProxyConnectionError should pass options to parent class by @Uzlopak in #3473
- chore: replace standard and snazzy with neostandard by @Uzlopak in #3485
- fix: workflow commit user by @tsctx in #3491
- build(deps): bump node from
30c5be9
toa20e858
in /build by @dependabot in #3496 - chore: add --noEmit for typescript tests by @Uzlopak in #3498
- perf: only create wasm buffer if requested by @Uzlopak in #3499
- fix(types): MockAgent accepts ProxyAgent, EnvHttpProxyAgent and RetryAgent for agent option by @Uzlopak in #3497
- stricter Headers brand checks in cookies by @KhafraDev in #3500
- Update WPT by @github-actions in #3488
- fix: setEncoding should not throw on body #1125 by @Uzlopak in #3505
- websocket: set websocket readyState on fail by @KhafraDev in #3507
- build(deps-dev): bump jsdom from 24.1.3 to 25.0.0 by @dependabot in #3511
- build(deps):...
v6.20.0
What's Changed
- Remove patched dom types (
v6.x
branch) by @eXhumer in #3531 - docs(Backport v6.x): Fix signature of RetryHandler by @github-actions in #3594
- deps(dev): update @types/node by @metcoder95 in #3618
- fix: throw on retry when payload is consume by downstream by @github-actions in #3596
- feat(Backport v6.x): move throwOnError to interceptor by @github-actions in #3595
- [Backport v6.x] fix: reduce memory usage in client-h1 by @github-actions in #3672
- [Backport v6.x] fix: refactor fast timers, fix UND_ERR_CONNECT_TIMEOUT on event loop blocking by @github-actions in #3673
- [Backport v6.x] fix: run asserts first if possible by @github-actions in #3674
- [Backport v6.x] fix: use fasttimers for all connection timeouts by @github-actions in #3675
- [Backport v6.x] ci: less flaky test/request-timeout.js test by @github-actions in #3678
- [Backport v6.x] test: less flaky timers acceptance test, rework fast timer tests to pass them faster by @github-actions in #3679
- [Backport v6.x] ignore leading and trailing crlfs in formdata body by @github-actions in #3681
- [Backport v6.x] mock: fix mocking of Uint8Array and ArrayBuffers as provided mock-responses by @github-actions in #3689
- [Backport v6.x] handle body errors by @Uzlopak in #3700
Full Changelog: v6.19.8...v6.20.0
v6.19.8
Full Changelog: v6.19.7...v6.19.8
v6.19.7
Full Changelog: v6.19.6...v6.19.7
v6.19.6
Full Changelog: v6.19.5...v6.19.6