Skip to content

Releases: unjs/ufo

v1.5.4

16 Jul 18:29
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • parseURL: Only normalize windows drive letters with file:// protocol (#246)
  • withProtocol: Consider relative protocol (#242)

❤️ Contributors

v1.5.3

20 Mar 11:33
@pi0 pi0
9713f2f
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • joinRelativeURL: Avoid lookbehind regex for browser compatibility (#228)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.5.2

18 Mar 11:45
@pi0 pi0
5621692
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Use lookbehind regex only inside joinRelativeURL (#226)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.5.1

15 Mar 22:49
@pi0 pi0
3910926
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • joinRelativeURL: Handle base with protocol (#222)

v1.5.0

15 Mar 16:25
@pi0 pi0
6cd1fcd
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

🩹 Fixes

  • withoutTrailingSlash: Consider query param (#219)

📖 Documentation

❤️ Contributors

v1.4.0

06 Feb 10:20
@pi0 pi0
Compare
Choose a tag to compare

compare changes

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

  • Add withFragment utility (#193)
  • Add withoutFragment util (#199)

🔥 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 and createURL (f1af9b3)
  • normalizeURL: Decouple from $URL (9013029)
  • withoutFragment: Decouple from withFragment (712b8d5)

📖 Documentation

  • Remove mentioning $URL (65e6be8)
  • Update normalizeURL example (011777a)
  • Use jsdocs and automd (#209)

❤️ Contributors

v1.3.2

15 Nov 16:37
@pi0 pi0
f4c0400
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • parseURL: Parse protocol case-insensitively (#188)
  • Respect fragment in trailing slash utils (#175)

❤️ Contributors

v1.3.1

28 Sep 10:38
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Test script protocols insensitively (#180)

❤️ Contributors

v1.3.0

24 Aug 18:19
@pi0 pi0
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • stringifyParsedURL: Support partial url inputs (#166)

🩹 Fixes

  • parseURL: Handle data: and blob protocols (#159)
  • parseURL, hasProtocol, isScriptProtocol: Ignore leading whitespaces (#170)

🏡 Chore

❤️ Contributors

v1.2.0

28 Jul 18:37
@pi0 pi0
d115bad
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add isScriptProtocol util (#156)
  • Generic types for getQuery and parseQuery (#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