Releases: unjs/ufo
Releases · unjs/ufo
v1.5.4
🩹 Fixes
- parseURL: Only normalize windows drive letters with
file://
protocol (#246) - withProtocol: Consider relative protocol (#242)
❤️ Contributors
- Natanael Dos Santos Feitosa (@natanfeitosa)
- Pooya Parsa (@pi0)
- Emil (@ea-agital)
v1.5.3
v1.5.2
v1.5.1
v1.5.0
🚀 Enhancements
🩹 Fixes
- withoutTrailingSlash: Consider query param (#219)
📖 Documentation
❤️ Contributors
- Thijs Wijnmaalen [email protected]
- Pooya Parsa (@pi0)
- Daniel Roe (@danielroe)
- Diptesh Choudhuri [email protected]
- Fabian B (@madebyfabian)
v1.4.0
Important
This release might cause unintended regressions due to internal refactors for normalizeURL
and resolveUrl
utils.
Please report any issue if you suspect might be related to the upgrade.
🚀 Enhancements
🔥 Performance
- withFragment: Early return when no hash changes required (d6ce037)
🩹 Fixes
- encodeQueryValue: Encode the slash character (#198)
- Stringify protocol-relative URLs (#207)
- withFragment: Use
encodeHash
for encoding (48237ab)
💅 Refactors
- resolveUrl: Decouple from $URL (#186)
- Deprecate
$URL
andcreateURL
(f1af9b3) - normalizeURL: Decouple from
$URL
(9013029) - withoutFragment: Decouple from
withFragment
(712b8d5)
📖 Documentation
❤️ Contributors
- Pooya Parsa (@pi0)
- Daniel Acuña
- Diptesh Choudhuri [email protected]
- Daniel Roe (@danielroe)
- Petr Kolonicz
v1.3.2
v1.3.1
v1.3.0
🚀 Enhancements
- stringifyParsedURL: Support partial url inputs (#166)
🩹 Fixes
- parseURL: Handle
data:
andblob
protocols (#159) - parseURL, hasProtocol, isScriptProtocol: Ignore leading whitespaces (#170)
🏡 Chore
❤️ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Felix Yan (@felixonmars)
v1.2.0
🚀 Enhancements
- Add
isScriptProtocol
util (#156) - Generic types for
getQuery
andparseQuery
(#131) - Add
parseFilename
utility (#125)
🩹 Fixes
- parseQuery: Decode space in query keys (#150)
- Parsed query types should be string only (#139)
- stringifyQuery: Filter out empty values (#148)
- joinURL: Handle leading dot (#35)
❤️ Contributors
- Pooya Parsa (@pi0)
- Divine
- Oleg Khalin
- Daniel Roe [email protected]
- Raj Kadhi [email protected]