Skip to content

ci(repo): Version Packages - #645

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

clerk@4.5.0

Minor Changes

  • Add CLERK_ACCOUNTLESS_SOURCE to set the source clerk init records on the accountless applications it creates, so automated runs such as agent evals can tag their applications (for example clerk-eval). Unset, init records cli as before. (#654) by @manovotny

  • Add clerk agents mcp check [url], which reports whether your MCP server is set up for Clerk: the URL is registered as an MCP server, the audience claim and client registration are on, and its protected resource metadata is reachable and names the server and your instance. Each check is reported as pass or fail, and the command exits non-zero when one fails. A URL that isn't registered on the instance is refused with mcp_server_not_registered; with no URL and only legacy Dashboard registrations, it names them and says to mark one with clerk agents mcp configure <url>. It takes --app, --instance and --json, prints JSON in agent mode, changes nothing and sends no MCP request to the server. (#646) by @wyattjoh

  • Add clerk agents mcp configure <url>, which registers your own MCP server with Clerk: it adds the URL as an OAuth resource on the instance and, for the instance's first MCP server (legacy Dashboard registrations count as existing servers), turns on the audience claim and client ID metadata documents. Its setup prompt tells coding agents to protect the server with mcpAuth (Express, Hono and Cloudflare Workers) or withClerkMcpAuth (Next.js) from @clerk/mcp-tools. URLs with dot segments or characters the URL parser would rewrite are refused. It takes --app, --instance, --json, --dry-run and --yes, warns and asks before turning on those instance-wide settings (agent mode and --yes skip the prompt), prints JSON in agent mode, and never changes dynamic client registration, PKCE or consent. clerk mcp is unchanged. (#646) by @wyattjoh

  • Show request body fields in clerk api ls <path>. When the filter is an endpoint path, such as clerk api ls /users or clerk api ls /platform/applications --platform, each endpoint at that path with a request body lists its fields with their types, a required marker and a short description (or (no fields) when the body declares none), so you can build a valid request without a trial call. Keyword filters and endpoints without a body print as before. (#646) by @wyattjoh

  • Make clerk link claim the application a signed-out clerk init created and link the folder to it, and make clerk deploy and clerk deploy status say how to link a folder that runs on an unclaimed application. If the claim fails with an error that keeps the claim token, or the workspace is managed by an integration, clerk link now stops with the error and says whether to rerun it or link another app with --app, instead of offering apps that can't include the claimed one. If the folder's publishable key belongs to a different application, clerk link and clerk auth login claim the application but leave the folder unlinked and its env files unchanged, and say which file holds the other key. (#600) by @shane-kercheval

    • clerk auth login's claim-failure messages now say why the claim failed and what to do, and clerk init, clerk migrate and clerk doctor print them too when they sign you in.
  • clerk init and clerk doctor now warn when an existing Clerk native registration's App ID Prefix differs from the Apple team the iOS or macOS app is signed by, as happens after moving the app to another team. Setup still uses the registered prefix. If that prefix differs from the App ID's actual prefix in Apple Developer, passkeys and password AutoFill fail until the registration matches. The warning says how to fix it: look up the Bundle ID in Apple Developer, select the owning team in Xcode if needed, and copy the App ID's prefix into the registration in the Clerk Dashboard if it differs, or, for an iOS App ID that really uses a legacy prefix, pass --app-id-prefix with that prefix to confirm it. clerk doctor now accepts --app-id-prefix for that, its production check no longer treats a mismatched prefix as confirmed, and a production registration that differs from the release build's signing team is reported: as a Production App ID Prefix warning, or, when it also conflicts with the prefix carried over from development, under Production native registration. clerk init --json reports the warning in identity.warnings and as an app-id-prefix-review item in handoff.remaining; clerk doctor reports it as an App ID Prefix check. (#638) by @seanperez29

Patch Changes

  • Stop adding a duplicate .clerk/ line to .gitignore when the folder is already ignored under an equivalent pattern such as /.clerk/, .clerk, or .clerk/*. (#595) by @manovotny

  • Keep the trailing newline on files that clerk init edits, so they no longer show "No newline at end of file" in git diff. (#599) by @manovotny

  • clerk init now treats a project with .ts or .tsx source files as TypeScript before tsconfig.json exists, so it updates an existing app/layout.tsx and writes .ts/.tsx files instead of skipping the layout and writing .js/.jsx. (#590) by @djgould

  • Create the entitlements file inside the app's synchronized folder (for example MyApp/MyApp.entitlements), as Xcode does, when clerk init adds Associated Domains or Sign in with Apple to an iOS or macOS app that has none, so Xcode's navigator shows it. This covers apps from Xcode 16 and later templates, project.xcproj projects, and clerk init --starter apps; projects without a synchronized folder still get the file next to the .xcodeproj. (#622) by @seanperez29

  • Stop clerk init from setting up an existing iOS or macOS app against the linked Clerk application when the app's Clerk.configure publishable key belongs to a different application. With --json it reports an input-required status that names each mismatched configuration and the key's application, with the --relink command when relinking would fix every configuration, and the result now includes a configuredKeys field saying, for each configuration, whether its key was checked. (#639) by @seanperez29

  • Wait for Xcode to finish resolving packages when clerk init sets up an iOS or macOS app that's open in Xcode, and say Xcode is still resolving instead of pointing to network access. (#624) by @seanperez29

  • Deprecate --end-user-only on clerk logs list and clerk logs get. The Backend API now ignores it, so it filters nothing. Passing it still works and prints a warning. (#644) by @BrandonRomano

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: dd75429f-7564-4c4c-8209-6ebea53024de

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 4 times, most recently from 0a64847 to 527e451 Compare December 1, 2026 15:54
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 527e451 to 8685bc1 Compare December 2, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants