Releases: jsdom/whatwg-url
16.0.1
16.0.0
Breaking change: now requires Node.js versions ^20.19.0 || ^22.12.0 || >=24.0.0.
Added encoding support for query string parsing, via the new encoding options to parseURL() and basicURLParse(). (The URL API is not affected, as it always uses UTF-8.) Thanks to @ChALkeR and his excellent @exodus/bytes package for providing the foundation!
15.1.0
15.0.0
Breaking change: now requires Node.js v20 or later.
Made minor updates to failure cases for "host"/"hostname" and "port" state override parsing, following URL Standard changes whatwg/url@c23aec1 and whatwg/url@cc8b776. These have no impact on usage of the high-level APIs.
14.2.0
Updated our tr46 dependency, which updates our international domain name support to reflect Unicode 16.0.0. Also includes the related changes to the URL Standard:
Added U+005E (^) to the path percent-encode set, per whatwg/url@9bc33c3.
Ensured opaque paths always roundtrip, per whatwg/url@6c78200.
14.1.1
14.1.0
Added URL.parse(), per whatwg/url@58acb06.
14.0.0
13.0.0
Breaking change: removed Node.js v14 support.
Added URL.canParse(), per whatwg/url@ae3c28b.
Added URLSearchParams's size getter, per whatwg/url@12b6f0c.
Added optional second value argument to URLSearchParams's has() and delete() methods, per whatwg/url@bfb9157.
Changed the serialization of the origin of blob: URLs whose inner URLs were not http: or https: to be "null", per whatwg/url@eee49fd.
12.0.1
Updated our tr46 dependency, which brings along several fixes related to international domain names. Such as:
- Empty domain name labels, as in
https://xn--4-0bd15808a.../, no longer cause URL parsing to fail. - Invalid punycode-encoded domain name labels, as in
http://xn--ls8h=/, now correctly cause URL parsing to fail. - Includes support for Unicode 15.0.0.
As part of this, we are now running against the newly-introduced test data derived from the Unicode Consortium-maintained IdnaTestV2.txt file, and passing them all.