Identical to 2.10.0.beta2
- fix: incorrect usage keyword parameter (fix for 2.10.0.beta1)
- fix: Change signed-out & interstitial request state conditions [clerk#30]
Identical to 2.9.0.beta3
- internal: Change request payloads to
application/jsoncontent type [clerk#29]
- feat: Support setting the secret key (previously called Backend API key) using
the
CLERK_SECRET_KEYenvironment variable [clerk#28]
- fix: Make JWKS cache work across different SDK instances [clerk#27]
- feat: Add support for the users.verify_totp endpoint
- feat: Add
#clerk_organizationand#clerk_organization_idhelpers to fetch the current user's active organization [clerk#22] - feat: Implement Organization Metadata update endpoint [clerk#21]
- feat: Implement Organization endpoints [clerk#20]
- feat: Add support for disabling the middleware on specific routes [clerk#19]
- feat: Add support for the users.disable_mfa endpoint
- feat: Add support for the users.verify_password endpoint
- feat: Add support for the users.create endpoint
- fix: Gracefully handle invalid JSON in Authorization header [clerk#16]
- fix: Make Authv2 middleware thread-safe
This release introduces the new networkless middleware which works with the new authentication scheme, Auth v2.
It is backwards-incompatible with applications using Auth v1.
- [BREAKING]: In order to use this version, you must set the authVersion prop
accordingly in your frontend:
Clerk.load({authVersion: 2})
For more information on Auth v2, please refer to https://clerk.com/docs/upgrade-guides/auth-v2.
- fix: Proper endpoint for oauth_access_token method
- fix: Instantiation of
Clerk::SDKwithout prior call toClerk.configure
- Middleware now uses a proxy object which lazy loads the Clerk session and user only when needed
- initial release