@clerk/clerk-react
5.61.3 · 27 Feb 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed
Deprecated by its maintainers: This package is no longer supported. Please use @clerk/react instead. See the upgrade guide for more info: https://clerk.com/docs/guides/development/upgrading/upgrade-guides/core-3What to use instead
Your version
5.61.12 is the newest release of 5.x.
npm marks 5.28.0 as deprecated: This package is no longer supported. Please use @clerk/react instead. See the upgrade guide for more info: clerk.com/docs/guides/development/upgrading/upg…
In short
1 new1 fixed2 internal
Security
1 advisory affects 5.28.0; 5.61.6 fixes them
- HighClerk has an authorization bypass when combining organization, billing, or reverification checksGHSA-w24r-5266-9c3c · 30 Apr 2026Fixed in 5.61.6
Release note
Minor Changes
Add support for feature or plan based authorization
useAuth()
Plan
- `useAuth().has({ plan: "my-plan" })`Feature
- `useAuth().has({ feature: "my-feature" })`Scoped per user or per org
- `useAuth().has({ feature: "org:my-feature" })`
- `useAuth().has({ feature: "user:my-feature" })`
- `useAuth().has({ plan: "user:my-plan" })`
- `useAuth().has({ plan: "org:my-plan" })`Plan
- `<Protect plan="my-plan" />`
Feature
- `<Protect feature="my-feature" />`
Scoped per user or per org
- `<Protect feature="org:my-feature" />` - `<Protect feature="user:my-feature" />` - `<Protect plan="org:my-plan" />` - `<Protect plan="user:my-plan" />`
Patch Changes
Improve JSDoc comments
Improve JSDoc comments
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.