Releases: nodejs/undici
Releases · nodejs/undici
v5.25.3
What's Changed
- perf: improve parse-url implementation by @anonrig in #2286
- test: enable websockets inclusion in WPTReport by @panva in #2284
- remove npm run test from pre-commit hook by @dancastillo in #2296
- perf: use @fastify/busboy by @gurgunday in #2211
- Disable finalizationregistry if node code cov by @mcollina in #2298
New Contributors
- @gurgunday made their first contribution in #2211
Full Changelog: v5.25.2...v5.25.3
v5.25.2
What's Changed
- Add Khaf to releasers by @mcollina in #2276
- fix: fix request with readable mode is object by @killagu in #2279
- fix loading websockets when node is built w/ --without-ssl by @KhafraDev in #2282
New Contributors
Full Changelog: v5.25.1...v5.25.2
v5.25.1
What's Changed
- Add publish types script by @Ethan-Arrowood in #2273
Full Changelog: v5.25.0...v5.25.1
v5.25.0
What's Changed
- fix: h2 without body by @metcoder95 in #2258
- ci: remove duplicated runs by @metcoder95 in #2265
- improve documentation of timeouts by making the units clear in all places by @mcfedr in #2266
- expose websocket in node bundle by @KhafraDev in #2217
- test: fix Fetch/HTTP2 tests by @metcoder95 in #2263
- fix undici when node is built with --without-ssl by @KhafraDev in #2272
- fix: Fix type definition for Client Interceptors by @ComradeCow in #2269
- Fix http2 agent by @mcollina in #2275
New Contributors
- @ComradeCow made their first contribution in #2269
Full Changelog: v5.24.0...v5.25.0
v5.24.0
Notable Changes
- feat: Add H2 support by @metcoder95 in #2061
What's Changed
- build(deps): bump step-security/harden-runner from 2.4.1 to 2.5.0 by @dependabot in #2203
- better stack trace for body.json by @KhafraDev in #2215
- allow http & https websocket urls by @KhafraDev in #2218
- build(deps-dev): bump @sinonjs/fake-timers from 10.3.0 to 11.1.0 by @dependabot in #2221
- fix: pass ProxyAgent proxy status code error by @NBNGaming in #2162
- fix failing test by @KhafraDev in #2223
- docs: update MockPool.md intercept method description by @capaj in #2220
- Update wpts by @KhafraDev in #2226
- build(deps): bump github/codeql-action from 2.21.2 to 2.21.5 by @dependabot in #2240
- build(deps): bump actions/setup-node from 3.6.0 to 3.8.1 by @dependabot in #2237
- build(deps): bump fastify/github-action-merge-dependabot from 3.9.0 to 3.9.1 by @dependabot in #2236
- build(deps): bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #2241
- build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.8 by @dependabot in #2238
- fix: aborting request with non-object error by @KhafraDev in #2243
- fix: preserve file path when parsing formdata by @jimmywarting in #2245
- build(deps-dev): bump tsd from 0.28.1 to 0.29.0 by @dependabot in #2246
- Updated benchmarks by @mcollina in #2250
- Fix fetch in node v20.6.0 by @mcollina in #2251
- Maybe fix v20 by @mcollina in #2252
- feat: Add H2 support by @metcoder95 in #2061
- docs: fix tables in README by @regseb in #2254
- Fix http2 fetch test by @mcollina in #2253
New Contributors
- @NBNGaming made their first contribution in #2162
- @capaj made their first contribution in #2220
- @regseb made their first contribution in #2254
Full Changelog: v5.23.0...v5.24.0
v5.23.0
What's Changed
- bump engines to node >= 16 by @ronag in #2119
- Revert "bump engines to node >= 16 (#2119)" by @ronag in #2121
- fetch: set referrer properly by @KhafraDev in #2125
- fix: support truncated gzip by @jimmywarting in #2126
- workflow: apply security best practices by @step-security-bot in #2130
- build(deps): bump actions/upload-artifact from 3.1.0 to 3.1.2 by @dependabot in #2135
- build(deps): bump actions/dependency-review-action from 2.5.1 to 3.0.4 by @dependabot in #2133
- build(deps): bump node from 18-alpine to 20-alpine in /build by @dependabot in #2131
- build(deps): bump pkgjs/action from 0.1.6 to 0.1.7 by @dependabot in #2136
- build(deps): bump actions/checkout from 3.1.0 to 3.5.2 by @dependabot in #2132
- build(deps-dev): bump jsdom from 21.1.2 to 22.1.0 by @dependabot in #2142
- build(deps): bump fastify/github-action-merge-dependabot from 3.7.0 to 3.8.0 by @dependabot in #2148
- fix(pr): use correct pr template file by @AugustinMauroy in #2141
- Additional WebSocket send tests to cover all payload size categories by @jawj in #2149
- fix: reverse decompression order of "Content-Encoding" encodings (fixes #2158) by @rychkog in #2159
- fix: keep running WPTs if a test times out by @KhafraDev in #2165
- feat: add build environment info by @mhdawson in #2168
- fix: forward error reason to fetch controller by @KhafraDev in #2172
- stricter types for bodymixin.json by @KhafraDev in #2181
- chore: Renable autoSelectFamily tests. by @ShogunPanda in #2180
- build(deps): bump actions/dependency-review-action from 3.0.4 to 3.0.6 by @dependabot in #2147
- build(deps): bump github/codeql-action from 2.3.2 to 2.20.3 by @dependabot in #2185
- fix: fetch resource timing performance entry names should be strings by @GaryWilber in #2188
- build(deps): bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #2176
- build(deps): bump fastify/github-action-merge-dependabot from 3.8.0 to 3.9.0 by @dependabot in #2177
- build(deps): bump ossf/scorecard-action from 2.1.3 to 2.2.0 by @dependabot in #2178
- build(deps): bump step-security/harden-runner from 2.4.0 to 2.4.1 by @dependabot in #2175
- test: fix
autoselectfamily
on platforms without IPv6 support by @LiviaMedeiros in #2197 - fix: make multipart/form-data boundary string more consistent by @LiviaMedeiros in #2196
- docs: add proxy agent options docs by @dancastillo in #2193
- build(deps): bump github/codeql-action from 2.20.3 to 2.21.2 by @dependabot in #2205
- feat: make use of
addAbortListener
where applicable by @atlowChemi in #2195
New Contributors
- @step-security-bot made their first contribution in #2130
- @AugustinMauroy made their first contribution in #2141
- @rychkog made their first contribution in #2159
- @mhdawson made their first contribution in #2168
- @GaryWilber made their first contribution in #2188
- @atlowChemi made their first contribution in #2195
Full Changelog: v5.22.1...v5.23.0
v5.22.1
What's Changed
- Cache storage by @KhafraDev in #2076
- test: skip content-disposition test in node 18 by @KhafraDev in #2081
- Cache storage cleanup by @KhafraDev in #2082
- Cache storage fixes by @KhafraDev in #2083
- test: improve test coverage for ErrorEvent and MessageEvent by @KhafraDev in #2085
- test: remove --experimental-wasm-simd by @KhafraDev in #2087
- websocket: add websocketinit by @KhafraDev in #2088
- feat(websocket): allow setting custom headers by @KhafraDev in #2089
- test: fix tests failing only on node v20 by @KhafraDev in #2096
- fix: skip set content-length when FormData value is stream by @fengmk2 in #2091
- doc: update outdated command in contributing.md by @jazelly in #2099
- cache: fix most failing WPTs by @KhafraDev in #2100
- feat: allow build:wasm to auto detect platform by @jazelly in #2102
- docs: updated Error documentation (fixes #2090) by @titanism in #2092
- mimesniff: fix many broken tests by @KhafraDev in #2103
- test: fix failing tests by @KhafraDev in #2097
- build(deps): bump github/codeql-action from 2.2.9 to 2.3.2 by @dependabot in #2105
- fix: more informative error message to tell that the server doesn't match http/1.1 protocol by @songkeys in #2055
- Fix bug in 16-bit frame length when buffer is a subarray by @jawj in #2106
- update wpts by @KhafraDev in #2108
- fix: update error definitions by @dfilatov in #2112
- fix: make assertion a noop by @ronag in #2111
New Contributors
- @jazelly made their first contribution in #2099
- @titanism made their first contribution in #2092
- @songkeys made their first contribution in #2055
- @jawj made their first contribution in #2106
- @dfilatov made their first contribution in #2112
Full Changelog: v5.22.0...v5.22.1
v5.22.0
What's Changed
- build(deps-dev): bump tsd from 0.27.0 to 0.28.1 by @dependabot in #2042
- build(deps): bump ossf/scorecard-action from 2.1.2 to 2.1.3 by @dependabot in #2040
- fix: handle opaque origin in sameOrigin by @KhafraDev in #2053
- test: add typescript import test back by @KhafraDev in #2054
- fix: use getMaxListeners when available by @KhafraDev in #2063
- feat: allow overriding hwm by @ronag in #2057
- fix: there is no sync connector by @ronag in #2059
- fix: rename .wasm to -wasm to appease jest by @KhafraDev in #2064
- fix: set content-length when using FormData body w/ request by @KhafraDev in #2066
- refactor: unify error body handling by @ronag in #2060
- fix: close and destroy overlap by @ronag in #2068
- remove node 12 from test matrix by @ronag in #2069
- fix: don't leak socket if client is destroyed while connecting by @ronag in #2058
- fix: flaky leak test by @ronag in #2070
- test: update wpts by @KhafraDev in #2073
- perf: latin1 by @ronag in #2075
- fix: mock fetch headers shouldn't be an array by @KhafraDev in #2080
Full Changelog: v5.21.2...v5.22.0
v5.21.2
What's Changed
- Content disposition parsing by @KhafraDev in #2051
- fix: clear set-cookie headers by @KhafraDev in #2052
Full Changelog: v5.21.1...v5.21.2
v5.21.1
What's Changed
- Fix typo in kPipelining symbol by @andrewfecenko in #2005
- fix(fetch): remove
undefined
error cause by @aduh95 in #2006 - chore(deps-dev): bump tsd from 0.25.0 to 0.27.0 by @dependabot in #2007
- build(deps-dev): bump wait-on from 6.0.1 to 7.0.1 by @dependabot in #1820
- fix(wpt): set global META_TITLE for the runner by @panva in #2008
- fix: issue 2009 by @KhafraDev in #2013
- build(deps-dev): bump typescript from 4.9.5 to 5.0.2 by @dependabot in #2018
- added descriptive error messages for URL parser by @RishabhKodes in #2016
- fix(fetch): remove content-length header on redirect by @KhafraDev in #2022
- fix(fetch): remove assertion on request.body.source on redirect (#2027) by @macno in #2028
- fix: skip failing test in node >= v19.8 by @KhafraDev in #2034
- fetch: treat content-encoding as case-insensitive & remove x-deflate by @KhafraDev in #2037
- perf(fetch): use string comparisons for url schemes by @KhafraDev in #2038
- util: replace util.toUSVString with String.prototype.toWellFormed by @KhafraDev in #2036
- build(deps): bump github/codeql-action from 2.2.4 to 2.2.9 by @dependabot in #2039
- build(deps-dev): bump concurrently from 7.6.0 to 8.0.1 by @dependabot in #2041
- Small performance improvements by @anonrig in #2044
- fix(types): Add missing Blob import by @dpogue in #2047
- fix: set window option properly by @KhafraDev in #2048
- fetch: fix leak by @ronag in #2049
New Contributors
- @aduh95 made their first contribution in #2006
- @RishabhKodes made their first contribution in #2016
- @macno made their first contribution in #2028
- @dpogue made their first contribution in #2047
Full Changelog: v5.21.0...v5.21.1