Skip to content

Releases: jsdom/whatwg-url

4.8.0

10 May 18:57
Compare
Choose a tag to compare

Fixed Windows drive letter handling with a file: base URL, per whatwg/url@fe6b251.

4.7.1

24 Apr 20:45
Compare
Choose a tag to compare

Fixed a bug in parsing domains with empty labels, such as http://../.

4.7.0

03 Apr 05:18
Compare
Choose a tag to compare

Changed file URLs to trim leading slashes from their paths, per whatwg/url@6103e0a.

4.6.0

15 Mar 20:12
Compare
Choose a tag to compare

Changed the protocol setter to do nothing when a URL has username, password, or port components, per whatwg/url@462fdc1.

Changed the URL record representation to sometimes have an empty string host, instead of a null host, per whatwg/url@5807b28. (This does not impact the URL API, or parsing or serialization, but instead only the low-level URL record structure.)

4.5.1

12 Mar 19:21
Compare
Choose a tag to compare

Trimmed down the published npm package to no longer accidentally include a coverage/ directory and other miscellaneous files.

4.5.0

22 Feb 17:48
Compare
Choose a tag to compare

Changed host parsing to use nontransitional processing when converting to ASCII, per whatwg/url@f4d84a5.

Removed a special-case in the hash setter for javascript URLs, per whatwg/url@4bf85a0.

4.4.0

16 Feb 20:37
Compare
Choose a tag to compare

Changed host parsing for URLs without a special scheme, per whatwg/url@3036255 and whatwg/url@cdbcce6.

Changed path parsing for URLs without a special scheme, per whatwg/url@b087fe2.

Fixed parsing path-less file URLs without a base URL, per whatwg/url@698f3e8.

Changed the URL API's username, password, port, host, and hostname accessors to work more correctly for file and non-special URLs, per whatwg/url@cf616f9.

Added the toJSON() method to the URL class, per whatwg/url@7dcfe5b.

Fixed percent-encoding to work correctly on U+FFFD, instead of dropping such characters.

4.3.0

12 Jan 00:42
Compare
Choose a tag to compare

Returned failure in state override scheme parsing, per whatwg/url@4617e33. (This only impacts consumers of this library using the stateOverride option.)

Disallowed invalid IPv4 addresses in the IPv6 parser, per whatwg/url@a7ae1b8.

Fixed a bug where IPv6 address trailing zeros were not being compressed correctly. (#66, @rmisev)

4.2.0

03 Jan 22:14
Compare
Choose a tag to compare

Removed the distinction between null and empty-string passwords, per whatwg/url@5e0b05e.

Stopped decoding all %2es in the path, per whatwg/url@fbff683.

4.1.1

19 Dec 00:10
Compare
Choose a tag to compare

Fixed a regression introduced in v3.1.0 for parsing file URLs relative to file base URLs when the base URL contained a Windows drive letter.