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.
This PR was opened by the Changesets release 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
@clerk/[email protected]
Major Changes
Stop
<ClerkProvider>
from opting applications into dynamic rendering. A new prop,<ClerkProvider dynamic>
can be used to opt-in to dynamic rendering and make auth data available during server-side rendering. The RSCauth()
helper should be preferred for accessing auth data during dynamic rendering. (#4366) by @jacekradko@clerk/nextjs: Converting auth() and clerkClient() interfaces to be async (#4366) by @jacekradko
@clerk/upgrade: Adding required codemod for @clerk/nextjs breaking changes
Migration guide
auth()
is now asyncPreviously the
auth()
method from@clerk/nextjs/server
was synchronous.The
auth
method now becomes asynchronous. You will need to make the following changes to the snippet above to make it compatible.Clerk middleware auth is now async
clerkClient() is now async
Previously the
clerkClient()
method from@clerk/nextjs/server
was synchronous.The method now becomes async. You will need to make the following changes to the snippet above to make it compatible.
Support
unstable_rethrow
insideclerkMiddleware
. (#4366) by @jacekradkoWe changed the errors thrown by
protect()
insideclerkMiddleware
in order forunstable_rethrow
to recognise them and rethrow them.Removes deprecated APIs:
authMiddleware()
,redirectToSignIn()
, andredirectToSignUp()
. See the migration guide to learn how to update your usage. (#4366) by @jacekradkoMinor Changes
Bug fix: Correctly redirect to sign in page in Next 15. (#4383) by @panteliselef
Add experimental support for new UI components (#4114) by @BRKalow
Patch Changes
93dfe7a09
,3b50b67bd
,a0204a8e8
,3b50b67bd
]:@clerk/[email protected]
Minor Changes
Patch Changes
93dfe7a09
,3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Minor Changes
Added
legalAcceptedAt
onUser
(#4367) by @octoperAdded
legalAcceptedAt
andskipLegalChecks
onCreateUserParams
andUpdateUserParams
Added
legal_accepted_at
onUserJSON
Patch Changes
3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Minor Changes
Patch Changes
Bug fix: Always receive a new session verification object when UserVerification component mounts. (#4359) by @panteliselef
Updated dependencies [
3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Minor Changes
Patch Changes
Remove @clerk/clerk-react as a dev depedency. Move @clerk/shared to depedencies (previously devDepedencies). (#4114) by @BRKalow
Updated dependencies [
3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Minor Changes
<ClerkProvider dynamic>
(#4366) by @jacekradkoPatch Changes
3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Minor Changes
Patch Changes
3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Minor Changes
Patch Changes
SignInProps
/SignUpProps
__experimental
type to allow for arbitrary properties (#4114) by @BRKalow@clerk/[email protected]
Minor Changes
@clerk/nextjs: Converting auth() and clerkClient() interfaces to be async (#4366) by @jacekradko
@clerk/upgrade: Adding required codemod for @clerk/nextjs breaking changes
Migration guide
auth()
is now asyncPreviously the
auth()
method from@clerk/nextjs/server
was synchronous.The
auth
method now becomes asynchronous. You will need to make the following changes to the snippet above to make it compatible.Clerk middleware auth is now async
clerkClient() is now async
Previously the
clerkClient()
method from@clerk/nextjs/server
was synchronous.The method now becomes async. You will need to make the following changes to the snippet above to make it compatible.
@clerk/[email protected]
Patch Changes
1be6dac56
,3b50b67bd
,a0204a8e8
]:@clerk/[email protected]
Patch Changes
1be6dac56
,3b50b67bd
,a0204a8e8
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
93dfe7a09
,3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
93dfe7a09
,3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
93dfe7a09
,3b50b67bd
,a0204a8e8
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
93dfe7a09
,3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
93dfe7a09
,3b50b67bd
,a0204a8e8
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
93dfe7a09
,3b50b67bd
,3b50b67bd
]:@clerk/[email protected]
Patch Changes
3b50b67bd
,3b50b67bd
]: