nodejs/undici
### [`v5.12.0`](https://togithub.com/nodejs/undici/releases/tag/v5.12.0)
[Compare Source](https://togithub.com/nodejs/undici/compare/v5.11.0...v5.12.0)
This release includes significant improvements to fetch code coverage and spec compliance as well as a new option to limit response body size.
#### What's Changed
- feat(fetch): add `Request{Init}.duplex` and add WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1681](https://togithub.com/nodejs/undici/pull/1681)
- feat: add `response` WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1684](https://togithub.com/nodejs/undici/pull/1684)
- fix(wpt): broken test by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1683](https://togithub.com/nodejs/undici/pull/1683)
- feat: add in Header WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1685](https://togithub.com/nodejs/undici/pull/1685)
- feat(WPTs): add in idlharness.any.js test by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1689](https://togithub.com/nodejs/undici/pull/1689)
- feat: add all File WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1687](https://togithub.com/nodejs/undici/pull/1687)
- chore: fixed typos by [@TimShilov](https://togithub.com/TimShilov) in [https://github.com/nodejs/undici/pull/1695](https://togithub.com/nodejs/undici/pull/1695)
- feat: implement spec-compliant body mixins by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1694](https://togithub.com/nodejs/undici/pull/1694)
- fix(fetch): use structuredClone in clone body steps by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1697](https://togithub.com/nodejs/undici/pull/1697)
- feat: add in fetch/api/basic WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1698](https://togithub.com/nodejs/undici/pull/1698)
- fix: allow cloned stream to be unref'd by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1700](https://togithub.com/nodejs/undici/pull/1700)
- feat: add stream-safe-creation.any.js WPT by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1701](https://togithub.com/nodejs/undici/pull/1701)
- feat: add minesniff WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1702](https://togithub.com/nodejs/undici/pull/1702)
- feat: make File's `type` more strict by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1703](https://togithub.com/nodejs/undici/pull/1703)
- fix(fetch): re-calculate iterator after each iteration by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1706](https://togithub.com/nodejs/undici/pull/1706)
- wpt: add `scheme-blob.sub.any.js` by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1707](https://togithub.com/nodejs/undici/pull/1707)
- wpt: add remaining fetch/api/basic tests by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1708](https://togithub.com/nodejs/undici/pull/1708)
- feat: add parameter to ProxyAgent options, which is type of authentication by [@oooshima](https://togithub.com/oooshima) in [https://github.com/nodejs/undici/pull/1705](https://togithub.com/nodejs/undici/pull/1705)
- feat: add support for localaddress by [@metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/1659](https://togithub.com/nodejs/undici/pull/1659)
- feat: add abort reason support by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1686](https://togithub.com/nodejs/undici/pull/1686)
- wpt: add remaining fetch/api tests by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1712](https://togithub.com/nodejs/undici/pull/1712)
- feat: implement FileReader by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1690](https://togithub.com/nodejs/undici/pull/1690)
- wpt: remove tests that now succeed after implementing FileReader by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1713](https://togithub.com/nodejs/undici/pull/1713)
- wpt: run tests in parallel (2.5x speed improvement) by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1714](https://togithub.com/nodejs/undici/pull/1714)
- wpt: add two tests by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1719](https://togithub.com/nodejs/undici/pull/1719)
- wpt: add FormData wpts by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1722](https://togithub.com/nodejs/undici/pull/1722)
- fetch: implement new spec changes by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1721](https://togithub.com/nodejs/undici/pull/1721)
- fix(fetch): set default param value for `Response.json` by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1723](https://togithub.com/nodejs/undici/pull/1723)
- fix(redirect): Ignore query config after redirection by [@IlyasShabi](https://togithub.com/IlyasShabi) in [https://github.com/nodejs/undici/pull/1724](https://togithub.com/nodejs/undici/pull/1724)
- fix: accept close as message complete by [@ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/1726](https://togithub.com/nodejs/undici/pull/1726)
- update llhttp to the latest version v8.1.0 by [@HassanBahati](https://togithub.com/HassanBahati) in [https://github.com/nodejs/undici/pull/1718](https://togithub.com/nodejs/undici/pull/1718)
- docs: change master to main for links in the nodejs org by [@RaisinTen](https://togithub.com/RaisinTen) in [https://github.com/nodejs/undici/pull/1728](https://togithub.com/nodejs/undici/pull/1728)
- wpt: update scheme-blob.sub.any.js by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1731](https://togithub.com/nodejs/undici/pull/1731)
- fix(fetch): remove terminated event listener on redirect by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1715](https://togithub.com/nodejs/undici/pull/1715)
- fetch: update spec by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1732](https://togithub.com/nodejs/undici/pull/1732)
- wpt: fail runner if expected failures don't fail by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1736](https://togithub.com/nodejs/undici/pull/1736)
- feat(Client): add max response size option by [@mateonunez](https://togithub.com/mateonunez) in [https://github.com/nodejs/undici/pull/1729](https://togithub.com/nodejs/undici/pull/1729)
#### New Contributors
- [@TimShilov](https://togithub.com/TimShilov) made their first contribution in [https://github.com/nodejs/undici/pull/1695](https://togithub.com/nodejs/undici/pull/1695)
- [@oooshima](https://togithub.com/oooshima) made their first contribution in [https://github.com/nodejs/undici/pull/1705](https://togithub.com/nodejs/undici/pull/1705)
- [@IlyasShabi](https://togithub.com/IlyasShabi) made their first contribution in [https://github.com/nodejs/undici/pull/1724](https://togithub.com/nodejs/undici/pull/1724)
- [@HassanBahati](https://togithub.com/HassanBahati) made their first contribution in [https://github.com/nodejs/undici/pull/1718](https://togithub.com/nodejs/undici/pull/1718)
**Full Changelog**: https://github.com/nodejs/undici/compare/v5.11.0...v5.12.0
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
5.11.0
->5.12.0
Release Notes
nodejs/undici
### [`v5.12.0`](https://togithub.com/nodejs/undici/releases/tag/v5.12.0) [Compare Source](https://togithub.com/nodejs/undici/compare/v5.11.0...v5.12.0) This release includes significant improvements to fetch code coverage and spec compliance as well as a new option to limit response body size. #### What's Changed - feat(fetch): add `Request{Init}.duplex` and add WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1681](https://togithub.com/nodejs/undici/pull/1681) - feat: add `response` WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1684](https://togithub.com/nodejs/undici/pull/1684) - fix(wpt): broken test by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1683](https://togithub.com/nodejs/undici/pull/1683) - feat: add in Header WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1685](https://togithub.com/nodejs/undici/pull/1685) - feat(WPTs): add in idlharness.any.js test by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1689](https://togithub.com/nodejs/undici/pull/1689) - feat: add all File WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1687](https://togithub.com/nodejs/undici/pull/1687) - chore: fixed typos by [@TimShilov](https://togithub.com/TimShilov) in [https://github.com/nodejs/undici/pull/1695](https://togithub.com/nodejs/undici/pull/1695) - feat: implement spec-compliant body mixins by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1694](https://togithub.com/nodejs/undici/pull/1694) - fix(fetch): use structuredClone in clone body steps by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1697](https://togithub.com/nodejs/undici/pull/1697) - feat: add in fetch/api/basic WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1698](https://togithub.com/nodejs/undici/pull/1698) - fix: allow cloned stream to be unref'd by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1700](https://togithub.com/nodejs/undici/pull/1700) - feat: add stream-safe-creation.any.js WPT by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1701](https://togithub.com/nodejs/undici/pull/1701) - feat: add minesniff WPTs by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1702](https://togithub.com/nodejs/undici/pull/1702) - feat: make File's `type` more strict by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1703](https://togithub.com/nodejs/undici/pull/1703) - fix(fetch): re-calculate iterator after each iteration by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1706](https://togithub.com/nodejs/undici/pull/1706) - wpt: add `scheme-blob.sub.any.js` by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1707](https://togithub.com/nodejs/undici/pull/1707) - wpt: add remaining fetch/api/basic tests by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1708](https://togithub.com/nodejs/undici/pull/1708) - feat: add parameter to ProxyAgent options, which is type of authentication by [@oooshima](https://togithub.com/oooshima) in [https://github.com/nodejs/undici/pull/1705](https://togithub.com/nodejs/undici/pull/1705) - feat: add support for localaddress by [@metcoder95](https://togithub.com/metcoder95) in [https://github.com/nodejs/undici/pull/1659](https://togithub.com/nodejs/undici/pull/1659) - feat: add abort reason support by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1686](https://togithub.com/nodejs/undici/pull/1686) - wpt: add remaining fetch/api tests by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1712](https://togithub.com/nodejs/undici/pull/1712) - feat: implement FileReader by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1690](https://togithub.com/nodejs/undici/pull/1690) - wpt: remove tests that now succeed after implementing FileReader by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1713](https://togithub.com/nodejs/undici/pull/1713) - wpt: run tests in parallel (2.5x speed improvement) by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1714](https://togithub.com/nodejs/undici/pull/1714) - wpt: add two tests by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1719](https://togithub.com/nodejs/undici/pull/1719) - wpt: add FormData wpts by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1722](https://togithub.com/nodejs/undici/pull/1722) - fetch: implement new spec changes by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1721](https://togithub.com/nodejs/undici/pull/1721) - fix(fetch): set default param value for `Response.json` by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1723](https://togithub.com/nodejs/undici/pull/1723) - fix(redirect): Ignore query config after redirection by [@IlyasShabi](https://togithub.com/IlyasShabi) in [https://github.com/nodejs/undici/pull/1724](https://togithub.com/nodejs/undici/pull/1724) - fix: accept close as message complete by [@ronag](https://togithub.com/ronag) in [https://github.com/nodejs/undici/pull/1726](https://togithub.com/nodejs/undici/pull/1726) - update llhttp to the latest version v8.1.0 by [@HassanBahati](https://togithub.com/HassanBahati) in [https://github.com/nodejs/undici/pull/1718](https://togithub.com/nodejs/undici/pull/1718) - docs: change master to main for links in the nodejs org by [@RaisinTen](https://togithub.com/RaisinTen) in [https://github.com/nodejs/undici/pull/1728](https://togithub.com/nodejs/undici/pull/1728) - wpt: update scheme-blob.sub.any.js by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1731](https://togithub.com/nodejs/undici/pull/1731) - fix(fetch): remove terminated event listener on redirect by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1715](https://togithub.com/nodejs/undici/pull/1715) - fetch: update spec by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1732](https://togithub.com/nodejs/undici/pull/1732) - wpt: fail runner if expected failures don't fail by [@KhafraDev](https://togithub.com/KhafraDev) in [https://github.com/nodejs/undici/pull/1736](https://togithub.com/nodejs/undici/pull/1736) - feat(Client): add max response size option by [@mateonunez](https://togithub.com/mateonunez) in [https://github.com/nodejs/undici/pull/1729](https://togithub.com/nodejs/undici/pull/1729) #### New Contributors - [@TimShilov](https://togithub.com/TimShilov) made their first contribution in [https://github.com/nodejs/undici/pull/1695](https://togithub.com/nodejs/undici/pull/1695) - [@oooshima](https://togithub.com/oooshima) made their first contribution in [https://github.com/nodejs/undici/pull/1705](https://togithub.com/nodejs/undici/pull/1705) - [@IlyasShabi](https://togithub.com/IlyasShabi) made their first contribution in [https://github.com/nodejs/undici/pull/1724](https://togithub.com/nodejs/undici/pull/1724) - [@HassanBahati](https://togithub.com/HassanBahati) made their first contribution in [https://github.com/nodejs/undici/pull/1718](https://togithub.com/nodejs/undici/pull/1718) **Full Changelog**: https://github.com/nodejs/undici/compare/v5.11.0...v5.12.0Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.