github clerk/javascript @clerk/nextjs@6.29.0

latest releases: @clerk/types@4.92.0, @clerk/clerk-js@5.99.0, @clerk/fastify@2.4.37...
2 months ago

Minor Changes

  • [Billing Beta] Stricter return type of useCheckout to improve inference of other properties. (#6473) by @panteliselef

Patch Changes

  • Propagate treatPendingAsSignedOut to auth from clerkMiddleware (#6477) by @LauraBeatris

    export default clerkMiddleware(async (auth, req) => {
      // If the session has a `pending` status, `userId` will be `null` by default, treated as a signed-out state
      const { userId } = await auth();
    });
    export default clerkMiddleware(async (auth, req) => {
      // If the session has a `pending` status, `userId` will be defined, treated as a signed-in state
      const { userId } = await auth({ treatPendingAsSignedOut: false });
    });
  • Updated dependencies [9368daf, f93965f, 7b6dcee, ef87617]:

    • @clerk/shared@3.18.0
    • @clerk/clerk-react@5.39.0
    • @clerk/types@4.73.0
    • @clerk/backend@2.6.3

Don't miss a new javascript release

NewReleases is sending notifications on new releases.