Releases: jsdom/whatwg-url
4.8.0
Fixed Windows drive letter handling with a file:
base URL, per whatwg/url@fe6b251.
4.7.1
4.7.0
Changed file URLs to trim leading slashes from their paths, per whatwg/url@6103e0a.
4.6.0
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
4.5.0
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
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
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
Removed the distinction between null and empty-string passwords, per whatwg/url@5e0b05e.
Stopped decoding all %2e
s in the path, per whatwg/url@fbff683.