Mar 03, 2023
James Perkins
Organizations improvements, new Ruby SDK and Next.js route handler support
Happy Changelog Friday, the team has been working hard on improving our Organizations offering and SDKs.
You can now create organizations right from the Clerk dashboard and assign an owner from your user pool. This was a highly requested features and we are excited to be able to launch this.
We moved Organizations settings to the top level of the Clerk Dashboard to make it easier to enable and update maximum members limit
The updated Ruby SDK has fixes, changes to core functionality and new features that were needed. The most important are:
- Fix: Proper caching of JWKS responses All requests to the Backend API now use application/json
payloads. This also fixes particular calls to endpoints like the user.update
request when passing in backup codes
- Added: The API key can now be set using the CLERK_SECRET_KEY
environment variable [#28]
You can check out the release by update your Ruby SDK to Version: 2.9.0
In the 13.2 release of Next.js they introduced route handlerscurrentUser
and auth
. Below is an example of a route handler.
1import { currentUser } from "@clerk/nextjs/app-beta"23export async function GET() {4const user = await currentUser();5if (!user) {6return new Response('Hello, world!')7}89return new Response(`Hello, ${user.firstName}!`)10}
Start completely free for up to 10,000 monthly active users and up to 100 monthly active orgs. No credit card required.
Learn more about our transparent per-user costs to estimate how much your company could save by implementing Clerk.
The latest news and updates from Clerk, sent to your inbox.