-
Couldn't load subscription status.
- Fork 401
fix(express): Allow property access on req.auth for backward compatibility
#5995
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
Conversation
🦋 Changeset detectedLatest commit: 43fef22 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
|
!snapshot |
|
Hey @wobsoriano - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact
npm i @clerk/[email protected] --save-exact |
req.auth for backward compatibility
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/elements
@clerk/dev-cli
@clerk/clerk-expo
@clerk/expo-passkeys
@clerk/fastify
@clerk/localizations
@clerk/express
@clerk/nuxt
@clerk/nextjs
@clerk/remix
@clerk/react-router
@clerk/tanstack-react-start
@clerk/shared
@clerk/testing
@clerk/themes
@clerk/types
@clerk/clerk-react
@clerk/upgrade
@clerk/vue
commit: |
Description
We have devs coming from
clerk-sdk-nodewhich followed our migration guide to Express which includes direct property access of auth object viareq.auth. This PR allows bothreq.authandreq.auth()with deprecation message.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change