New API version release#3380
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…om/clerk/clerk-docs into bruno/user-5311-latest-api-version
…m type name - Correct del/ins line ranges in the 2026-05-12 and Core 3 metadata examples so closing braces highlight correctly - Use > [!NOTE] callouts on the native mobile user pages - Align updateUserMetadata() param type with @clerk/backend (UserMetadataParams) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Pushed some review fixes directly in 3414da8.
Have a look, and let me know if anything looks off. I also updated the todo list in the PR description with a few more items. |
| | Python | TBD | | ||
| | Remix | TBD | | ||
| | Ruby | TBD | | ||
| | Vue | TBD | |
There was a problem hiding this comment.
Leaving a comment to flag that TBDs need to be fixed before merge. From @brunol95:
On the day of the release - my plan is to update the docs with all the latest version once the sdk PRs are merged/released
|
@brunol95 left a docs review with some small fixes:
I noticed there was still a mention of
|
- updateUser() metadata param deprecation points to both updateUserMetadata() (partial/merge) and replaceUserMetadata() (full replacement) so migrators relying on replace semantics aren't silently switched to merge - Drop "API" from "future major API version" — these are SDK deprecations, not bound to a future API version date - Move the deprecation > [!NOTE] callout to the top of the "Update user metadata" section on the native iOS/Android pages Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Pushed re-review fixes directly in 0886311.
|
yep! |
…eOrganizationMetadata()
…om/clerk/clerk-docs into bruno/user-5311-latest-api-version
…/user-5311-latest-api-version
- Fix ins line ranges in the 2026-05-12 organization example so the replaceOrganizationMetadata() closing line highlights - Correct the guide intro: PATCH metadata endpoints deep-merge, PUT endpoints replace in full - Align updateOrganization() deprecation wording with updateUser() (bold format, partial vs full replacement paths, no "API" in "future major version") - Unify org metadata params type as OrganizationMetadataParams across both org metadata reference pages - Add the replace TIP to updateOrganizationMetadata(), mirroring updateUserMetadata() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Pushed re-review fixes for the Organizations expansion directly in 2007d70.
Verified the org endpoint changes against clerk/clerk_go#18806 (metadata rejection on org |
| - Update an organization's data or metadata | ||
| - `PATCH /v1/organizations/{organization_id}`, `PATCH /v1/organizations/{organization_id}/metadata`, and `PUT /v1/organizations/{organization_id}/metadata` | ||
|
|
||
| 10 requests per 10 seconds per organization | ||
|
|
||
| --- | ||
|
|
||
| - Update an organization membership's data or metadata | ||
| - `PATCH /v1/organizations/{organization_id}/memberships/{user_id}` and `PATCH /v1/organizations/{organization_id}/memberships/{user_id}/metadata` | ||
|
|
||
| 10 requests per 10 seconds per organization membership |
There was a problem hiding this comment.
All five endpoints check out in clerk_go, but I couldn't find where the 10-requests-per-10-seconds buckets for Organizations and memberships are defined.
Where do these values come from?
There was a problem hiding this comment.
These values are defined within our terraform infrastructure
There was a problem hiding this comment.
Dug through terraform-app-infra to confirm. The user limit is there — "Block user update with same user_id (10reqs/10s)" in the clerk.dev zone — but it only matches PATCH today; the PUT coverage sits on bruno/user-5280-user-metadata-put-rate-limit, which is unmerged with no open PR. For the Organization and membership rows I can't find anything: no merged rule, no branch, and no open PR matching those paths. Is that infra change still to come?
There was a problem hiding this comment.
Yes, I will get the infra changes in when we release. I'll link the PRs here

🔎 Previews:
What does this solve? What changed?
In the next API version, metadata updates through the user update method are disallowed. This PR documents the API version page along with sdk changes to support the new version.
Todos
Deadline