All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- parseURL: Only normalize windows drive letters with
file://
protocol (#246) - withProtocol: Consider relative protocol (#242)
- Lint with prettier defaults (666091d)
- Natanael Dos Santos Feitosa (@natanfeitosa)
- Pooya Parsa (@pi0)
- Emil (@ea-agital)
- joinRelativeURL: Avoid lookbehind regex for browser compatibility (#228)
- Pooya Parsa (@pi0)
- Use lookbehind regex only inside
joinRelativeURL
(#226)
- Pooya Parsa (@pi0)
- joinRelativeURL: Handle base with protocol (#222)
- Pooya Parsa (@pi0)
- withoutTrailingSlash: Consider qurry param (#219)
- joinURL: Rewrite with clear syntax and relative
../
support (#218)
- Fix typo (#213)
- Thijs Wijnmaalen [email protected]
- Pooya Parsa (@pi0)
- Daniel Roe (@danielroe)
- Diptesh Choudhuri [email protected]
- Fabian B (@madebyfabian)
- withFragment: Early return when no hash changes required (d6ce037)
- encodeQueryValue: Encode the slash character (#198)
- Stringify protocol-relative URLs (#207)
- withFragment: Use
encodeHash
for encoding (48237ab)
- resolveUrl: Decouple from $URL (#186)
- Deprecate
$URL
andcreateURL
(f1af9b3) - normalizeURL: Decouple from
$URL
(9013029) - withoutFragment: Decouple from
withFragment
(712b8d5)
- Update dependencies and lockfile (21e644e)
- Format readme with prettier (6b00230)
- Gitignore vitest temp files (89be2d1)
- Update docs (5ab6d16)
- Pooya Parsa (@pi0)
- Daniel AcuΓ±a
- Diptesh Choudhuri [email protected]
- Daniel Roe (@danielroe)
- Petr Kolonicz
- Alexander Lichter (@manniL)
- Pooya Parsa (@pi0)
- Daniel Roe (@danielroe)
- Test script protocols insensitively (#180)
- Update dependencies (20e99e7)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- stringifyParsedURL: Support partial url inputs (#166)
- parseURL: Handle
data:
andblob
protocols (#159) - parseURL, hasProtocol, isScriptProtocol: Ignore leading whitespaces (#170)
- release: V1.2.0 (eee29ee)
- Correct typos in readme (#160)
- Update depnednecie (b6f6cee)
- Add
security.md
(e600fc0)
- Use conventional commit message (#157)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Felix Yan (@felixonmars)
- Add
isScriptProtocol
util (#156) - Generic types for
getQuery
andparseQuery
(#131) - Add
parseFilename
utility (#125)
- 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)
- release: V1.1.2 (8f36c4f)
- Lint test file (7fa45a0)
- Update dependencies (b9b3b6c)
- Lint (17c0ad6)
- Add autofix ci (5bb737f)
- Move autofix ci to
.github/workflows
dir (f1b3d5c) - Fix autofix ci (a6fcce3)
- Pooya Parsa (@pi0)
- Divine
- Oleg Khalin
- Daniel Roe [email protected]
- Raj Kadhi [email protected]
- Provide node16 style types field (#133)
- Pooya Parsa (@pi0)
- Nozomu Ikuta
- SΓ©bastien Chopin [email protected]
- Daniel Roe [email protected]
- hasProtocol: Expand protocol relative url regexp (#126)
- Add more tests for full coverage (#127)
- Divine
- Daniel Roe [email protected]
- parseHost: Correctly parse hostnames with and without port (#120)
- Port should be string (75a280c)
- Encode
[]
and{}
in query values to increase compatibility (#118) - hasProtocol: Accept backslash too (#122)
- Lint with prettier (80cd389)
- Pooya Parsa [email protected]
- Divine
- Smeng9
1.0.1 (2022-11-29)
- fix
QueryValue
type to be array only asQueryObject
values (#101) (3fbad8c) - hasProtocol: do not treat windows drive letter as protocol (#106) (67c3dab)
- query: uniform handling of empty array values (#103) (0b1007d)
1.0.0 (2022-11-14)
0.8.6 (2022-10-15)
0.8.5 (2022-07-07)
0.8.4 (2022-05-06)
isEqual
utility (5fb8267)
0.8.3 (2022-03-31)
0.8.2 (2022-03-31)
0.8.1 (2022-03-16)
- parseURL: don't fail if hostAndPath not matching (d297e60)
0.8.0 (2022-03-15)
- hasProtocol additional protocols (#46)
- add typecheck (a9626ff)
- hasProtocol additional protocols (#46) (d66cb64)
- parseURL: respect 0 number as query value (#44) (f2f188f)
0.7.11 (2022-02-25)
0.7.10 (2022-01-31)
- parseURL: normalize unescaped backslash to slash (07b97af)
0.7.9 (2021-08-17)
- encode plus as
%2B
(500885b), closes #34 - parseURL: support url with leading
?
(resolves #33) (aab7d5f)
0.7.8 (2021-08-17)
0.7.7 (2021-06-30)
0.7.6 (2021-06-30)
0.7.5 (2021-05-17)
0.7.4 (2021-05-11)
0.7.3 (2021-05-11)
0.7.2 (2021-04-28)
0.7.1 (2021-04-23)
0.7.0 (2021-04-23)
- add module exports field
- add module exports field (7c26571)
0.6.11 (2021-04-06)
- pkg: remove exports field to improve compatibility with webpack4 (be3b1ae)
0.6.10 (2021-03-09)
0.6.9 (2021-03-05)
0.6.8 (2021-03-05)
0.6.7 (2021-02-22)
- isEmptyURL and isNonEmptyURL utils (3c1c6d8)
- joinURL, resolveURL: ignore empty url parts (c5fd74d)
0.6.6 (2021-02-10)
- bail base utils if base is / or empty (bb09b06)
0.6.5 (2021-02-10)
withBase
andwithoutBase
utils (1667eca)
0.6.4 (2021-02-08)
0.6.3 (2021-02-08)
- avoid empty string with without*Slash utils (126667d)
0.6.2 (2021-02-08)
isSamePath
utility (3e55aa9)
0.6.1 (2021-02-02)
0.6.0 (2021-02-02)
0.5.4 (2021-01-07)
- enable plus encoding for query value (82ab3f1)
0.5.3 (2021-01-06)
0.5.2 (2020-12-16)
0.5.1 (2020-12-16)
- update encodeQueryValue to match URL spec for space and plus (9446d9c)
0.5.0 (2020-12-16)
- api updates and params renamed to query
- reduce dependency on $URL for less encode/decoding (38631cf)
0.4.0 (2020-12-16)
- lightweight joinURL + resolveURL
- lightweight joinURL + resolveURL (9a34622)
0.3.1 (2020-12-16)
- pkg: remove trailing slash in exports (9d94e3c)
0.3.0 (2020-12-16)
- pkg: add exports and drop browser field
- custom url parser
- pkg: add exports and drop browser field (218225d)
- compact punycode support (edaf5ca)
- custom url parser (be8578f)
- use custom parsers for urls without hostname (b22eb2e), closes nuxt/nuxt.js#8457
- preserve trailingslash from parse state (adc9688)
- remove password from auth when is not provided (6616f02)
0.2.0 (2020-12-15)
- rewrite with URL ponyfill (#4)
0.1.6 (2020-12-15)
- enforce double slash (90d8172)
0.1.5 (2020-12-15)
- fix issue with hasProtocol (239cdf7)
0.1.4 (2020-12-12)
- joinURL: preserve params from input path (8f8f10a)
0.1.3 (2020-12-12)
- withParams: prevent double encoding raw params (28eb848)
0.1.2 (2020-12-12)
- getParams object keys (72bcdf2)
0.1.1 (2020-12-12)
0.1.0 (2020-12-09)
- preserve relative urls without leading slash
0.0.3 (2020-12-04)
- sideEffects field (bbc36d1)