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

fix: Dynamic segments & multitenancy for Next.js pages router #917

Merged
merged 10 commits into from
Feb 17, 2025

Conversation

franky47
Copy link
Member

@franky47 franky47 commented Feb 14, 2025

It failed to preserve the router pathname in the pages router with shallow: true.

Also surfaced some issues with dynamic routes in the pages router.

Tasks

  • Add test for pretty URL rendering (not encoding some characters)
  • Add dynamic keys test for other frameworks

Might close #869 and #693 (updated import in the pages router from next/navigation to next/compat/router.js).

Closes #914.

@franky47 franky47 added the adapters/next/pages Uses the Next.js pages router label Feb 14, 2025
@franky47 franky47 added this to the 🪵 Backlog milestone Feb 14, 2025
Copy link

vercel bot commented Feb 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuqs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 17, 2025 0:26am

Copy link

pkg-pr-new bot commented Feb 14, 2025

pnpm add https://pkg.pr.new/nuqs@917

commit: 1ccbe35

@franky47 franky47 merged commit b71a222 into next Feb 17, 2025
29 checks passed
@franky47 franky47 deleted the fix/914-multitenancy-nextjs-pages branch February 17, 2025 13:06
@franky47 franky47 changed the title test: Add multitenancy test for Next.js fix: Dynamic segments & multitenancy for Next.js pages router Feb 17, 2025
Copy link

🎉 This PR is included in version 2.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@franky47 franky47 removed this from the 🚀 Shipping next milestone Feb 17, 2025
@franky47 franky47 mentioned this pull request Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapters/next/pages Uses the Next.js pages router released
Projects
None yet
1 participant