Skip to content

Conversation

@panteliselef
Copy link
Member

@panteliselef panteliselef commented Oct 22, 2024

Description

In next 15, the next-url header exists while in dev mode, but it's missing in the production build so we need to update our fallback detection as well.

Also __fetch.__nextGetStaticStore().getStore().pagePath has been replaced with __fetch.__nextGetStaticStore().getStore().page.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@panteliselef panteliselef self-assigned this Oct 22, 2024
@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2024

🦋 Changeset detected

Latest commit: b528e16

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/nextjs Minor

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

@panteliselef panteliselef requested a review from a team October 22, 2024 21:05
The `next-url` exists while in dev mode, but it's missing in the production build so we need to update our fallback detection as well.
@panteliselef panteliselef force-pushed the elef/sdki-717-update-page-detection-currently-broken-for-next-15 branch from a0d0ff2 to b528e16 Compare October 22, 2024 21:05
@panteliselef panteliselef merged commit 58c99a5 into main Oct 22, 2024
23 checks passed
@panteliselef panteliselef deleted the elef/sdki-717-update-page-detection-currently-broken-for-next-15 branch October 22, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants