[next]: ensure locale prefixed dynamic routes come before non-prefixed#13003
Merged
[next]: ensure locale prefixed dynamic routes come before non-prefixed#13003
Conversation
🦋 Changeset detectedLatest commit: c509461 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ijjk
previously approved these changes
Feb 3, 2025
ijjk
approved these changes
Feb 4, 2025
Merged
EndangeredMassa
pushed a commit
that referenced
this pull request
Feb 5, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Patch Changes - [cli] remove warning `projects lists --update-required` about deprecated node versions ([#13016](#13016)) - [cli] updat vercel/fun to 1.1.4 ([#13018](#13018)) - Updated dependencies \[[`38758561c2cfe9ebae2b1d2af506b585639a2b84`](3875856), [`150990344d7195c72bb336614153c77d8cefb78c`](1509903)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`150990344d7195c72bb336614153c77d8cefb78c`](1509903)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Enable "demo" property for "react-router" framework ([#13008](#13008)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`ed69811b310bc46347b225f516ff2f7e0817933c`](ed69811), [`150990344d7195c72bb336614153c77d8cefb78c`](1509903)]: - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - ensure non-locale prefixed route variants come after more specific ones ([#13003](#13003)) ## @vercel/[email protected] ### Patch Changes - better path-to-regexp diff logging ([#12962](#12962)) ## @vercel/[email protected] ### Patch Changes - better path-to-regexp diff logging ([#12962](#12962)) ## @vercel/[email protected] ### Patch Changes - better path-to-regexp diff logging ([#12962](#12962)) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
QuietCraftsmanship
pushed a commit
to QuietCraftsmanship/Vercel
that referenced
this pull request
Jul 6, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Patch Changes - [cli] remove warning `projects lists --update-required` about deprecated node versions ([#13016](vercel/vercel#13016)) - [cli] updat vercel/fun to 1.1.4 ([#13018](vercel/vercel#13018)) - Updated dependencies \[[`058206a7f6eb9cff485e1c042c4256188e83d0a8`](vercel/vercel@058206a), [`d981974034b9dac4c381985ac7c946d9cc435c7d`](vercel/vercel@d981974)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`d981974034b9dac4c381985ac7c946d9cc435c7d`](vercel/vercel@d981974)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Enable "demo" property for "react-router" framework ([#13008](vercel/vercel#13008)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`2e6531d89c912ccc6a855ddc0062673515489ad1`](vercel/vercel@2e6531d), [`d981974034b9dac4c381985ac7c946d9cc435c7d`](vercel/vercel@d981974)]: - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - ensure non-locale prefixed route variants come after more specific ones ([#13003](vercel/vercel#13003)) ## @vercel/[email protected] ### Patch Changes - better path-to-regexp diff logging ([#12962](vercel/vercel#12962)) ## @vercel/[email protected] ### Patch Changes - better path-to-regexp diff logging ([#12962](vercel/vercel#12962)) ## @vercel/[email protected] ### Patch Changes - better path-to-regexp diff logging ([#12962](vercel/vercel#12962)) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the experimental flag added in #12916 we added handling to add non-localized redirects for dynamic routes, because we moved the defaultLocale handling to the
handle: misscase. However, we need to add these redirects after the less-specific localized routes so that those ones are matched first before the fallback case.