11.0.0
The breaking changes in this release are only to the Low-level URL Standard API. No actual URL parsing or serialization behavior has changed, and users of the URL and URLSearchParams exports are not affected.
These changes follow whatwg/url@fbaa03c.
- Removed the URL record type's
cannotBeABaseURLproperty. - Changed the URL record type's
pathfrom always being an array of strings, to being either a single string or an array of strings. - Renamed the
"cannot-be-a-base-URL path"parser state (i.e. value forstateOverride) to"opaque path". - Added the
serializePath(urlRecord)export. - Added the
hasAnOpaquePath(urlRecord)export.