- Added the class
Link
methodsetUnique
(@jaydenseric)
- Allow an empty language section in extended header encoding. (@qubyte)
- Replace NBSP with normal space (@angelo-v)
- link: Fix parsing of refs with multiple rel types
- link: Quote attribute values containing invalid token chars
- doc: Add note about relative URIs in link targets
- link: Fix case-sensitivity of extension relation types
- test: Use RFC 8288 examples, replace mocha with control
- test: Correct single -> double quote description
- Make
.get()
have a consistent return type (@dhui) - Improve
.has()
best-case performance (@dhui) - Fix
.has()
test and add a test for the negative case (@dhui)
- Fix
link.has()
always returningtrue
Breaking Changes:
- Removed parsing of query parameters from link IRI / URI
- Added handling for attributes with multiple occurrences
Changes:
- Rewrote parser, removing exponential-time regular expressions
- Fixed erronous URI-encoding of
rel
,anchor
andtype
attributes - Fixed handling of backslash-escaped characters
- Fixed missing cardinality handling for
type
,media
andtitle
attributes - Fixed handling of leading / trailing whitespace around delimiters
- Replace
querystring.*()
withxxcodeURIComponent()
(@ykzts)