- fix: Make publishable_key and secret_key required without making the envs required [#53]
Note: this is identical to 4.0.0.beta1, which was yanked because it was not generated from the main branch.
- feat: replace interstitial with handshake (internal mechanisms) [#45]
- chore: re-organize and refactor internal code to extract functionality of rack middleware [#45]
- changed:
CLERK_PUBLISHABLE_KEY
orpublishable_key
inClerk.configure
is required [#46]
- feat: replace interstitial with handshake (internal mechanisms) [#45]
- chore: re-organize and refactor internal code to extract functionality of rack middleware [#45]
- changed:
CLERK_PUBLISHABLE_KEY
orpublishable_key
inClerk.configure
is required [#46]
- fix: Infinite redirect loop when client_uat=0 and __session exists [#55]
- fix: Incompatible __client_uat & __session should show interstitial [#51]
- fix: Incorrect check that lead to infinite redirect loop introduced by [#51]
Note: this is identical to 2.12.0, which was yanked because it contained a breaking change.
- fix: Properly set Clerk API key (secret) when using Faraday v2 [#37]
- feat: Added support for Faraday v2 [#37]
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 [#30]
Identical to 2.9.0.beta3
- internal: Change request payloads to
application/json
content type [#29]
- feat: Support setting the secret key (previously called Backend API key) using
the
CLERK_SECRET_KEY
environment variable [#28]
- fix: Make JWKS cache work across different SDK instances [#27]
- feat: Add support for the users.verify_totp endpoint
- feat: Add
#clerk_organization
and#clerk_organization_id
helpers to fetch the current user's active organization [#22] - feat: Implement Organization Metadata update endpoint [#21]
- feat: Implement Organization endpoints [#20]
- feat: Add support for disabling the middleware on specific routes [#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 [#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::SDK
without prior call toClerk.configure
- Middleware now uses a proxy object which lazy loads the Clerk session and user only when needed
- initial release