Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: joinRelativeURL #220

Merged
merged 6 commits into from Mar 15, 2024
Merged

feat: joinRelativeURL #220

merged 6 commits into from Mar 15, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Mar 13, 2024

Context: #37 > #217 > #218

This PR reverts back joinURL behavior to 1.4.0 (latest release) and adds support of joining URLs with relative ../ paths with new joinRelativeURL utility.

The reason for this decision is to avoid potential behavior changes as the current joinURL behavior is depended in many places. (also resolveURL and normalize need to follow a consistent change)

In next major release we might join behavior (but if anything diverging from joinRelativeURL, we keep it's behavior as is for joinRelativeURL to not break another segment of usages)

@pi0 pi0 requested a review from danielroe March 13, 2024 15:14
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@pi0 pi0 requested a review from danielroe March 15, 2024 12:46
@pi0 pi0 merged commit 69e26f8 into main Mar 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants