Skip to content

ci(repo): Version packages #6525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

clerk-cookie
Copy link
Collaborator

@clerk-cookie clerk-cookie commented Aug 12, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm 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/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

Patch Changes

@clerk/[email protected]

Minor Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

Summary by CodeRabbit

  • New Features

    • Pricing and trials: PricingTable now shows trial info; billing displays use fee-based amounts.
    • Next.js: Added telemetry to detect keyless environment drift.
    • Experimental: Signals-based reset password flow.
  • Improvements

    • Localizations updated with a new organization-selection key.
    • New backend resources available for integrations.
  • Chores

    • Version bumps and dependency updates across packages.
    • Changelogs updated; obsolete changeset files removed.

Copy link

vercel bot commented Aug 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
clerk-js-sandbox Ready Preview Comment Aug 12, 2025 10:37pm

Copy link

pkg-pr-new bot commented Aug 12, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@6525

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@6525

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@6525

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@6525

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@6525

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@6525

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@6525

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@6525

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@6525

@clerk/express

npm i https://pkg.pr.new/@clerk/express@6525

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@6525

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@6525

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@6525

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@6525

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@6525

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@6525

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@6525

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@6525

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@6525

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@6525

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@6525

@clerk/types

npm i https://pkg.pr.new/@clerk/types@6525

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@6525

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@6525

commit: a56476f

Copy link
Contributor

coderabbitai bot commented Aug 12, 2025

📝 Walkthrough

Walkthrough

This PR removes multiple changeset files and updates changelogs and package.json version fields across many packages (agent-toolkit, astro, backend, chrome-extension, clerk-js, elements, expo-passkeys, expo, express, fastify, localizations, nextjs, nuxt, react-router, react, remix, shared, tanstack-react-start, testing, themes, types, vue). Most edits are documentation or metadata-only (changelog entries and version bumps). The backend changelog and package version are updated to list Machine and M2MToken as exported in the public API.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • panteliselef
  • LauraBeatris
  • wobsoriano

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

coderabbitai bot commented Aug 12, 2025

📝 Walkthrough

Walkthrough

This PR updates multiple packages with version bumps and changelog entries across the repo. It documents dependency updates (notably @clerk/[email protected], @clerk/[email protected], and @clerk/[email protected]) and adds new release entries for numerous packages. The backend changelog notes new public exports: Machine and M2MToken from @clerk/backend. Two changeset files are removed. No functional code changes are shown beyond metadata/changelog updates.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested reviewers

  • panteliselef

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (9)
packages/localizations/package.json (1)

3-3: Patch bump to 3.20.10 looks good.

Package is located under packages/localizations per guidelines; no API or exports changes here. Ensure CHANGELOG includes the 3.20.10 entry (the repo-wide script in another comment will verify).

Given this is a doc/dependency update-only release, ensure your release pipeline includes a smoke test that imports a couple of representative locales to catch packaging regressions.

packages/types/CHANGELOG.md (1)

3-8: LGTM; consider adding a brief note on which types gained “trial” fields.

The Minor entry is fine. For discoverability, a one-liner listing the specific type names or fields that were added would help downstream SDK authors.

packages/tanstack-react-start/package.json (1)

3-3: Patch bump to 0.21.9 is consistent. Small peer/dev dependency version alignment nit.

Dev deps are on ^1.128.0 while peer deps are ^1.127.0 for @tanstack/*; that’s fine (peers are minimums), but consider aligning peers to ^1.128.0 to reduce potential version mismatch warnings for consumers.

If you choose to align, update peerDependencies:

"peerDependencies": {
  "@tanstack/react-router": "^1.128.0",
  "@tanstack/react-start": "^1.128.0",
  "react": "catalog:peer-react",
  "react-dom": "catalog:peer-react"
}
packages/react/CHANGELOG.md (1)

3-10: No tests changed in this release PR.

Given this is a changesets publish sweep with no runtime code changes, additional tests aren’t required here. Ensure upstream feature PRs (e.g., billing trial props and backend exports) shipped with adequate tests before this release.

packages/chrome-extension/CHANGELOG.md (1)

3-10: Optional: add a release smoke check.

No tests changed in this PR. While this is a metadata-only bump, consider adding a lightweight CI smoke check that installs workspace deps and verifies the chrome-extension package builds/links against the updated @clerk/* versions. I can help wire up a minimal job if useful.

packages/clerk-js/CHANGELOG.md (2)

5-8: Clarify the “Minor Changes” with concrete details and impact

“Update billing resources with trial properties” is vague. Please briefly enumerate what changed (which resources gained which properties), any behavioral changes, and whether there is any migration or consumer impact (e.g., new fields being optional, default values, deprecations). If no migration is needed, explicitly state so for clarity, similar to past entries that include a “Migration” note.


3-15: No tests touched—ensure coverage exists for “trial properties” usage

Although this PR is a release/version bump, the underlying change introduces “trial” support in billing resources. Please ensure we have unit/E2E coverage in clerk-js for:

  • Rendering/formatting of the new properties in any UI components
  • Handling of null/undefined cases for new fields
  • Backwards compatibility with older API payloads

I can help draft test cases if needed.

packages/backend/CHANGELOG.md (1)

5-8: Add a quick usage hint for the new exports (optional).

A short import example reduces ambiguity for consumers scanning the changelog.

 ### Minor Changes

-- Exports `Machine` and `M2MToken` resource classes ([#6500](https://github.com/clerk/javascript/pull/6500)) by [@wobsoriano](https://github.com/wobsoriano)
+- Exports `Machine` and `M2MToken` resource classes ([#6500](https://github.com/clerk/javascript/pull/6500)) by [@wobsoriano](https://github.com/wobsoriano)
+  ```ts
+  import { Machine, M2MToken } from '@clerk/backend';
+  ```
packages/nextjs/CHANGELOG.md (1)

3-12: No tests changed: ensure CI and smoke tests cover the dep bumps.

Given this is a release/versioning PR, no new tests are expected; however, please ensure the integration/e2e suite runs against:

I can help draft a minimal smoke plan if needed.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ae2e2d6 and a56476f.

📒 Files selected for processing (46)
  • .changeset/nasty-colts-travel.md (0 hunks)
  • .changeset/sour-lemons-talk.md (0 hunks)
  • packages/agent-toolkit/CHANGELOG.md (1 hunks)
  • packages/agent-toolkit/package.json (1 hunks)
  • packages/astro/CHANGELOG.md (1 hunks)
  • packages/astro/package.json (1 hunks)
  • packages/backend/CHANGELOG.md (1 hunks)
  • packages/backend/package.json (1 hunks)
  • packages/chrome-extension/CHANGELOG.md (1 hunks)
  • packages/chrome-extension/package.json (1 hunks)
  • packages/clerk-js/CHANGELOG.md (1 hunks)
  • packages/clerk-js/package.json (1 hunks)
  • packages/elements/CHANGELOG.md (1 hunks)
  • packages/elements/package.json (1 hunks)
  • packages/expo-passkeys/CHANGELOG.md (1 hunks)
  • packages/expo-passkeys/package.json (1 hunks)
  • packages/expo/CHANGELOG.md (1 hunks)
  • packages/expo/package.json (1 hunks)
  • packages/express/CHANGELOG.md (1 hunks)
  • packages/express/package.json (1 hunks)
  • packages/fastify/CHANGELOG.md (1 hunks)
  • packages/fastify/package.json (1 hunks)
  • packages/localizations/CHANGELOG.md (1 hunks)
  • packages/localizations/package.json (1 hunks)
  • packages/nextjs/CHANGELOG.md (1 hunks)
  • packages/nextjs/package.json (1 hunks)
  • packages/nuxt/CHANGELOG.md (1 hunks)
  • packages/nuxt/package.json (1 hunks)
  • packages/react-router/CHANGELOG.md (1 hunks)
  • packages/react-router/package.json (1 hunks)
  • packages/react/CHANGELOG.md (1 hunks)
  • packages/react/package.json (1 hunks)
  • packages/remix/CHANGELOG.md (1 hunks)
  • packages/remix/package.json (1 hunks)
  • packages/shared/CHANGELOG.md (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/tanstack-react-start/CHANGELOG.md (1 hunks)
  • packages/tanstack-react-start/package.json (1 hunks)
  • packages/testing/CHANGELOG.md (1 hunks)
  • packages/testing/package.json (1 hunks)
  • packages/themes/CHANGELOG.md (1 hunks)
  • packages/themes/package.json (1 hunks)
  • packages/types/CHANGELOG.md (1 hunks)
  • packages/types/package.json (1 hunks)
  • packages/vue/CHANGELOG.md (1 hunks)
  • packages/vue/package.json (1 hunks)
💤 Files with no reviewable changes (2)
  • .changeset/nasty-colts-travel.md
  • .changeset/sour-lemons-talk.md
🧰 Additional context used
📓 Path-based instructions (5)
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/backend/package.json
  • packages/react-router/package.json
  • packages/elements/package.json
  • packages/vue/package.json
  • packages/tanstack-react-start/package.json
  • packages/themes/package.json
  • packages/expo/package.json
  • packages/nextjs/package.json
  • packages/react/CHANGELOG.md
  • packages/localizations/package.json
  • packages/express/package.json
  • packages/shared/package.json
  • packages/expo-passkeys/package.json
  • packages/chrome-extension/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/types/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/astro/package.json
  • packages/remix/CHANGELOG.md
  • packages/agent-toolkit/package.json
  • packages/localizations/CHANGELOG.md
  • packages/nuxt/package.json
  • packages/testing/package.json
  • packages/expo-passkeys/CHANGELOG.md
  • packages/clerk-js/package.json
  • packages/elements/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/types/package.json
  • packages/nuxt/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/vue/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/backend/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/remix/package.json
  • packages/shared/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
packages/*/package.json

📄 CodeRabbit Inference Engine (.cursor/rules/global.mdc)

All publishable packages should be placed under the packages/ directory

packages/*/package.json: All publishable packages must be located in the 'packages/' directory.
All packages must be published under the @clerk namespace on npm.
Semantic versioning must be used across all packages.

Files:

  • packages/backend/package.json
  • packages/react-router/package.json
  • packages/elements/package.json
  • packages/vue/package.json
  • packages/tanstack-react-start/package.json
  • packages/themes/package.json
  • packages/expo/package.json
  • packages/nextjs/package.json
  • packages/localizations/package.json
  • packages/express/package.json
  • packages/shared/package.json
  • packages/expo-passkeys/package.json
  • packages/chrome-extension/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/astro/package.json
  • packages/agent-toolkit/package.json
  • packages/nuxt/package.json
  • packages/testing/package.json
  • packages/clerk-js/package.json
  • packages/types/package.json
  • packages/remix/package.json
**/*

⚙️ CodeRabbit Configuration File

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • packages/backend/package.json
  • packages/react-router/package.json
  • packages/elements/package.json
  • packages/vue/package.json
  • packages/tanstack-react-start/package.json
  • packages/themes/package.json
  • packages/expo/package.json
  • packages/nextjs/package.json
  • packages/react/CHANGELOG.md
  • packages/localizations/package.json
  • packages/express/package.json
  • packages/shared/package.json
  • packages/expo-passkeys/package.json
  • packages/chrome-extension/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/types/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/astro/package.json
  • packages/remix/CHANGELOG.md
  • packages/agent-toolkit/package.json
  • packages/localizations/CHANGELOG.md
  • packages/nuxt/package.json
  • packages/testing/package.json
  • packages/expo-passkeys/CHANGELOG.md
  • packages/clerk-js/package.json
  • packages/elements/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/types/package.json
  • packages/nuxt/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/vue/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/backend/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/remix/package.json
  • packages/shared/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
packages/**/CHANGELOG.md

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Maintain detailed changelogs

Files:

  • packages/react/CHANGELOG.md
  • packages/types/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/localizations/CHANGELOG.md
  • packages/expo-passkeys/CHANGELOG.md
  • packages/elements/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/vue/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/backend/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/shared/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
packages/localizations/**/*

📄 CodeRabbit Inference Engine (.cursor/rules/monorepo.mdc)

Localization files must be placed in 'packages/localizations/'.

Files:

  • packages/localizations/package.json
  • packages/localizations/CHANGELOG.md
🔇 Additional comments (48)
packages/expo/package.json (1)

3-3: Patch version bump looks correct and consistent with changesets

Semver patch increment aligns with dependency-only updates; package location and namespace comply with repo standards. No formatting issues.

packages/astro/package.json (1)

3-3: Astro: patch bump is appropriate and semver-compliant

Matches a dependency-only release; package remains under packages/ and @clerk namespace. JSON formatting is consistent.

packages/elements/package.json (1)

3-3: Elements: patch bump validated

Versioning, package placement, and namespace are correct. No export or script changes implied here; Prettier-style formatting looks good.

packages/fastify/package.json (1)

3-3: Fastify: patch bump consistent with dependency updates

Semver and monorepo policies satisfied; exports and peerDependencies unchanged, which is expected for a patch release.

packages/backend/package.json (1)

3-3: Backend: Version bump to 2.8.0 is correct for exposing new exports (Machine, M2MToken)

Release-hygiene checks for all modified packages passed:

  • All @clerk/* names and semver-style versions are valid.
  • Each package’s CHANGELOG.md contains its new version.

To verify that internal @clerk/* dependencies use the workspace: protocol (excluding localizations and themes), you can run:

#!/bin/bash
set -euo pipefail

echo "Checking internal @clerk/* deps for non-workspace versions…"
rg -n '"@clerk/[^"]+":' packages -g '*/package.json' \
  | grep -v 'workspace:' \
  | grep -Ev '@clerk/(localizations|themes)' \
  || echo "✓ All internal @clerk/* deps use workspace: protocol"

If this prints no lines above the success message, you’re all set.

Finally, add a minimal import smoke test in packages/backend to ensure the new exports resolve post-publish:

// packages/backend/tests/smoke.test.js
const { Machine, M2MToken } = require('@clerk/backend');

test('Machine and M2MToken should be defined', () => {
  expect(Machine).toBeDefined();
  expect(M2MToken).toBeDefined();
});
packages/nextjs/package.json (1)

3-3: Patch bump to 6.30.2 is safe and Next devDependency is within peer range
The devDependency [email protected] is covered by the peer range ^13.5.7 || ^14.2.25 || ^15.2.3. No further changes needed.

packages/nuxt/package.json (1)

3-3: ✅ Patch bump to v1.8.5 approved

  • packages/nuxt/package.json devDependency nuxt is ^3.17.7 (v3 major)
  • packages/nuxt/CHANGELOG.md contains a “## 1.8.5” entry

No further concerns.

packages/types/package.json (1)

3-3: Version bump approved and dependency consistency verified

All internal packages depend on @clerk/types using workspace:^, so there’s no risk of version skew. The minor bump to 4.76.0 correctly reflects type additions/updates.

• Consider adding or confirming CI steps that run a full type-check and minimal import smoke tests across dependents to validate the new typings surface.

packages/vue/package.json (1)

3-3: CHANGELOG entry verified for version 1.10.1
The packages/vue/CHANGELOG.md contains the ## 1.10.1 heading, matching the patch bump in package.json. All set to approve.

packages/fastify/CHANGELOG.md (1)

3-11: Changelog entry is well-formed and scoped as a patch dependency bump.

The entry references the correct updated dependency versions. No issues.

packages/chrome-extension/package.json (1)

3-3: ✅ CHANGELOG entry verified for version 2.5.19

  • packages/chrome-extension/package.json version 2.5.19
  • packages/chrome-extension/CHANGELOG.md contains heading ## 2.5.19 on line 3
packages/testing/package.json (1)

3-3: Approve version bump for packages/testing

  • “packages/testing/package.json” version updated to 1.10.13
  • “packages/testing/CHANGELOG.md” contains the ## 1.10.13 heading
  • Workspace dependencies, publish config, and engines remain unchanged
packages/vue/CHANGELOG.md (1)

3-10: Changelog entry 1.10.1 looks correct and semver-appropriate.

Patch release scoped to dependency bumps, consistent with repo conventions and guidelines for detailed changelogs.

packages/expo-passkeys/package.json (1)

3-3: Changelog Entry Verified for 0.3.29

The changelog in packages/expo-passkeys/CHANGELOG.md already contains a “## 0.3.29” entry. All other dependency ranges remain unchanged and consistent.

packages/clerk-js/package.json (1)

3-3: Approve version bump to 5.83.0

Confirmed the changelog entry for 5.83.0 in packages/clerk-js/CHANGELOG.md, which covers the billing trial properties and dependency updates.

(Optional) Run your usual release smoke tests (bundle builds, import/require checks, peer-dependency resolution) before merging.

packages/shared/package.json (1)

3-3: Patch version bump is correct and consistent with semver and repo conventions.

  • Name is under the @clerk namespace.
  • Publishing config and export map remain unchanged and valid.
packages/react/package.json (1)

3-3: Patch version bump looks good and aligns with the React changelog entry.

  • Namespace, workspace ranges, and publishConfig are intact.
  • No behavioral surface changes.
packages/themes/CHANGELOG.md (1)

3-9: Changelog entry is clear and properly scoped to a patch release.

  • Notes the dependency bump to @clerk/[email protected].
  • Commit link resolves format-wise and follows prior entries’ style.
packages/react/CHANGELOG.md (2)

3-10: Changelog entry accurately documents a patch release with dependency bumps.


3-10: All changelog headers match package.json versions

Verified that the first “## x.y.z” entry in each CHANGELOG.md aligns with the corresponding version in package.json for the impacted packages:

  • packages/shared → 3.19.1
  • packages/react → 5.41.1
  • packages/themes → 2.4.8
  • packages/react-router → 1.8.13

No discrepancies found; changelogs are up to date.

packages/react-router/package.json (1)

3-3: Patch version bump approved.

  • Package remains under @clerk namespace and in packages/ folder.
  • Peer and dev dependency ranges remain compatible (react-router peer ^7.1.2, dev 7.7.1).
packages/testing/CHANGELOG.md (1)

3-11: Approve testing changelog entry for v1.10.13 dependency bumps

The entry in packages/testing/CHANGELOG.md correctly documents the internal dependency updates and matches the actual package versions:

• packages/testing/package.json version is 1.10.13
• @clerk/backend → 2.8.0
• @clerk/types → 4.76.0
• @clerk/shared → 3.19.1

No user-facing changes; patch release is scoped to internal deps.

packages/shared/CHANGELOG.md (1)

3-9: Changelog entry for v3.19.1 is accurate

  • packages/shared is at version 3.19.1.
  • Monorepo workspace dependency @clerk/types points to the packages/types package.
  • packages/types is indeed at version 4.76.0, matching the changelog’s patch bump.
    All aligns with expectations—no changes needed.
packages/localizations/CHANGELOG.md (1)

3-9: ✅ Localization changelog entry for v3.20.10 is accurate

  • Confirmed packages/localizations/package.json is at version 3.20.10.
  • Verified @clerk/types is bumped to 4.76.0 in packages/types/package.json.
  • Changelog at packages/localizations/CHANGELOG.md correctly documents this patch-level dependency update.

No further changes required.

packages/agent-toolkit/CHANGELOG.md (1)

3-11: All dependencies and version verified
The packages/agent-toolkit/package.json is correctly at version 0.1.20, and the three updated Clerk packages are specified with the Yarn workspace protocol (workspace:^), which will resolve to the bumped workspace versions (backend 2.8.0, types 4.76.0, shared 3.19.1). No further changes are needed.

packages/express/CHANGELOG.md (2)

3-11: Changelog entry 1.7.19 looks correct and scoped to dependency bumps

Entry clearly documents patch-level dependency updates with commit refs. No API changes implied.


3-11: All version checks passed for the Express package

packages/express/package.json is at version 1.7.19, and @clerk/backend 2.8.0, @clerk/types 4.76.0, and @clerk/shared 3.19.1 are correctly set in their respective package.json files across the monorepo.

packages/astro/CHANGELOG.md (2)

3-11: Astro 2.11.1 patch entry is consistent with dependency bumps

Aligned with monorepo-wide updates; no functional changes described.


3-11: All checks passed: version and dependencies are correct
packages/astro/package.json is at 2.11.1 and @clerk/[email protected], @clerk/[email protected], and @clerk/[email protected] all exist in their respective package.json files. No further changes needed.

packages/expo-passkeys/CHANGELOG.md (2)

3-10: Expo Passkeys 0.3.29 patch entry is accurate for dependency bumps

Docs-only update reflecting @clerk/types 4.76.0 and @clerk/shared 3.19.1. Good.


3-10: ✅ Version alignment and dependencies confirmed

packages/expo-passkeys/package.json is at version 0.3.29, and @clerk/[email protected] plus @clerk/[email protected] are present in their respective package.json files. No further action required.

packages/agent-toolkit/package.json (2)

3-3: Version bump to 0.1.20 is appropriate and follows semver

No other manifest changes; package is correctly under packages/ and scoped to @clerk.


3-3: Verified CHANGELOG and package metadata for 0.1.20

All checks passed:

  • packages/agent-toolkit/CHANGELOG.md contains a “## 0.1.20” entry
  • package.json name is scoped to @clerk/agent-toolkit
  • publishConfig.access is set to public

No further action required.

packages/remix/CHANGELOG.md (1)

3-12: Changelog entry 4.10.13 is consistent and complete.

  • Dependency versions match the PR objective: backend 2.8.0, types 4.76.0, clerk-react 5.41.1, shared 3.19.1.
  • Commit references are included and formatted consistently with prior entries.

No functional code changes; nothing to test here.

packages/react-router/CHANGELOG.md (1)

3-12: Changelog entry 1.8.13 is accurate and aligned with repo-wide bumps.

  • Matches the dependency update set called out in the PR.
  • Commit references provided and consistent with repository conventions.

No code changes; tests are not applicable for this metadata-only update.

packages/chrome-extension/CHANGELOG.md (2)

3-10: Changelog entry looks accurate and consistent.

  • Version 2.5.19 is correctly placed above 2.5.18.
  • Patch section follows the established format.
  • Dependency versions match the PR summary: @clerk/[email protected], @clerk/[email protected], @clerk/[email protected].
  • Commit link style is consistent with prior entries.

3-10: All package.json versions are aligned with CHANGELOG.

Verified that:

No further changes required.

packages/expo/CHANGELOG.md (2)

3-12: Changelog entry looks correct and consistent.


3-12: Verify package.json versions in packages/

The packages/expo/CHANGELOG.md lists these published versions:

  • @clerk/expo: 2.14.18
  • @clerk/clerk-js: 5.83.0
  • @clerk/types: 4.76.0
  • @clerk/shared: 3.19.1
  • @clerk/clerk-react: 5.41.1
  • @clerk/backend: 2.8.0
  • @clerk/nuxt: 1.8.5
  • @clerk/vue: 1.10.1
  • @clerk/tanstack-react-start: 0.21.9
  • @clerk/themes: 2.4.8

Please confirm that each corresponding packages/<name>/package.json file’s version field matches the changelog. For example, you can run locally:

#!/usr/bin/env bash
set -euo pipefail
declare -A expected=(
  ["@clerk/expo"]="2.14.18"
  ["@clerk/clerk-js"]="5.83.0"
  ["@clerk/types"]="4.76.0"
  ["@clerk/shared"]="3.19.1"
  ["@clerk/clerk-react"]="5.41.1"
  ["@clerk/backend"]="2.8.0"
  ["@clerk/nuxt"]="1.8.5"
  ["@clerk/vue"]="1.10.1"
  ["@clerk/tanstack-react-start"]="0.21.9"
  ["@clerk/themes"]="2.4.8"
)

find packages -type f -name package.json -print0 \
  | while IFS= read -r -d '' f; do
      name=$(jq -r '.name // empty' "$f")
      ver=$(jq -r '.version // empty' "$f")
      if [[ -n "${expected[$name]:-}" ]] && [[ "$ver" != "${expected[$name]}" ]]; then
        echo "Mismatch: $name — found $ver in $f, expected ${expected[$name]}"
      fi
    done
packages/nuxt/CHANGELOG.md (1)

3-12: Nuxt changelog entry is accurate and follows semver.

packages/themes/package.json (1)

3-3: Version bump is appropriate and compliant.

  • Patch bump from 2.4.7 to 2.4.8 aligns with dependency updates in the monorepo.
  • Package namespace, location under packages/, and semantic versioning all comply with guidelines.
packages/tanstack-react-start/CHANGELOG.md (1)

3-12: Changelog entry matches the coordinated dependency update.

packages/clerk-js/CHANGELOG.md (2)

3-4: Changelog entry heading looks good

Version header and spacing are consistent with prior entries.


9-14: Dependencies are consistently aligned via workspace:^ across all packages

Confirmed that packages/clerk-js/package.json is at version 5.83.0 and declares its core Clerk deps (@clerk/types, @clerk/localizations, @clerk/shared) as workspace:^. A full scan of every package.json shows any package depending on these modules also uses workspace:^, with no explicit version pins. Playground demos use local yalc paths and are expected to differ.

No further action needed.

packages/elements/CHANGELOG.md (1)

3-11: Changelog entry looks good for 0.23.52 (deps-only patch).

Accurately reflects dependency bumps; no API claims. Placement and link formatting look consistent with prior entries.

packages/backend/CHANGELOG.md (2)

9-14: Deps bump note is consistent.

@clerk/[email protected] and @clerk/[email protected] match the PR’s stated versions. No action needed.


3-8: Exports Verified: Machine and M2MToken Are Publicly Available

  • Both classes are defined in
    • packages/backend/src/api/resources/Machine.ts
    • packages/backend/src/api/resources/M2MToken.ts
  • They’re re-exported in the public API surface:
    • packages/backend/src/api/resources/index.ts (lines 33–36)
    • packages/backend/src/index.ts (lines 129–131)
  • The package’s main entrypoint (./dist/index.js) will include these exports when published.

No further changes are needed here.

packages/nextjs/CHANGELOG.md (1)

3-12: Changelog entry looks correct and consistent.

  • Version bump to 6.30.2 is appropriate as a patch.
  • Dependency versions match the PR objectives and follow the repo’s changelog format (commit links, bullets, spacing).

@@ -1,6 +1,6 @@
{
"name": "@clerk/express",
"version": "1.7.18",
"version": "1.7.19",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Patch version bump to 1.7.19 looks correct and aligned with the changelog.

Semver is respected; package remains under packages/ with @clerk scope; publishConfig is public. No issues spotted.

Run this repo-wide check to validate version/changelog alignment, @clerk workspace pins, and publishConfig:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

fail=0

# Iterate all package.json files under packages/
while IFS= read -r f; do
  pkgdir="$(dirname "$f")"
  name="$(jq -r '.name' "$f")"
  version="$(jq -r '.version' "$f")"
  private="$(jq -r '.private // false' "$f")"

  # Ensure all publishable packages are scoped and under packages/
  if [[ "$name" == @clerk/* ]]; then
    if [[ "$f" != packages/*/package.json ]]; then
      echo "Package $name not under packages/: $f"
      fail=1
    fi
    # Require publishConfig.access=public unless private:true
    if [[ "$private" != "true" ]]; then
      access="$(jq -r '.publishConfig.access // empty' "$f")"
      if [[ "$access" != "public" ]]; then
        echo "Package $name missing publishConfig.access=public"
        fail=1
      fi
    fi
  fi

  # Verify internal @clerk/* deps use workspace:^
  while IFS= read -r line; do
    dep="${line%% *}"
    val="${line#* }"
    if [[ ! "$val" =~ ^workspace: ]]; then
      echo "$name depends on $dep with non-workspace version: $val"
      fail=1
    fi
  done < <(jq -r '.dependencies // {} | to_entries[] | select(.key | test("^@clerk/")) | "\(.key) \(.value)"' "$f")

  # Verify CHANGELOG.md has an entry for the current version
  cl="$pkgdir/CHANGELOG.md"
  if [[ -f "$cl" ]]; then
    if ! rg -n --pcre2 "^##\s+${version//./\.}\b" "$cl" >/dev/null; then
      echo "Missing CHANGELOG entry for $name@$version in $cl"
      fail=1
    fi
  else
    echo "Missing CHANGELOG.md for $name in $pkgdir"
    fail=1
  fi
done < <(fd -t f -a 'package.json' packages)

if [[ $fail -ne 0 ]]; then
  echo "One or more checks failed"
  exit 1
else
  echo "All package metadata checks passed"
fi

Length of output: 174


🏁 Script executed:

#!/bin/bash
set -euo pipefail

fail=0

# Find all package.json files under packages/
for f in $(find packages -type f -name 'package.json'); do
  pkgdir="$(dirname "$f")"
  name="$(jq -r '.name' "$f")"
  version="$(jq -r '.version' "$f")"
  private="$(jq -r '.private // false' "$f")"

  # Ensure scoped packages live under packages/ and have publishConfig.access=public if not private
  if [[ "$name" == "@clerk/"* ]]; then
    if [[ "$f" != packages/*/package.json ]]; then
      echo "Package $name not under packages/: $f"
      fail=1
    fi
    if [[ "$private" != "true" ]]; then
      access="$(jq -r '.publishConfig.access // empty' "$f")"
      if [[ "$access" != "public" ]]; then
        echo "Package $name missing publishConfig.access=public"
        fail=1
      fi
    fi
  fi

  # Verify internal @clerk/* dependencies use workspace:^
  deps=$(jq -r '.dependencies // {} | to_entries[] | select(.key | test("^@clerk/")) | "\(.key) \(.value)"' "$f")
  if [[ -n "$deps" ]]; then
    while IFS= read -r line; do
      dep="${line%% *}"
      val="${line#* }"
      if [[ ! "$val" =~ ^workspace: ]]; then
        echo "$name depends on $dep with non-workspace version: $val"
        fail=1
      fi
    done <<< "$deps"
  fi

  # Verify CHANGELOG.md has an entry for the current version
  cl="$pkgdir/CHANGELOG.md"
  if [[ -f "$cl" ]]; then
    if ! grep -E "^##[[:space:]]+${version//./\\.}\b" "$cl" >/dev/null; then
      echo "Missing CHANGELOG entry for $name@$version in $cl"
      fail=1
    fi
  else
    echo "Missing CHANGELOG.md for $name in $pkgdir"
    fail=1
  fi
done

if [[ $fail -ne 0 ]]; then
  echo "One or more checks failed"
  exit 1
else
  echo "All package metadata checks passed"
fi

Length of output: 59174


Confirm version bump and refine metadata check

  • ✅ Version “1.7.19” in packages/express/package.json matches the CHANGELOG entry.
  • ⚠️ The provided repo-wide check script is flagging many package.json files with a null name (e.g. packages/astro/*, examples, internal folders), leading to spurious “Missing CHANGELOG.md for null” errors.

Action items:

  • Update the verification script to only target valid, scoped packages (i.e., skip package.json where .name is null or only run on @clerk/* packages).
  • Ensure that after filtering, all @clerk/* packages:
    • Live under packages/*
    • Use workspace:^ for internal deps
    • Have publishConfig.access = public (unless private: true)
    • Include a matching ## <version> entry in their CHANGELOG.md

Once the script is refined, rerun it to confirm all checks pass.

🤖 Prompt for AI Agents
In packages/express/package.json around line 3, the repo-wide verification
script is producing false “Missing CHANGELOG.md for null” errors because it
scans package.json files with a null or non-scoped name; update the verification
script to filter out package.json entries where .name is null or not starting
with "@clerk/" (or explicitly restrict the scan to packages/*/@clerk/*), then
validate only the remaining packages and enforce: they live under packages/*,
internal dependencies use workspace:^, publishConfig.access === "public" unless
package.json has "private": true, and each has a matching "## <version>" entry
in its CHANGELOG.md; after applying these filters and checks, rerun the script
to confirm all @clerk/* packages pass.

@@ -1,6 +1,6 @@
{
"name": "@clerk/remix",
"version": "4.10.12",
"version": "4.10.13",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Patch bump looks good; matches dependency updates noted in repo-wide changes.

Ensure the remix changelog’s newest entry is 4.10.13 and references the bumped deps.

Check:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

pkg="packages/remix/package.json"
changelog="packages/remix/CHANGELOG.md"

ver=$(jq -r '.version' "$pkg")
echo "packages/remix version: $ver"
echo "Checking CHANGELOG heading…"

if rg -n "^## $ver$" "$changelog"; then
  echo "OK: CHANGELOG contains heading for $ver"
else
  echo "ERROR: Missing CHANGELOG entry for $ver in $changelog" >&2
  exit 1
fi

Length of output: 450


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

changelog="packages/remix/CHANGELOG.md"
version="4.10.13"

# Extract the changelog entry for 4.10.13 (excluding the header line itself)
section=$(awk "/^## $version\$/,/^## /{ if (!/^## /) print }" "$changelog")

echo "Changelog entry for $version:"
echo "--------------------------------"
echo "$section"
echo "--------------------------------"
echo "Verifying that the entry references bumped dependencies…"

if printf '%s\n' "$section" | grep -Ei 'bump|update|upgrade|dependency'; then
  echo "OK: Found references to dependency changes in the changelog entry."
else
  echo "ERROR: No references to bumped dependencies found in the changelog entry." >&2
  exit 1
fi

Length of output: 745


CHANGELOG entry for v4.10.13 is empty – please add dependency-bump details

The ## 4.10.13 header in packages/remix/CHANGELOG.md exists but contains no content describing the bumped dependencies. Please update it to include the relevant entries.

• packages/remix/CHANGELOG.md (line 3): add bullet points under ## 4.10.13 to document each dependency bump.
• Example:

## 4.10.13

- Bump @remix-run/dev from 1.2.3 to 1.2.4
- Update remix-utils from 0.5.0 to 0.6.0
🤖 Prompt for AI Agents
In packages/remix/CHANGELOG.md around line 3 (the `## 4.10.13` header), the
changelog body is empty; add concise bullet points documenting each dependency
bump included in this release (one bullet per dependency, e.g. "- Bump
@remix-run/dev from X.Y.Z to A.B.C"). If you don't know the exact previous
versions, determine them from the PR diffs or package.json/package-lock changes
in this commit, then list package name and old→new version under the `##
4.10.13` header (optionally include a release date line above or below the
header if the file uses dates).

Copy link
Contributor

coderabbitai bot commented Aug 12, 2025

📝 Walkthrough

Walkthrough

This PR performs a release sweep across multiple packages: it bumps versions in package.json files, updates corresponding CHANGELOG entries, and removes two changeset files. It documents dependency updates across integrations and libraries (@clerk/[email protected], @clerk/[email protected], @clerk/[email protected], etc.). The backend CHANGELOG notes newly exported public entities Machine and M2MToken. No source code modifications are shown in the diff; changes are metadata and documentation-oriented.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • wobsoriano
  • panteliselef
  • LauraBeatris

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🔭 Outside diff range comments (1)
packages/nextjs/package.json (1)

93-97: Align Next.js peerDependencies across all Clerk packages

The peer range for Next.js is inconsistent between packages:

  • packages/elements/package.json (@clerk/[email protected]) declares:
    "next": "^13.5.4 || ^14.0.3 || ^15"
    
  • packages/nextjs/package.json (@clerk/[email protected]) declares:
    "next": "^13.5.7 || ^14.2.25 || ^15.2.3"
    

Please update these so they exactly match (for example, using ^13.5.7 || ^14.2.25 || ^15.2.3) to avoid install-time peer warnings.

Suggested diff for packages/elements/package.json:

--- packages/elements/package.json
+++ packages/elements/package.json
@@ "peerDependencies": {
-   "next": "^13.5.4 || ^14.0.3 || ^15"
+   "next": "^13.5.7 || ^14.2.25 || ^15.2.3"
}
🧹 Nitpick comments (6)
packages/nextjs/package.json (1)

66-80: Optional: add/update smoke tests for integration surfaces.

No tests were added/changed. Given this is a dependency bump release, consider adding/expanding smoke tests that run minimal Next.js app flows against @clerk/nextjs to catch accidental regressions from upstream bumps.

I can scaffold a minimal Next.js app test harness using Vitest + playwrighteque requests if you’d like.

packages/expo-passkeys/package.json (1)

22-34: Consider adding a basic compatibility test.

No tests in this PR. A simple runtime smoke test that constructs and uses the exported passkey helpers against supported Expo SDK versions can help detect breakages from dependency updates.

Happy to add a lightweight matrix smoke test targeting Expo 50/51/52/53.

packages/backend/package.json (1)

88-110: Consider minimal tests for new exported resources.

No tests added in this PR. Since this release promotes new public classes, add a smoke test that imports Machine/M2MToken from '@clerk/backend' and exercises a trivial method to ensure API shape and types are stable.

I can draft a vitest that asserts types and instance creation without making network calls.

packages/express/CHANGELOG.md (1)

5-10: Consider adding a brief note: “No code changes; dependency updates only.”

This helps readers scanning the changelog quickly understand risk surface for this release. Also, since this PR doesn’t modify tests, ensure CI or smoke tests cover the updated dependency set for Express.

Apply this minimal addition after the “Patch Changes” heading:

 ### Patch Changes

+- No code changes in this release; dependency updates only.
+
 - Updated dependencies [[`df63e76`](https://github.com/clerk/javascript/commit/df63e76f2382c601d9a3b52a3a6dfaba26c4f36f), [`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1)]:
   - @clerk/[email protected]
   - @clerk/[email protected]
   - @clerk/[email protected]

If helpful, I can open a follow-up PR to apply this across all affected packages in this release train.

packages/remix/CHANGELOG.md (1)

3-12: Optional: add a brief rationale for the dependency bumps.

If possible, include a short note (one line) about what motivated these bumps (e.g., “billing trial props update” / “new backend exports”) to improve discoverability in this package’s changelog.

packages/react/package.json (1)

3-3: No tests changed — ensure CI release checks still cover import/usage smoke paths.

Given this is a metadata-only bump, code tests aren’t necessary, but please verify that our CI/publish pipeline runs a minimal smoke test against @clerk/clerk-react@next/latest (basic import, render, and peer resolution). If not present, consider adding one to catch accidental regressions in packaging/exports.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ae2e2d6 and a56476f.

📒 Files selected for processing (46)
  • .changeset/nasty-colts-travel.md (0 hunks)
  • .changeset/sour-lemons-talk.md (0 hunks)
  • packages/agent-toolkit/CHANGELOG.md (1 hunks)
  • packages/agent-toolkit/package.json (1 hunks)
  • packages/astro/CHANGELOG.md (1 hunks)
  • packages/astro/package.json (1 hunks)
  • packages/backend/CHANGELOG.md (1 hunks)
  • packages/backend/package.json (1 hunks)
  • packages/chrome-extension/CHANGELOG.md (1 hunks)
  • packages/chrome-extension/package.json (1 hunks)
  • packages/clerk-js/CHANGELOG.md (1 hunks)
  • packages/clerk-js/package.json (1 hunks)
  • packages/elements/CHANGELOG.md (1 hunks)
  • packages/elements/package.json (1 hunks)
  • packages/expo-passkeys/CHANGELOG.md (1 hunks)
  • packages/expo-passkeys/package.json (1 hunks)
  • packages/expo/CHANGELOG.md (1 hunks)
  • packages/expo/package.json (1 hunks)
  • packages/express/CHANGELOG.md (1 hunks)
  • packages/express/package.json (1 hunks)
  • packages/fastify/CHANGELOG.md (1 hunks)
  • packages/fastify/package.json (1 hunks)
  • packages/localizations/CHANGELOG.md (1 hunks)
  • packages/localizations/package.json (1 hunks)
  • packages/nextjs/CHANGELOG.md (1 hunks)
  • packages/nextjs/package.json (1 hunks)
  • packages/nuxt/CHANGELOG.md (1 hunks)
  • packages/nuxt/package.json (1 hunks)
  • packages/react-router/CHANGELOG.md (1 hunks)
  • packages/react-router/package.json (1 hunks)
  • packages/react/CHANGELOG.md (1 hunks)
  • packages/react/package.json (1 hunks)
  • packages/remix/CHANGELOG.md (1 hunks)
  • packages/remix/package.json (1 hunks)
  • packages/shared/CHANGELOG.md (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/tanstack-react-start/CHANGELOG.md (1 hunks)
  • packages/tanstack-react-start/package.json (1 hunks)
  • packages/testing/CHANGELOG.md (1 hunks)
  • packages/testing/package.json (1 hunks)
  • packages/themes/CHANGELOG.md (1 hunks)
  • packages/themes/package.json (1 hunks)
  • packages/types/CHANGELOG.md (1 hunks)
  • packages/types/package.json (1 hunks)
  • packages/vue/CHANGELOG.md (1 hunks)
  • packages/vue/package.json (1 hunks)
💤 Files with no reviewable changes (2)
  • .changeset/sour-lemons-talk.md
  • .changeset/nasty-colts-travel.md
🧰 Additional context used
📓 Path-based instructions (5)
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/chrome-extension/package.json
  • packages/react-router/package.json
  • packages/nextjs/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/testing/package.json
  • packages/themes/package.json
  • packages/expo-passkeys/package.json
  • packages/expo/package.json
  • packages/vue/CHANGELOG.md
  • packages/clerk-js/package.json
  • packages/shared/CHANGELOG.md
  • packages/backend/package.json
  • packages/elements/package.json
  • packages/types/package.json
  • packages/chrome-extension/CHANGELOG.md
  • packages/astro/package.json
  • packages/express/package.json
  • packages/remix/package.json
  • packages/shared/package.json
  • packages/vue/package.json
  • packages/nuxt/package.json
  • packages/elements/CHANGELOG.md
  • packages/types/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/localizations/CHANGELOG.md
  • packages/react/CHANGELOG.md
  • packages/localizations/package.json
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/agent-toolkit/package.json
  • packages/nextjs/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/tanstack-react-start/package.json
  • packages/expo-passkeys/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/backend/CHANGELOG.md
packages/*/package.json

📄 CodeRabbit Inference Engine (.cursor/rules/global.mdc)

All publishable packages should be placed under the packages/ directory

packages/*/package.json: All publishable packages must be located in the 'packages/' directory.
All packages must be published under the @clerk namespace on npm.
Semantic versioning must be used across all packages.

Files:

  • packages/chrome-extension/package.json
  • packages/react-router/package.json
  • packages/nextjs/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/testing/package.json
  • packages/themes/package.json
  • packages/expo-passkeys/package.json
  • packages/expo/package.json
  • packages/clerk-js/package.json
  • packages/backend/package.json
  • packages/elements/package.json
  • packages/types/package.json
  • packages/astro/package.json
  • packages/express/package.json
  • packages/remix/package.json
  • packages/shared/package.json
  • packages/vue/package.json
  • packages/nuxt/package.json
  • packages/localizations/package.json
  • packages/agent-toolkit/package.json
  • packages/tanstack-react-start/package.json
**/*

⚙️ CodeRabbit Configuration File

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • packages/chrome-extension/package.json
  • packages/react-router/package.json
  • packages/nextjs/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/testing/package.json
  • packages/themes/package.json
  • packages/expo-passkeys/package.json
  • packages/expo/package.json
  • packages/vue/CHANGELOG.md
  • packages/clerk-js/package.json
  • packages/shared/CHANGELOG.md
  • packages/backend/package.json
  • packages/elements/package.json
  • packages/types/package.json
  • packages/chrome-extension/CHANGELOG.md
  • packages/astro/package.json
  • packages/express/package.json
  • packages/remix/package.json
  • packages/shared/package.json
  • packages/vue/package.json
  • packages/nuxt/package.json
  • packages/elements/CHANGELOG.md
  • packages/types/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/localizations/CHANGELOG.md
  • packages/react/CHANGELOG.md
  • packages/localizations/package.json
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/agent-toolkit/package.json
  • packages/nextjs/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/tanstack-react-start/package.json
  • packages/expo-passkeys/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/backend/CHANGELOG.md
packages/**/CHANGELOG.md

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Maintain detailed changelogs

Files:

  • packages/vue/CHANGELOG.md
  • packages/shared/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/elements/CHANGELOG.md
  • packages/types/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/localizations/CHANGELOG.md
  • packages/react/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/expo-passkeys/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/backend/CHANGELOG.md
packages/localizations/**/*

📄 CodeRabbit Inference Engine (.cursor/rules/monorepo.mdc)

Localization files must be placed in 'packages/localizations/'.

Files:

  • packages/localizations/CHANGELOG.md
  • packages/localizations/package.json
🔇 Additional comments (48)
packages/shared/package.json (1)

3-3: Approve patch version bump to v3.19.1

All checks passed:

  • Namespace @clerk and semantic versioning are correct.
  • Package resides under packages/.
  • Verified no packages pin @clerk/shared to a non-workspace range.
packages/elements/package.json (1)

3-3: Changelog updated for 0.23.52

Confirmed that packages/elements/CHANGELOG.md includes the required entries:

All set.

packages/testing/package.json (1)

3-3: Dependencies verified for testing package version bump
All three Clerk dependencies in packages/testing/package.json are set to workspace:^ and will resolve to the newly published 1.10.13 versions.

  • File: packages/testing/package.json
  • Dependencies:
    • @clerk/backend: "workspace:^"
    • @clerk/shared: "workspace:^"
    • @clerk/types: "workspace:^"
packages/themes/package.json (1)

3-3: Approved: themes package version bump to 2.4.8 is semver-correct

  • File updated: packages/themes/package.json → "version": "2.4.8"
  • Changelog verified: packages/themes/CHANGELOG.md contains a ## 2.4.8 header at line 3
  • No other breaking changes; exports and publishConfig remain intact
packages/expo/package.json (1)

3-3: ✅ All package version bumps and changelogs verified

The validation script confirmed for packages/expo, react-router, astro, express, and shared that:

  • package names start with @clerk/
  • version fields match the new releases
  • publishConfig.access is set to public
  • each CHANGELOG.md contains the corresponding ## <version> heading

No issues remain. Approving these changes.

packages/react-router/package.json (1)

3-3: Patch version bump looks correct and non-breaking.

No export map or peer range changes; aligns with dependency update-only release. Good to ship.

packages/astro/package.json (1)

3-3: Astro package patch bump is appropriate.

No API surface changes; engines, exports, and peers remain intact. OK.

packages/express/package.json (1)

3-3: Express package patch bump looks good.

Release metadata only; exports and peer ranges unchanged. Ready to publish.

packages/shared/CHANGELOG.md (1)

3-9: Changelog entry is clear and scoped as a patch with dependency updates.

The new 3.19.1 entry correctly references @clerk/[email protected]. This matches the PR objective.

packages/nextjs/package.json (1)

3-3: Version bump looks correct and consistent with semver.

Patch release aligns with the PR scope (dependency updates). No issues spotted.

packages/expo-passkeys/package.json (2)

3-3: Semver patch bump LGTM.

No other changes; aligns with dependency updates noted in the PR.


42-46: Peer dependency ranges are consistent

The only package declaring expo in its peerDependencies is:

No other packages list expo, so there are no mismatched ranges.

packages/fastify/package.json (2)

3-3: Patch version bump is good.

Changelog reflects dependency updates only; package.json changes are minimal and correct.


77-79: Peer range check for Fastify

Currently in packages/fastify/package.json (lines 77–79) you have:

"peerDependencies": {
  "fastify": ">=5"
},

– Other adapters (e.g. @clerk/express) constrain to the current major (^4.17.0 || ^5.0.0).
– To avoid accidentally pulling in Fastify v6 (if it introduces breaking changes), consider tightening this to:

"peerDependencies": {
- "fastify": ">=5"
+ "fastify": ">=5 <6"
},

If you’ve confirmed that Fastify v6 will remain fully compatible, feel free to leave the range open.

packages/backend/package.json (2)

3-3: Minor version bump acknowledged.

Matches CHANGELOG messaging about new public exports (Machine, M2MToken). The manifest changes look correct.


27-79: New public exports Machine & M2MToken are properly exposed

Both Machine and M2MToken are re-exported from the package’s top-level entry and will be included in the generated type declarations:

  • packages/backend/src/index.ts lines 129–130 export both Machine and M2MToken
  • The compiled dist/index.d.ts will reflect those exports automatically via TypeScript’s declaration emit
  • CHANGELOG.md version (## 2.8.0) matches packages/backend/package.json version 2.8.0

No further action required.

packages/agent-toolkit/CHANGELOG.md (2)

3-11: Changelog entry is clear and properly references dependency bumps.

Matches the release intent; links and versions look correct.


3-11: CHANGELOG and package.json versions are in sync
Verified that packages/agent-toolkit/package.json reports version 0.1.20 and the top entry in packages/agent-toolkit/CHANGELOG.md is also ## 0.1.20. No action required.

packages/types/package.json (1)

3-3: Version bump to 4.76.0 verified – LGTM

Confirmed that:

  • packages/types/CHANGELOG.md contains the ## 4.76.0 entry.
  • All dependent packages’ changelogs (e.g., agent-toolkit, astro, backend, clerk-js, elements, expo-passkeys, expo, express, fastify, localizations, nextjs, nuxt, react-router, react, remix, shared, tanstack-react-start, testing, themes, vue) reference @clerk/[email protected].
packages/nuxt/package.json (1)

3-3: Confirm version bump to 1.8.5 and changelog entry

The package version in packages/nuxt/package.json has been correctly updated to 1.8.5 to align with the dependency bumps (@clerk/[email protected], @clerk/[email protected], @clerk/[email protected], @clerk/[email protected]). The CHANGELOG.md contains the corresponding ## 1.8.5 entry. Semver and package placement under packages/nuxt are all correct.

packages/localizations/CHANGELOG.md (1)

3-9: Changelog entry 3.20.10 looks good

Doc-only patch entry correctly reflects dependency update to @clerk/[email protected] and follows established format. Package lives under packages/localizations as required.

packages/agent-toolkit/package.json (1)

3-3: Confirm Node engine constraint bump to ≥20

I ran the inventory across all packages/*/package.json files and found only three packages targeting Node ≥20, while the rest use ≥18.17.0:

  • @clerk/agent-toolkit (engines.node: ">=20")
  • @clerk/fastify (engines.node: ">=20")
  • @clerk/react-router (engines.node: ">=20.0.0")

Please verify that raising the Node version floor for @clerk/agent-toolkit is intentional (e.g. due to new language/runtime features or dependencies) and update documentation or align constraints if necessary.

packages/remix/package.json (1)

3-3: Patch version bump to 4.10.13 approved — changelog entry exists
No API surface changes; dependency updates are documented. Semver, namespace, and package location are correct.

Locations checked:

  • packages/remix/package.json (version updated to 4.10.13)
  • packages/remix/CHANGELOG.md (## 4.10.13 entry present)

Consider adding a lightweight CI smoke check for release PRs (build all packages and perform an ESM/CJS import of main entry points) to catch accidental breakages even on metadata-only bumps.

packages/chrome-extension/package.json (1)

3-3: ✅ chrome-extension version bump verified

The package.json version (2.5.19), name (@clerk/chrome-extension), and publishConfig.access (public) all align with the ## 2.5.19 heading in packages/chrome-extension/CHANGELOG.md. Ready to merge.

packages/vue/CHANGELOG.md (1)

3-10: Changelog and package.json version aligned for v1.10.1

  • packages/vue/package.json: name “@clerk/vue” and version “1.10.1”
  • packages/vue/CHANGELOG.md: has a “## 1.10.1” heading on line 3

All good—CHANGELOG entry and version bump are in sync. ✅

packages/testing/CHANGELOG.md (1)

3-11: Verified @clerk/testing version and changelog

  • packages/testing/package.json is correctly bumped to 1.10.13
  • Internal dependencies (@clerk/backend, @clerk/types, @clerk/shared) use the expected workspace:^ ranges per monorepo conventions
  • CHANGELOG.md contains the “## 1.10.13” heading as required

All items align with the changelog entry.

packages/chrome-extension/CHANGELOG.md (1)

3-11: Chrome extension changelog entry aligns with dependency updates and package.json.

The 2.5.19 section documents updates to @clerk/[email protected], @clerk/[email protected], and @clerk/[email protected], and the version matches package.json. No further action needed.

packages/expo/CHANGELOG.md (1)

3-12: ✅ Changelog Entry Verified

packages/expo-passkeys/CHANGELOG.md (1)

3-10: package.json and CHANGELOG versions are in sync

  • packages/expo-passkeys/package.json version is 0.3.29
  • CHANGELOG.md top entry is ## 0.3.29

No further action needed.

packages/tanstack-react-start/package.json (1)

3-3: Verified: Version bump and changelog entry are in place, and the CI publish step will use the updated version

  • packages/tanstack-react-start/package.json shows "version": "0.21.9".
  • packages/tanstack-react-start/CHANGELOG.md has a ## 0.21.9 section documenting the dependency bumps.
  • The GitHub Actions release workflow invokes npm publish on each package, which reads the version directly from its package.json.
packages/nextjs/CHANGELOG.md (1)

3-11: Changelog entry 6.30.2 looks correct and consistent.

packages/localizations/package.json (1)

3-3: Version bump is appropriate and scoped as a patch.

  • @clerk/localizations moved 3.20.9 → 3.20.10, aligning with the related dependency refresh across the repo.
  • Package remains correctly namespaced under @clerk and located under packages/, complying with repo conventions.
  • engines.node constraint and exports remain unchanged and valid.
packages/elements/CHANGELOG.md (1)

3-11: New 0.23.52 entry correctly documents dependency updates.

packages/types/CHANGELOG.md (1)

3-8: Confirm @clerk/types version alignment and downstream usage

  • ✅ packages/types/package.json and CHANGELOG.md are both at version 4.76.0.
  • ⚠️ No other package.json lists @clerk/[email protected]. Please verify whether downstream packages that should consume the new types package have been updated accordingly. [verify_review_comment
packages/tanstack-react-start/CHANGELOG.md (1)

3-12: Changelog version and dependencies are correctly reflected in package.json

  • packages/tanstack-react-start/package.json version 0.21.9 matches CHANGELOG.md.
  • Dependencies use workspace:^, and the workspace packages are at the expected versions:
    • @clerk/backend  2.8.0
    • @clerk/types  4.76.0
    • @clerk/clerk-react 5.41.1
    • @clerk/shared  3.19.1

All good to merge.

packages/express/CHANGELOG.md (2)

3-11: Changelog entry looks correct and aligned with the release plan.

Version 1.7.19 documents only dependency bumps to @clerk/[email protected], @clerk/[email protected], and @clerk/[email protected]. Formatting and nested list structure are consistent with prior entries.


3-11: No changes needed in packages/express/package.json
The Express package is correctly at version 1.7.19, and its dependencies use the Yarn “workspace:^” protocol to pull the matching @clerk/backend (2.8.0), @clerk/types (4.76.0), and @clerk/shared (3.19.1) from the monorepo. This aligns with monorepo conventions—no manual version pins are required here.

packages/clerk-js/CHANGELOG.md (2)

3-8: Changelog entry for 5.83.0 looks correct and consistent

  • Scope/title align with the change (trial properties for billing).
  • PR link and author attribution are present and match the repo’s convention.

9-15: Dependency updates read well; verify repo-wide sync

The listed versions match the PR objective summary. As a quick sanity check before merge, ensure:

  • package.json for these packages reflects the same versions.
  • Any consumer packages that pin these deps have been bumped by Changesets (looks like they have, per PR).

If all good, this section is ready to ship.

packages/vue/package.json (1)

3-3: Approve: Version bump and changelog entry verified

packages/backend/CHANGELOG.md (1)

3-14: Changelog v2.8.0 verification: exports and dependency bumps are correct

  • packages/backend is at version 2.8.0 as documented.
  • Machine is exported in packages/backend/src/api/resources/Machine.ts.
  • M2MToken is exported in packages/backend/src/api/resources/M2MToken.ts.
  • @clerk/[email protected] and @clerk/[email protected] match the versions listed in the CHANGELOG.

All items align with the PR intent—no further changes required.

packages/astro/CHANGELOG.md (1)

3-11: Changelog version and dependency versions verified

All versions in packages/astro/CHANGELOG.md match packages/astro/package.json (2.11.1), and the referenced @clerk dependencies (@clerk/[email protected], @clerk/[email protected], @clerk/[email protected]) align with their respective package.json files.

packages/fastify/CHANGELOG.md (1)

3-11: Changelog entry is consistent and complete for 2.4.19

Version heading, Patch Changes section, dependency list, and commit anchors look correct and follow existing conventions.

packages/nuxt/CHANGELOG.md (2)

3-12: Nuxt changelog entry reads well and matches release sweep

Dependency versions align with the PR objectives, and formatting mirrors prior entries.


3-12: No changes needed for Nuxt package dependencies

The packages/nuxt/package.json intentionally uses the Yarn workspace protocol ("workspace:^") to inherit the bumped versions from the root. The changelog lists the actual published versions (2.8.0, 4.76.0, 3.19.1, 1.10.1), and the workspace references in Nuxt will resolve exactly to those. No manual version pins are required here.

packages/remix/CHANGELOG.md (1)

3-12: Changelog entry looks correct and aligned with the release sweep.

Patch entry lists the expected dependency bumps: @clerk/[email protected], @clerk/[email protected], @clerk/[email protected], and @clerk/[email protected], with commit references. This matches the PR objectives and semantic versioning.

packages/react/package.json (1)

3-3: Version bump is consistent and semver-correct.

Patch bump to 5.41.1 is appropriate and matches referenced dependency updates elsewhere in the PR.

packages/react/CHANGELOG.md (1)

3-10: Changelog and Package.json Consistency Verified

  • package.json version (5.41.1) matches the ## 5.41.1 header in packages/react/CHANGELOG.md.
  • Internal dependencies use the workspace:^ protocol (per monorepo conventions) rather than explicit versions—this is expected and will resolve to the bumped versions at publish time.

No further changes are required.

@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-js",
"version": "5.82.0",
"version": "5.83.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Minor bump to 5.83.0 aligns with noted feature (billing trial properties) and dependency updates.

  • Namespace, semver, and publish location all good.
  • Given the minor change, ensure related tests/docs landed in the feature PR(s) and CHANGELOG is present.

Also confirm there are corresponding or prior tests covering the new billing trial props in:

  • packages/types (type surface)
  • packages/clerk-js (runtime behavior)

If missing, do you want me to open a follow-up to add targeted tests?


🏁 Script executed:

#!/bin/bash
set -e

# Verify CHANGELOG entries exist for all bumped packages in this PR.
rg -n '^##\s+5\.83\.0\b' packages/clerk-js/CHANGELOG.md
rg -n '^##\s+3\.19\.1\b' packages/shared/CHANGELOG.md
rg -n '^##\s+0\.23\.52\b' packages/elements/CHANGELOG.md
rg -n '^##\s+1\.10\.13\b' packages/testing/CHANGELOG.md
rg -n '^##\s+2\.4\.8\b' packages/themes/CHANGELOG.md

Length of output: 355


I’d like to verify that there are actually tests covering the new “trial” properties in both the type definitions and runtime code. Running a quick grep across each package should reveal any existing coverage:

This will confirm whether we already have test cases and type definitions for the billing-trial properties, or if a follow-up PR is needed to add them.


🏁 Script executed:

#!/bin/bash
set -e

echo "🔍 Searching for any mention of 'trial' in tests under packages/clerk-js..."
rg -n --color never 'trial' -g '*.{test,spec}.{ts,js,tsx,jsx}' packages/clerk-js || echo "⚠️ No 'trial' references found in clerk-js tests."

echo
echo "🔍 Searching for any mention of 'trial' in packages/clerk-js source..."
rg -n --color never 'trial' -C2 packages/clerk-js

echo
echo "🔍 Searching for any mention of 'trial' in packages/types..."
rg -n --color never 'trial' -C2 packages/types

Length of output: 3084


Missing Tests for Billing Trial Properties

The version bump to 5.83.0 and all CHANGELOG entries look good, but I didn’t find any test coverage for the new trial fields:

• packages/clerk-js – no trial references in any *.test.* or *.spec.* files
• packages/types – no tests validating the JSON-to-type mapping for is_free_trial / eligible_for_free_trial

Please add targeted unit tests for:

  • Runtime behavior in packages/clerk-js/src/core/resources/CommerceSubscription.ts
  • Type surface in packages/types/src/json.ts

Let me know if you’d like a follow-up PR drafted for these tests.

🤖 Prompt for AI Agents
In packages/clerk-js/package.json around line 3, the change introduced new trial
fields but there are no tests covering them; add unit tests that (1) in
packages/clerk-js create a new spec under
src/core/resources/CommerceSubscription.test.* that exercises runtime behavior:
build subscription fixtures including is_free_trial and eligible_for_free_trial,
call the CommerceSubscription constructor/mapper, and assert the resulting
object exposes the trial fields (boolean values and any derived properties) and
preserves expected behavior when fields are missing or null; and (2) in
packages/types add a test in src/json.test.* that validates the JSON-to-type
mapping for is_free_trial and eligible_for_free_trial by converting
representative JSON payloads to the TypeScript types and asserting the
types/values match (true/false/undefined) and that any naming/transformation is
correct.

Comment on lines 3 to 11
## 2.4.19

### Patch Changes

- Updated dependencies [[`df63e76`](https://github.com/clerk/javascript/commit/df63e76f2382c601d9a3b52a3a6dfaba26c4f36f), [`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify package.json versions match the changelog

Quick check to ensure the fastify package version and its deps align with this entry.


🏁 Script executed:

#!/bin/bash
set -euo pipefail

PKG=packages/fastify/package.json

echo "Checking ${PKG} exists..."
test -f "$PKG"

version=$(jq -r '.version' "$PKG")
echo "fastify version: $version (expected: 2.4.19)"
test "$version" = "2.4.19"

# Helper to read a dep across the three sections
dep_ver() {
  local name=$1
  jq -r --arg n "$name" '
    .dependencies[$n] // .peerDependencies[$n] // .devDependencies[$n] // empty
  ' "$PKG"
}

check_dep() {
  local dep=$1 expected=$2
  local found
  found=$(dep_ver "$dep")
  echo "$dep: $found (expected: $expected)"
  test -n "$found" && test "$found" = "$expected"
}

check_dep "@clerk/backend" "2.8.0"
check_dep "@clerk/types" "4.76.0"
check_dep "@clerk/shared" "3.19.1"

echo "All checks passed."

Length of output: 853


Fix fastify package.json dependency versions

The packages/fastify/package.json is currently using workspace:^ placeholders for the Clerk deps, which no longer align with the versions listed in packages/fastify/CHANGELOG.md (2.4.19 patch):

• Update in packages/fastify/package.json dependencies:

  • Change "@clerk/backend": "workspace:^""@clerk/backend": "^2.8.0"
  • Change "@clerk/types": "workspace:^""@clerk/types": "^4.76.0"
  • Change "@clerk/shared": "workspace:^""@clerk/shared": "^3.19.1"

Once these are updated, the changelog entry and package.json will be in sync.

🤖 Prompt for AI Agents
In packages/fastify/CHANGELOG.md around lines 3 to 11, the changelog lists
specific versions for Clerk deps but packages/fastify/package.json still uses
"workspace:^" placeholders; update packages/fastify/package.json dependencies to
match the changelog by replacing "@clerk/backend": "workspace:^" with
"@clerk/backend": "^2.8.0", "@clerk/types": "workspace:^" with "@clerk/types":
"^4.76.0", and "@clerk/shared": "workspace:^" with "@clerk/shared": "^3.19.1",
then run a quick npm/yarn install or workspace sync to ensure lockfiles are
updated.

Comment on lines 3 to 12
## 1.8.13

### Patch Changes

- Updated dependencies [[`df63e76`](https://github.com/clerk/javascript/commit/df63e76f2382c601d9a3b52a3a6dfaba26c4f36f), [`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

React Router changelog v1.8.13 is consistent (dependency bump only).

  • Patch entry lists expected internal package updates; no functional changes indicated.

Verify the package.json version matches and referenced packages exist at the stated versions:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Verify packages/react-router version matches changelog…"
pkg_ver=$(jq -r '.version' packages/react-router/package.json)
echo "packages/react-router/package.json version: $pkg_ver"
if ! rg -n $'^##\\s*'"$pkg_ver" packages/react-router/CHANGELOG.md -q; then
  echo "WARN: packages/react-router/CHANGELOG.md does not contain heading for $pkg_ver"
else
  echo "OK: Found changelog heading for $pkg_ver"
fi

echo
echo "Cross-check referenced dependency versions exist in the repo…"
echo "- @clerk/backend version:"     $(jq -r '.version' packages/backend/package.json)
echo "- @clerk/types version:"       $(jq -r '.version' packages/types/package.json)
echo "- @clerk/clerk-react version:" $(jq -r '.version' packages/clerk-react/package.json)
echo "- @clerk/shared version:"      $(jq -r '.version' packages/shared/package.json)

Length of output: 1181


Verify @clerk/clerk-react package presence and version

  • packages/react-router/package.json version (1.8.13) matches the changelog heading ✔️
  • @clerk/backend v2.8.0 found in packages/backend/package.json ✔️
  • @clerk/types v4.76.0 found in packages/types/package.json ✔️
  • @clerk/shared v3.19.1 found in packages/shared/package.json ✔️
  • @clerk/clerk-react: no packages/clerk-react/package.json found

Action: please confirm the monorepo path for @clerk/clerk-react (should contain package.json) and ensure its version is bumped to 5.41.1—or update the changelog to reference the correct package directory.

🤖 Prompt for AI Agents
packages/react-router/CHANGELOG.md around lines 3 to 12: the changelog lists
@clerk/[email protected] but there is no packages/clerk-react/package.json in
the repo; either locate the correct monorepo path for the @clerk/clerk-react
package and add/restore its package.json (ensure "name": "@clerk/clerk-react"
and "version": "5.41.1"), or if the package lives under a different directory
update this changelog entry to reference the actual package path and version;
after fixing the package.json/version, run the workspace tool (yarn/npm/lerna)
to refresh lockfiles and commit the package.json and changelog changes.

Comment on lines 3 to 9
## 2.4.8

### Patch Changes

- Updated dependencies [[`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1)]:
- @clerk/[email protected]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Themes changelog entry is accurate; ensure dep bump is applied.

  • Patch entry 2.4.8 records the dependency update to @clerk/[email protected], consistent with the rest of the release.

Run this to check the themes package version and dependency:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

pkg_dir="packages/themes"
pkg_json="$pkg_dir/package.json"
changelog="$pkg_dir/CHANGELOG.md"

# 1) Verify versions align
pkg_ver=$(jq -r '.version' "$pkg_json")
cl_ver=$(gawk 'match($0,/^##[[:space:]]+([0-9]+\.[0-9]+\.[0-9]+)/,a){print a[1]; exit}' "$changelog")
echo "themes package.json: $pkg_ver"
echo "themes changelog:    $cl_ver"
test "$pkg_ver" = "$cl_ver" || { echo "Version mismatch in @clerk/themes"; exit 1; }

# 2) Confirm @clerk/types version pin
jq -r '(.dependencies // {} + .peerDependencies // {})["@clerk/types"]' "$pkg_json"
echo "Expected: 4.76.0"

Length of output: 620


Missing @clerk/types bump in packages/themes/package.json

The changelog for v2.4.8 correctly records the upgrade to @clerk/[email protected], but the actual dependency in packages/themes/package.json is still using the workspace protocol. Please update it to match the changelog:

• packages/themes/package.json

   "dependencies": {
-    "@clerk/types": "workspace:^",
+    "@clerk/types": "^4.76.0",
     …  
   }

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In packages/themes/CHANGELOG.md around lines 3 to 9 the changelog shows
@clerk/[email protected] but packages/themes/package.json still references the
workspace protocol; update packages/themes/package.json to replace the workspace
dependency for @clerk/types with the explicit version "4.76.0" (in dependencies
or devDependencies where it appears), save the file and run the package manager
install to update the lockfile if applicable.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

♻️ Duplicate comments (6)
packages/remix/package.json (1)

3-3: Verify CHANGELOG has a populated 4.10.13 section with dependency bump notes.

Follow-up to earlier comment about an empty entry for this version; please confirm it’s now populated.

Run the script to ensure the CHANGELOG entry exists and mentions dependency updates:

#!/usr/bin/env bash
set -euo pipefail

pkg="packages/remix/package.json"
changelog="packages/remix/CHANGELOG.md"

ver=$(jq -r '.version' "$pkg")
echo "packages/remix version: $ver"

echo "Checking CHANGELOG heading…"
rg -n "^## $ver$" "$changelog" || { echo "ERROR: Missing CHANGELOG entry for $ver"; exit 1; }

echo "Extracting section and verifying content…"
section=$(awk "/^## $ver\$/,/^## /{ if (!/^## /) print }" "$changelog")

printf '%s\n' "$section" | rg -n "(Updated dependencies|dependency|bump|upgrade|@clerk/(backend|types|clerk-react|shared))" \
  || { echo "ERROR: $changelog: Section for $ver lacks dependency bump notes"; exit 1; }

echo "OK: CHANGELOG entry for $ver exists and references dependency updates."
packages/express/package.json (1)

3-3: LGTM: Patch bump to 1.7.19 is aligned with repo-wide updates.
Semver, scope, publishConfig, and workspace pins are correct.

packages/clerk-js/package.json (1)

3-3: Minor bump to 5.83.0 acknowledged; add tests for new billing “trial” properties.

The versioning and metadata are fine. As previously noted, tests for the new trial fields are missing in both packages/clerk-js and packages/types. Please add targeted unit tests to validate parsing/mapping and runtime behavior.

#!/bin/bash
set -euo pipefail

echo "🔎 Checking for 'trial' coverage in clerk-js tests..."
rg -n --color never 'trial' -g 'packages/clerk-js/**/*.{test,spec}.{ts,tsx,js,jsx}' || echo "⚠️ No 'trial' references found in clerk-js tests."

echo
echo "🔎 Checking for 'trial' references in clerk-js source..."
rg -n --color never 'trial' -C2 packages/clerk-js/src || true

echo
echo "🔎 Checking types package for 'trial' references (source and tests)..."
rg -n --color never 'trial' -C2 packages/types || true

Do you want me to draft minimal tests for these fields in both packages?

packages/themes/CHANGELOG.md (1)

3-9: Themes changelog is accurate; verify package.json dependency pin to @clerk/[email protected].

The entry for 2.4.8 correctly calls out @clerk/[email protected]. Ensure packages/themes/package.json reflects this (repo policy often prefers explicit semver pins over workspace:^ for publishable prod deps).

Run to confirm and catch mismatches:

#!/bin/bash
set -euo pipefail

pkg="packages/themes/package.json"
chlog="packages/themes/CHANGELOG.md"

echo "themes package.json version: $(jq -r '.version' "$pkg")"
echo "latest changelog version: $(gawk 'match($0,/^##[[:space:]]+([0-9]+\.[0-9]+\.[0-9]+)/,a){print a[1]; exit}' "$chlog")"
echo
echo "@clerk/types dependency in themes:"
jq -r '(.dependencies // {} + .peerDependencies // {} + .devDependencies // {})["@clerk/types"] // "MISSING"' "$pkg"
packages/react-router/CHANGELOG.md (1)

7-11: Close out prior concern about @clerk/clerk-react path; verify location and version.

A previous automated review flagged a missing packages/clerk-react path. In this monorepo, @clerk/clerk-react typically lives under packages/react (name set in package.json). Please verify the package name and version there.

Run:

#!/bin/bash
set -euo pipefail

# Verify that @clerk/clerk-react is defined under packages/react
jq -r '.name, .version' packages/react/package.json

name=$(jq -r '.name' packages/react/package.json)
ver=$(jq -r '.version' packages/react/package.json)

if [[ "$name" != "@clerk/clerk-react" ]]; then
  echo "WARN: packages/react/package.json does not declare @clerk/clerk-react (found: $name)"
  exit 1
fi

# Ensure version matches the changelog reference (5.41.1)
expected="5.41.1"
if [[ "$ver" == "$expected" ]]; then
  echo "OK: @clerk/clerk-react version is $ver"
else
  echo "WARN: Expected @clerk/clerk-react version $expected but found $ver"
  exit 1
fi
packages/nextjs/CHANGELOG.md (1)

3-11: Verify package.json dependency alignment vs. CHANGELOG (workspace protocol mismatch).

The top entry lists exact versions, but packages/nextjs/package.json commonly uses the workspace: protocol for internal deps. Either pin the deps in package.json to match the CHANGELOG or explicitly accept the workspace protocol and ensure the published resolution matches these versions.

Re-run the verification to avoid publish inconsistencies:

#!/usr/bin/env bash
set -euo pipefail

PKG_JSON="packages/nextjs/package.json"
CHANGELOG="packages/nextjs/CHANGELOG.md"

echo "Checking package.json version..."
pkg_version=$(jq -r .version "$PKG_JSON")
echo "  package.json version: $pkg_version"
test "$pkg_version" = "6.30.2"

echo "Dependency specs (may be 'workspace:' vs explicit pins)..."
jq -r '.dependencies | to_entries[] | "\(.key): \(.value)"' "$PKG_JSON" | sed 's/^[ ]*//'

echo "Topmost changelog entry..."
first_h2=$(gawk '/^## / {print; exit}' "$CHANGELOG")
echo "  first changelog section: $first_h2"
grep -q "^## 6.30.2$" <<<"$first_h2"

echo "All checks passed (manual review still needed if using workspace protocol)."
🧹 Nitpick comments (6)
packages/nextjs/package.json (1)

3-3: Smoke Tests Required Post Dependency Realignment

  • File affected: packages/nextjs/package.json (version 6.30.2)
  • Core dependencies aligned and CHANGELOGs verified:
    • @clerk/backend 2.8.0
    • @clerk/types 4.76.0
    • @clerk/shared 3.19.1
    • @clerk/clerk-react 5.41.1
  • No smoke tests were updated in this PR—please run or extend tests for SSR/edge middleware, server-only import paths, and React client components against these new versions to catch any integration regressions.
packages/shared/CHANGELOG.md (1)

3-9: Changelog entry for 3.19.1 is clear and follows existing style.

  • Patch Changes correctly list updated dependency to @clerk/[email protected] with commit reference.
  • No breaking notes or API changes claimed; consistent with a patch.

Consider adding a one-liner rationale for the dependency update (e.g., “sync with billing trial properties types”) to aid readers scanning the log. Optional.

packages/react/package.json (1)

3-3: React package patch bump is appropriate and low-risk.

  • No changes to exports map or peers; metadata-only change.
  • Matches referenced changelog (5.41.1).

No tests were modified in this PR. If any subtle behavior changes are expected from the @clerk/shared or @clerk/types updates, consider adding a small regression test in this package (e.g., hook type inference or minimal render smoke for updated billing types). I can help draft a test matrix if useful.

packages/clerk-js/CHANGELOG.md (1)

3-8: Changelog entry reads well; consider adding a touch more specificity on “trial properties.”

To reduce ambiguity for SDK consumers scanning the changelog, append a short phrase or bullet briefly naming the added trial-related fields (or a link to the PR section that enumerates them). If there are any behavioral caveats (defaults, breaking changes), a one-liner under a “Notes” sub-bullet helps.

Also, since no tests were modified in this PR, consider adding/expanding unit/integration tests around the new trial properties in the billing resources to prevent regressions. I can help outline test cases if useful.

packages/remix/CHANGELOG.md (1)

8-11: Optional: Keep dependency bullet order consistent with prior entries

Previous entry 4.10.12 lists dependencies in the order: types, clerk-react, shared, backend. Consider mirroring that order here for consistency/readability.

Apply this diff within the dependency list:

packages/nextjs/CHANGELOG.md (1)

3-11: Optional: add a lightweight CI smoke check for this release.

No tests changed in this PR. Consider adding a CI job that installs the just-published @clerk/nextjs with these dependency versions in a minimal Next.js app to catch publish-time or peer-range issues.

I can draft a minimal smoke test workflow that exercises install and a build step against Next 14/15 matrices if helpful.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6f73222 and bb1e24b.

📒 Files selected for processing (47)
  • .changeset/nasty-colts-travel.md (0 hunks)
  • .changeset/sour-lemons-talk.md (0 hunks)
  • .changeset/thin-wolves-study.md (0 hunks)
  • packages/agent-toolkit/CHANGELOG.md (1 hunks)
  • packages/agent-toolkit/package.json (1 hunks)
  • packages/astro/CHANGELOG.md (1 hunks)
  • packages/astro/package.json (1 hunks)
  • packages/backend/CHANGELOG.md (1 hunks)
  • packages/backend/package.json (1 hunks)
  • packages/chrome-extension/CHANGELOG.md (1 hunks)
  • packages/chrome-extension/package.json (1 hunks)
  • packages/clerk-js/CHANGELOG.md (1 hunks)
  • packages/clerk-js/package.json (1 hunks)
  • packages/elements/CHANGELOG.md (1 hunks)
  • packages/elements/package.json (1 hunks)
  • packages/expo-passkeys/CHANGELOG.md (1 hunks)
  • packages/expo-passkeys/package.json (1 hunks)
  • packages/expo/CHANGELOG.md (1 hunks)
  • packages/expo/package.json (1 hunks)
  • packages/express/CHANGELOG.md (1 hunks)
  • packages/express/package.json (1 hunks)
  • packages/fastify/CHANGELOG.md (1 hunks)
  • packages/fastify/package.json (1 hunks)
  • packages/localizations/CHANGELOG.md (1 hunks)
  • packages/localizations/package.json (1 hunks)
  • packages/nextjs/CHANGELOG.md (1 hunks)
  • packages/nextjs/package.json (1 hunks)
  • packages/nuxt/CHANGELOG.md (1 hunks)
  • packages/nuxt/package.json (1 hunks)
  • packages/react-router/CHANGELOG.md (1 hunks)
  • packages/react-router/package.json (1 hunks)
  • packages/react/CHANGELOG.md (1 hunks)
  • packages/react/package.json (1 hunks)
  • packages/remix/CHANGELOG.md (1 hunks)
  • packages/remix/package.json (1 hunks)
  • packages/shared/CHANGELOG.md (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/tanstack-react-start/CHANGELOG.md (1 hunks)
  • packages/tanstack-react-start/package.json (1 hunks)
  • packages/testing/CHANGELOG.md (1 hunks)
  • packages/testing/package.json (1 hunks)
  • packages/themes/CHANGELOG.md (1 hunks)
  • packages/themes/package.json (1 hunks)
  • packages/types/CHANGELOG.md (1 hunks)
  • packages/types/package.json (1 hunks)
  • packages/vue/CHANGELOG.md (1 hunks)
  • packages/vue/package.json (1 hunks)
💤 Files with no reviewable changes (3)
  • .changeset/thin-wolves-study.md
  • .changeset/sour-lemons-talk.md
  • .changeset/nasty-colts-travel.md
🧰 Additional context used
📓 Path-based instructions (5)
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/agent-toolkit/package.json
  • packages/shared/CHANGELOG.md
  • packages/remix/package.json
  • packages/themes/package.json
  • packages/nextjs/package.json
  • packages/tanstack-react-start/package.json
  • packages/vue/package.json
  • packages/chrome-extension/package.json
  • packages/nuxt/package.json
  • packages/elements/package.json
  • packages/localizations/package.json
  • packages/shared/package.json
  • packages/vue/CHANGELOG.md
  • packages/expo/package.json
  • packages/types/package.json
  • packages/expo-passkeys/package.json
  • packages/react/package.json
  • packages/expo-passkeys/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/fastify/package.json
  • packages/astro/package.json
  • packages/react-router/package.json
  • packages/react/CHANGELOG.md
  • packages/testing/package.json
  • packages/nuxt/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/backend/package.json
  • packages/types/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
  • packages/clerk-js/package.json
  • packages/express/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/elements/CHANGELOG.md
  • packages/express/package.json
  • packages/localizations/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/backend/CHANGELOG.md
packages/*/package.json

📄 CodeRabbit Inference Engine (.cursor/rules/global.mdc)

All publishable packages should be placed under the packages/ directory

packages/*/package.json: All publishable packages must be located in the 'packages/' directory.
All packages must be published under the @clerk namespace on npm.
Semantic versioning must be used across all packages.

Files:

  • packages/agent-toolkit/package.json
  • packages/remix/package.json
  • packages/themes/package.json
  • packages/nextjs/package.json
  • packages/tanstack-react-start/package.json
  • packages/vue/package.json
  • packages/chrome-extension/package.json
  • packages/nuxt/package.json
  • packages/elements/package.json
  • packages/localizations/package.json
  • packages/shared/package.json
  • packages/expo/package.json
  • packages/types/package.json
  • packages/expo-passkeys/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/astro/package.json
  • packages/react-router/package.json
  • packages/testing/package.json
  • packages/backend/package.json
  • packages/clerk-js/package.json
  • packages/express/package.json
**/*

⚙️ CodeRabbit Configuration File

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • packages/agent-toolkit/package.json
  • packages/shared/CHANGELOG.md
  • packages/remix/package.json
  • packages/themes/package.json
  • packages/nextjs/package.json
  • packages/tanstack-react-start/package.json
  • packages/vue/package.json
  • packages/chrome-extension/package.json
  • packages/nuxt/package.json
  • packages/elements/package.json
  • packages/localizations/package.json
  • packages/shared/package.json
  • packages/vue/CHANGELOG.md
  • packages/expo/package.json
  • packages/types/package.json
  • packages/expo-passkeys/package.json
  • packages/react/package.json
  • packages/expo-passkeys/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/fastify/package.json
  • packages/astro/package.json
  • packages/react-router/package.json
  • packages/react/CHANGELOG.md
  • packages/testing/package.json
  • packages/nuxt/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/backend/package.json
  • packages/types/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
  • packages/clerk-js/package.json
  • packages/express/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/elements/CHANGELOG.md
  • packages/express/package.json
  • packages/localizations/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/backend/CHANGELOG.md
packages/**/CHANGELOG.md

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Maintain detailed changelogs

Files:

  • packages/shared/CHANGELOG.md
  • packages/vue/CHANGELOG.md
  • packages/expo-passkeys/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
  • packages/react/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/types/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/elements/CHANGELOG.md
  • packages/localizations/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/backend/CHANGELOG.md
packages/localizations/**/*

📄 CodeRabbit Inference Engine (.cursor/rules/monorepo.mdc)

Localization files must be placed in 'packages/localizations/'.

Files:

  • packages/localizations/package.json
  • packages/localizations/CHANGELOG.md
🔇 Additional comments (43)
packages/expo/package.json (1)

3-3: Semver patch bump looks correct and compliant.

  • Package is under packages/, scoped to @clerk, and uses semantic versioning.
  • No runtime/public API impact expected; no test changes required for a metadata-only bump.
packages/chrome-extension/package.json (1)

3-3: Patch version bump aligns with dependency updates.

  • Scoped under @clerk and publishConfig is public.
  • No code changes; a test update is not required for this release bump.
packages/agent-toolkit/package.json (1)

3-3: Agent Toolkit version bump to 0.1.20 LGTM.

  • Semver patch for dependency updates is appropriate.
  • Package remains correctly scoped and configured for public publishing.
packages/fastify/package.json (1)

3-3: Fastify SDK patch bump validated.

  • Semver and packaging metadata remain consistent.
  • No API surface changes indicated; nothing to test here.
packages/elements/package.json (1)

3-3: Elements package patch bump is consistent with the CHANGELOG.

  • Package scope, engines, and export map unchanged; release metadata looks good.
packages/expo-passkeys/CHANGELOG.md (1)

3-10: Changelog entry looks correct and consistent.

Patch release header and dependency bump details are clear, include commit reference, and follow existing formatting conventions.

packages/remix/package.json (1)

3-3: Semver patch bump to 4.10.13 is appropriate.

Matches repo-wide dependency updates; no other changes detected in this package.json.

packages/shared/package.json (1)

3-3: Semver patch bump to 3.19.1 is appropriate.

Aligns with upstream @clerk/[email protected] and repo-wide releases. No other field changes observed.

packages/react-router/package.json (1)

3-3: Semver patch bump to 1.8.13 is appropriate.

Consistent with dependency updates and no API surface changes in this package.json.

packages/astro/package.json (2)

3-3: Semver patch bump to 2.11.1 is appropriate.

Tracks coordinated dependency bumps; no additional changes observed.


3-3: [email protected] changelog entry verified

  • packages/astro/CHANGELOG.md contains a ## 2.11.1 heading on line 3

(Optional) The 2.11.1 section doesn’t mention any dependency bumps—if this release includes updated or upgraded dependencies, please add a brief note under that heading.

packages/nextjs/package.json (1)

3-3: Patch bump looks correct and consistent with PR scope.

Version updated to 6.30.2 with no API surface changes; aligns with the repo-wide dependency refresh noted in the PR objectives.

packages/nuxt/package.json (1)

3-3: LGTM: patch version bump only.

1.8.5 is a patch release; exports and runtime entry points unchanged. Matches the PR’s dependency update narrative.

packages/types/package.json (1)

3-3: Minor version bump is appropriate for new typings.

4.75.0 → 4.76.0 reflects added trial properties in billing resources. No other fields changed; SemVer classification makes sense for type additions.

packages/tanstack-react-start/package.json (1)

3-3: LGTM: patch bump aligned with dependency updates.

0.21.9 with no changes to exports or deps in this file; consistent with the release automation.

packages/vue/package.json (1)

3-3: LGTM: patch bump aligns with updated @clerk/types and @clerk/shared.

1.10.1 contains dependency updates only; package metadata and exports remain stable.

packages/themes/package.json (1)

3-3: Verified: @clerk/[email protected] CHANGELOG entry present

  • packages/themes/CHANGELOG.md contains the new ## 2.4.8 header.
  • All other published @clerk/* packages also have matching ## <version> entries.
  • Internal/example sub-directories without a CHANGELOG.md or missing name/version can be ignored—they’re not published.

No further changes required.

packages/testing/package.json (1)

3-3: Patch version bump looks correct for dependency updates.

No changes to exports, peers, or engines. Safe to publish.

Double-check that the updated internal deps (workspace:^ for @clerk/backend, @clerk/shared, @clerk/types) resolve to the newly published versions during release. The Changesets workflow should handle this, but please confirm the publish order in CI to avoid temporary unmet peer warnings.

packages/expo-passkeys/package.json (1)

3-3: Expo Passkeys patch bump is appropriate; peers remain compatible.

  • Still peers expo ">=50 <54"; devDependency expo "~52.x" is consistent.
  • Only metadata changed; no API impact.

Given the dependency refresh to @clerk/shared and @clerk/types, please verify the example app still builds with Expo SDK 52 and 53:

  • Ensure no new types leak into the public API that would require a minor bump.
packages/backend/package.json (1)

3-3: Public exports in built types need manual confirmation
I don’t see a packages/backend/dist folder in this branch. Please run your build (e.g. yarn build) and confirm that the generated dist/index.d.ts exports both Machine and M2MToken as noted in the CHANGELOG.

packages/elements/CHANGELOG.md (1)

3-10: Changelog entry 0.23.52 is clear and links to the dependency bump commit.
Meets the guideline for detailed changelogs; no issues spotted.

packages/vue/CHANGELOG.md (1)

3-10: Changelog entry 1.10.1 documents the dependency updates appropriately.
Formatting and detail level are consistent with the repository’s conventions.

packages/expo/CHANGELOG.md (1)

3-11: Changelog entry looks correct and consistent with the release train.

2.14.18 correctly documents the dependency bumps to [email protected], [email protected], [email protected], and [email protected] with the commit reference. No API changes implied here.

If not already done by Changesets, verify that packages/expo/package.json was bumped to 2.14.18 and internal deps reflect these versions.

packages/agent-toolkit/CHANGELOG.md (1)

3-11: Agent Toolkit changelog entry aligns with backend/types/shared bumps.

0.1.20 correctly tracks @clerk/[email protected], @clerk/[email protected], and @clerk/[email protected]. No API surface changes implied.

As a quick sanity check, confirm packages/agent-toolkit/package.json version is 0.1.20 and its internal deps align with these versions.

packages/localizations/package.json (1)

3-3: Version bump to 3.20.10 is correct.

Matches the changelog entry that adds taskChooseOrganization and updates @clerk/types to 4.76.0.

Optionally verify whether monorepo policy expects pinning "@clerk/types" to "^4.76.0" instead of "workspace:^" for publishable packages.

packages/react/CHANGELOG.md (1)

3-10: LGTM: Changelog and workspace deps are correctly aligned

  • packages/react/package.json is updated to version 5.41.1.
  • Dependencies on @clerk/[email protected] and @clerk/[email protected] are referenced via workspace:^, which resolves to the bumped versions.
  • Downstream packages (chrome-extension, elements, nextjs, remix) also reference @clerk/clerk-react via workspace:^, picking up the new 5.41.1 release.

No changes are needed for this changelog-only update.

packages/astro/CHANGELOG.md (2)

3-11: Changelog entry for 2.11.1 looks correct and consistent.

  • Proper heading levels and placement before 2.11.0.
  • Patch Changes correctly scoped to dependency bumps.
  • Commit references and package versions match the PR objectives.

7-11: All referenced commit SHAs exist. Please manually verify package versions and Astro’s dependency ranges.

Run these commands and ensure they match the changelog (backend 2.8.0, types 4.76.0, shared 3.19.1):

• Check versions
jq -r '.version' packages/backend/package.json
jq -r '.version' packages/types/package.json
jq -r '.version' packages/shared/package.json
jq -r '.version' packages/astro/package.json

• Inspect @clerk/astro’s declared ranges
jq -r '.dependencies["@clerk/backend"] // .peerDependencies["@clerk/backend"]' packages/astro/package.json
jq -r '.dependencies["@clerk/types"] // .peerDependencies["@clerk/types"]' packages/astro/package.json
jq -r '.dependencies["@clerk/shared"] // .peerDependencies["@clerk/shared"]' packages/astro/package.json

Verify each range includes the released version.

packages/chrome-extension/CHANGELOG.md (1)

3-11: Changelog entry confirmed for 2.5.19

  • packages/chrome-extension/package.json version (2.5.19) matches the CHANGELOG.md heading.
  • Dependency bumps and formatting remain correct and consistent.
packages/nuxt/CHANGELOG.md (1)

3-12: Nuxt CHANGELOG version matches package.json

  • packages/nuxt/package.json lists version 1.8.5
  • Found ## 1.8.5 heading in packages/nuxt/CHANGELOG.md

All set—no further changes needed.

packages/react-router/CHANGELOG.md (1)

3-12: ✔️ React Router v1.8.13 changelog entry verified and approved

  • Changelog heading “## 1.8.13” matches packages/react-router/package.json version.
  • Dependency versions align with the repo-wide bump.
  • Formatting and commit link references are consistent.
packages/testing/CHANGELOG.md (1)

3-11: Testing Package 1.10.13 Changelog Verified

  • Confirmed that packages/testing/package.json version (1.10.13) matches the CHANGELOG.md heading.
  • Patch entry is accurate and dependency versions align with the rest of the release train.
packages/localizations/CHANGELOG.md (2)

3-11: Changelog entry reads clean and is consistent with prior sections.

  • Version header, Patch Changes heading, PR link, and dependency bump all follow established formatting.
  • The taskChooseOrganization key name is correctly cased/backticked and matches prior feature naming.

7-11: All locale definitions include taskChooseOrganization; version bump is correct

  • The packages/localizations/package.json is at @clerk/[email protected], exactly matching the CHANGELOG entry.
  • Every per-locale file under packages/localizations/src/*.ts defines the taskChooseOrganization key.
  • The only files without that key are src/index.ts and the helpers in src/utils/, which are not individual locale bundles and thus need no update.
packages/tanstack-react-start/CHANGELOG.md (2)

3-12: Changelog entry is accurate and matches repo-wide dependency bumps.

  • Versions listed for @clerk/backend, @clerk/types, @clerk/clerk-react, and @clerk/shared align with the PR objective and other packages’ entries.
  • Formatting matches historical sections.

7-12: No Action Needed: Changelog and Package Versions Are in Sync

The package at packages/tanstack-react-start is correctly bumped to 0.21.9, and its workspace-pinned dependencies will resolve to the exact versions listed in the changelog. No changes required.

packages/express/CHANGELOG.md (2)

3-11: Express changelog bump looks good and consistent.

  • Patch entry correctly lists dependency updates with commit references.
  • Style and positioning at the top are consistent with prior sections.

7-11: Express package version and dependencies confirmed

All checks pass—no changes required.

packages/fastify/CHANGELOG.md (1)

3-11: Changelog entry looks good and consistent with the release train

  • Versions match the PR summary and broader dependency bump.
  • No further edits needed here.
packages/backend/CHANGELOG.md (1)

3-14: Release 2.8.0 verification complete

  • packages/backend/package.json is at version 2.8.0 as expected.
  • Dependencies on @clerk/types and @clerk/shared use the workspace protocol (workspace:^), which will be resolved to 4.76.0 and 3.19.1 at publish time.
  • The Machine and M2MToken classes are exported from the public API surface in packages/backend/src/api/resources/index.ts.

No further changes are required here.

packages/remix/CHANGELOG.md (2)

3-12: Changelog entry LGTM

  • Version header and "Patch Changes" section follow the existing convention.
  • Dependency versions match the PR objective notes for this release.
  • Doc-only change; no tests required for this file.

3-12: Package version and dependency ranges are correctly aligned

The packages/remix/package.json is at version 4.10.13, and all four Clerk dependencies are declared with workspace:^, ensuring they resolve to local packages at compatible versions (≥ 2.8.0, 4.76.0, 5.41.1, 3.19.1).

packages/nextjs/CHANGELOG.md (1)

5-11: LGTM: concise, consistent changelog entry.

The 6.30.2 Patch Changes section is clear and consistent with prior entries. No content or formatting issues spotted.

Comment on lines 9 to 21
### Patch Changes

- Updated dependencies [[`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1), [`6f73222`](https://github.com/clerk/javascript/commit/6f732223ad248cd8d5203b0354144c8ce4ee871c)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Sanity-check dependency bump alignment across repo.

The dependency versions called out here look consistent with recent bump patterns. Please verify that:

  • packages/clerk-js/package.json has version 5.83.0
  • @clerk/types is 4.76.0
  • @clerk/localizations is 3.20.10
  • @clerk/shared is 3.19.1
  • The corresponding package changelogs reflect those versions

Run the script below to confirm and flag any mismatches.


🏁 Script executed:

#!/bin/bash
set -euo pipefail

fail=0

echo "Checking top-of-file changelog heading for clerk-js…"
if ! rg -n $'^## 5\\.83\\.0$' packages/clerk-js/CHANGELOG.md >/dev/null; then
  echo "ERROR: Missing or misplaced '## 5.83.0' heading in packages/clerk-js/CHANGELOG.md"
  fail=1
else
  echo "OK: Found '## 5.83.0' heading in packages/clerk-js/CHANGELOG.md"
fi

echo "Checking clerk-js package version…"
clerk_js_ver=$(jq -r '.version' packages/clerk-js/package.json 2>/dev/null || echo "")
if [[ "$clerk_js_ver" != "5.83.0" ]]; then
  echo "ERROR: packages/clerk-js/package.json version is '$clerk_js_ver' (expected 5.83.0)"
  fail=1
else
  echo "OK: packages/clerk-js/package.json version is 5.83.0"
fi

check_dep_version () {
  local pkg=$1
  local expected=$2
  local actual
  actual=$(jq -r --arg pkg "$pkg" '
    (.dependencies[$pkg] // .peerDependencies[$pkg] // .devDependencies[$pkg] // empty)
  ' packages/clerk-js/package.json 2>/dev/null || echo "")
  if [[ -z "$actual" ]]; then
    echo "WARN: $pkg not listed in clerk-js dependencies/peers/devDeps (may be indirect)"
  elif [[ "$actual" != "$expected" ]]; then
    echo "ERROR: $pkg is '$actual' (expected $expected)"
    fail=1
  else
    echo "OK: $pkg is $expected"
  fi
}

echo "Checking clerk-js dependency versions…"
check_dep_version "@clerk/types" "4.76.0"
check_dep_version "@clerk/localizations" "3.20.10"
check_dep_version "@clerk/shared" "3.19.1"

echo "Checking referenced package changelogs exist with expected headings…"
check_changelog_version () {
  local path=$1
  local ver=$2
  if [[ -f "$path" ]]; then
    if rg -n $'^## '"$ver"'$' "$path" >/dev/null; then
      echo "OK: Found '## $ver' in $path"
    else
      echo "ERROR: Did not find '## $ver' in $path"
      fail=1
    fi
  else
    echo "WARN: $path not found (skipping)"
  fi
}
check_changelog_version "packages/types/CHANGELOG.md" "4.76.0"
check_changelog_version "packages/localizations/CHANGELOG.md" "3.20.10"
check_changelog_version "packages/shared/CHANGELOG.md" "3.19.1"

if [[ $fail -ne 0 ]]; then
  echo "One or more checks failed."
  exit 1
else
  echo "All checks passed."
fi

Length of output: 3493


Fix dependency specifiers in packages/clerk-js/package.json

The changelog correctly lists bumped versions, but the actual dependency entries in packages/clerk-js/package.json are still using the workspace:^ protocol instead of the expected pinned versions. Please update them to match:

• packages/clerk-js/package.json

  • @clerk/types: currently workspace:^ → should be 4.76.0
  • @clerk/localizations: currently workspace:^ → should be 3.20.10
  • @clerk/shared: currently workspace:^ → should be 3.19.1

Once these are updated, re-run the verification script to confirm alignment.

🤖 Prompt for AI Agents
In packages/clerk-js/CHANGELOG.md around lines 9 to 15, the changelog shows
bumped versions but packages/clerk-js/package.json still uses the workspace:^
specifier; update the package.json dependency entries to pin the exact versions:
set @clerk/types to "4.76.0", @clerk/localizations to "3.20.10", and
@clerk/shared to "3.19.1" (replace the workspace:^ entries), save the file, and
re-run the repo verification script to confirm alignment.

@@ -1,6 +1,6 @@
{
"name": "@clerk/clerk-expo",
"version": "2.14.17",
"version": "2.14.18",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Optional: Verify release hygiene across packages (name scope, publish config, changelog alignment).

Run this script to check:

  • All packages/*/package.json have @clerk/ scope
  • publishConfig.access is public
  • Package version matches the topmost entry in corresponding CHANGELOG.md

🏁 Script executed:

#!/bin/bash
set -euo pipefail

errors=0

# Find all publishable package.json files under packages/
mapfile -t PKGS < <(fd -a -t f '^package\.json$' packages)

for pkg in "${PKGS[@]}"; do
  dir="$(dirname "$pkg")"
  name="$(jq -r '.name' "$pkg")"
  version="$(jq -r '.version' "$pkg")"
  publish_access="$(jq -r '.publishConfig.access // empty' "$pkg")"

  # 1) Scope check
  if [[ "$name" != @clerk/* ]]; then
    echo "ERROR: $pkg => package name '$name' is not under @clerk scope"
    ((errors++)) || true
  fi

  # 2) publishConfig.access check
  if [[ "$publish_access" != "public" ]]; then
    echo "ERROR: $pkg => publishConfig.access is not 'public' (got '${publish_access:-<missing>}')"
    ((errors++)) || true
  fi

  # 3) Changelog version alignment (if changelog exists)
  changelog="$dir/CHANGELOG.md"
  if [[ -f "$changelog" ]]; then
    top_ch_ver="$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {print $2; exit}' "$changelog" | tr -d '[:space:]')"
    if [[ -n "$top_ch_ver" && "$top_ch_ver" != "$version" ]]; then
      echo "ERROR: $pkg => version '$version' does not match top CHANGELOG entry '$top_ch_ver'"
      ((errors++)) || true
    fi
  fi
done

if [[ $errors -gt 0 ]]; then
  echo "Found $errors issue(s)."
  exit 1
else
  echo "All checks passed."
fi

Length of output: 198


To work around the sandbox’s lack of /dev/fd support, here’s an updated check using command-substitution instead of process substitution:


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

errors=0

# Gather all package.json files under packages/
PKGS=( $(fd -a -t f '^package\.json$' packages) )

for pkg in "${PKGS[@]}"; do
  dir=$(dirname "$pkg")
  name=$(jq -r '.name' "$pkg")
  version=$(jq -r '.version' "$pkg")
  publish_access=$(jq -r '.publishConfig.access // empty' "$pkg")

  # 1) Scope check
  if [[ $name != @clerk/* ]]; then
    echo "ERROR: $pkg => package name '$name' is not under @clerk scope"
    errors=$((errors + 1))
  fi

  # 2) publishConfig.access check
  if [[ $publish_access != public ]]; then
    echo "ERROR: $pkg => publishConfig.access is not 'public' (got '${publish_access:-<missing>}')"
    errors=$((errors + 1))
  fi

  # 3) Changelog version alignment (if CHANGELOG.md exists)
  changelog="$dir/CHANGELOG.md"
  if [[ -f $changelog ]]; then
    top_ch_ver=$(awk '/^## [0-9]+\.[0-9]+\.[0-9]+/ {print $2; exit}' "$changelog" | tr -d '[:space:]')
    if [[ -n $top_ch_ver && $top_ch_ver != $version ]]; then
      echo "ERROR: $pkg => version '$version' does not match top CHANGELOG entry '$top_ch_ver'"
      errors=$((errors + 1))
    fi
  fi
done

if (( errors > 0 )); then
  echo "Found $errors issue(s)."
  exit 1
else
  echo "All checks passed."
  exit 0
fi

Length of output: 59290


Release hygiene checks detected 69 package.json issues – action required

The automated script flagged numerous nested packages (examples, client, internal, webhooks, etc.) with missing or mis-configured fields. Please address the following:

• Missing name/version (reported as null) in non-publishable packages under:
– packages/astro/{client,hotload,internal,react,server,webhooks}
– packages/backend/{errors,internal,jwt,webhooks}
– packages/chrome-extension/{background,internal,react}
– packages/expo/{local-credentials,passkeys,resource-cache,secure-store,token-cache,web}
– packages/express/webhooks, fastify/webhooks, nextjs/{errors,internal,server,webhooks}, remix/{api.server,errors,ssr.server}
– packages/tanstack-react-start/{errors,server,webhooks}, testing/{cypress,playwright}

• Missing publishConfig.access: "public" on several packages (e.g. examples and expo-passkeys).
• Public packages not scoped under @clerk/ (e.g. elements-nextjs).
• Private/internal bundles are being treated as publishable—either mark them "private": true or relocate them.

Recommended fixes:

  1. Mark any non-publishable packages as "private": true" to exclude them from release scripts.
  2. Ensure every public package.json has:
    • "name": "@clerk/<pkg>"
    • "publishConfig": { "access": "public" }
    • Version matching the top entry in its CHANGELOG.md.
  3. Remove or relocate example and internal folders from the publishable workspace if they’re not meant for npm.

@@ -1,6 +1,6 @@
{
"name": "@clerk/react-router",
"version": "1.8.12",
"version": "1.8.13",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Check CHANGELOG entry exists for 1.8.13 and lists updated dependencies.


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

pkg="packages/react-router/package.json"
changelog="packages/react-router/CHANGELOG.md"
ver=$(jq -r '.version' "$pkg")

rg -n "^## $ver$" "$changelog" || { echo "ERROR: Missing CHANGELOG entry for $ver"; exit 1; }

section=$(awk "/^## $ver\$/,/^## /{ if (!/^## /) print }" "$changelog")
printf '%s\n' "$section" | rg -n "(@clerk/backend|@clerk/types|@clerk/clerk-react|@clerk/shared)" \
  || { echo "ERROR: $changelog: Section for $ver lacks expected dependency bump notes"; exit 1; }

echo "OK: @clerk/react-router $ver CHANGELOG entry references dependency updates."

Length of output: 648


Add missing dependency bump notes to CHANGELOG for v1.8.13

The ## 1.8.13 entry exists in packages/react-router/CHANGELOG.md but is empty—please update it to list all dependency version bumps introduced in this release. For example:

• File: packages/react-router/CHANGELOG.md
• Section: under the ## 1.8.13 heading

Suggested snippet:

 ## 1.8.13

+- deps: bump @clerk/backend to v<new-version>
+- deps: bump @clerk/types to v<new-version>
+- deps: bump @clerk/clerk-react to v<new-version>
+- deps: bump @clerk/shared to v<new-version>

Ensure each updated package and its new version are accurately reflected.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"version": "1.8.13",
## 1.8.13
+ deps: bump @clerk/backend to v<new-version>
+ deps: bump @clerk/types to v<new-version>
+ deps: bump @clerk/clerk-react to v<new-version>
+ deps: bump @clerk/shared to v<new-version>
🤖 Prompt for AI Agents
In packages/react-router/package.json around line 3, the release version 1.8.13
was bumped but the corresponding CHANGELOG entry is empty; open
packages/react-router/CHANGELOG.md and under the "## 1.8.13" heading add a
bullet list of all dependency version bumps introduced in this release (each
line: package path/name and new version), verify each package and version
against the actual package.json or lockfile changes, format consistently with
existing changelog entries, save and commit the updated CHANGELOG.md.

@@ -1,6 +1,6 @@
{
"name": "@clerk/shared",
"version": "3.19.0",
"version": "3.19.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Sanity-check corresponding CHANGELOG entry for 3.19.1.

Ensure the changelog documents the dependency update to @clerk/[email protected].


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

pkg="packages/shared/package.json"
changelog="packages/shared/CHANGELOG.md"
ver=$(jq -r '.version' "$pkg")

rg -n "^## $ver$" "$changelog" || { echo "ERROR: Missing CHANGELOG entry for $ver"; exit 1; }

section=$(awk "/^## $ver\$/,/^## /{ if (!/^## /) print }" "$changelog")
printf '%s\n' "$section" | rg -n "@clerk/types@4\\.76\\.0|Updated dependencies" \
  || { echo "ERROR: $changelog: Section for $ver lacks expected dependency note to @clerk/[email protected]"; exit 1; }

echo "OK: @clerk/shared $ver CHANGELOG entry looks good."

Length of output: 620


Missing CHANGELOG entry for version 3.19.1

The ## 3.19.1 section in packages/shared/CHANGELOG.md is currently empty. Please add an entry documenting the bump of @clerk/types to 4.76.0.

• packages/shared/CHANGELOG.md – under the ## 3.19.1 heading, add a line such as:
- chore(deps): bump @clerk/types to 4.76.0

🤖 Prompt for AI Agents
In packages/shared/package.json around line 3, the release listed as "3.19.1"
lacks a corresponding changelog entry; open packages/shared/CHANGELOG.md and
under the "## 3.19.1" heading add a bullet documenting the dependency bump, e.g.
"- chore(deps): bump @clerk/types to 4.76.0", save the file and include it in
the commit.

Comment on lines 3 to 10
## 4.76.0

### Minor Changes

- Update billing resources with trial properties. ([#6492](https://github.com/clerk/javascript/pull/6492)) by [@panteliselef](https://github.com/panteliselef)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Minor entry OK; consider naming the added “trial” fields for discoverability

To help SDK consumers quickly assess impact, expand the bullet to list the concrete type names and properties updated (e.g., which resources gained trial-related fields), and whether any are optional vs required.

Apply this documentation tweak (example):

- - Update billing resources with trial properties. ([#6492](https://github.com/clerk/javascript/pull/6492)) by [@panteliselef](https://github.com/panteliselef)
+ - Update billing resources with trial properties. ([#6492](https://github.com/clerk/javascript/pull/6492)) by [@panteliselef](https://github.com/panteliselef)
+   - Added fields: `Plan.trialPeriodDays?: number`, `Subscription.trialEndsAt?: Date`
+   - Updated JSON types: `CommercePlanJSON`, `CommerceSubscriptionJSON`
+   - No breaking changes; all new properties are optional.

Run this script to verify the version bump to 4.76.0 and that dependents reference it:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Verify @clerk/types version bump"
rg -n '"name":\s*"@clerk/types"' -A3 packages/types/package.json
rg -n '"version":\s*"4\.76\.0"' packages/types/package.json

echo
echo "Check a few known dependents pinning/using 4.76.0"
for pkg in localizations shared react vue elements themes; do
  p="packages/$pkg/package.json"
  if [[ -f "$p" ]]; then
    echo "Checking $p"
    rg -n '"@clerk/types"\s*:\s*".*"' "$p" || true
  fi
done

Length of output: 2438


Enhance CHANGELOG entry with specific trial fields

To improve discoverability and clarity for SDK consumers, please expand the existing bullet in packages/types/CHANGELOG.md to list exactly which types and properties were added (and their optionality).

Affected location:

  • packages/types/CHANGELOG.md (around lines 3–8)

Suggested update:

 ## 4.76.0

 ### Minor Changes

- Update billing resources with trial properties. ([#6492](https://github.com/clerk/javascript/pull/6492)) by [@panteliselef](https://github.com/panteliselef)
+  - Added fields: `Plan.trialPeriodDays?: number`, `Subscription.trialEndsAt?: Date`
+  - Updated JSON types: `CommercePlanJSON`, `CommerceSubscriptionJSON`
+  - No breaking changes; all new properties are optional.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## 4.76.0
### Minor Changes
- Update billing resources with trial properties. ([#6492](https://github.com/clerk/javascript/pull/6492)) by [@panteliselef](https://github.com/panteliselef)
## 4.76.0
### Minor Changes
- Update billing resources with trial properties. ([#6492](https://github.com/clerk/javascript/pull/6492)) by [@panteliselef](https://github.com/panteliselef)
- Added fields: `Plan.trialPeriodDays?: number`, `Subscription.trialEndsAt?: Date`
- Updated JSON types: `CommercePlanJSON`, `CommerceSubscriptionJSON`
- No breaking changes; all new properties are optional.
🤖 Prompt for AI Agents
In packages/types/CHANGELOG.md around lines 3 to 8, the "Update billing
resources with trial properties" bullet is too vague; expand it to explicitly
list the new types and properties added and mark whether each property is
optional or required. Update the entry to name the exact type(s) (e.g.,
BillingResource, Invoice, Subscription — replace with the real type names
added), enumerate each new property added to those types (for example:
trialEnabled?: boolean (optional), trialStart?: string | null (optional),
trialEnd?: string | null (optional)), and indicate their optionality and brief
type info; keep the single-bullet structure but replace the generic text with a
concise enumerated description so SDK consumers can see which fields were
introduced.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bb1e24b and e3ce0c3.

📒 Files selected for processing (47)
  • .changeset/nasty-colts-travel.md (0 hunks)
  • .changeset/sour-lemons-talk.md (0 hunks)
  • .changeset/thin-wolves-study.md (0 hunks)
  • packages/agent-toolkit/CHANGELOG.md (1 hunks)
  • packages/agent-toolkit/package.json (1 hunks)
  • packages/astro/CHANGELOG.md (1 hunks)
  • packages/astro/package.json (1 hunks)
  • packages/backend/CHANGELOG.md (1 hunks)
  • packages/backend/package.json (1 hunks)
  • packages/chrome-extension/CHANGELOG.md (1 hunks)
  • packages/chrome-extension/package.json (1 hunks)
  • packages/clerk-js/CHANGELOG.md (1 hunks)
  • packages/clerk-js/package.json (1 hunks)
  • packages/elements/CHANGELOG.md (1 hunks)
  • packages/elements/package.json (1 hunks)
  • packages/expo-passkeys/CHANGELOG.md (1 hunks)
  • packages/expo-passkeys/package.json (1 hunks)
  • packages/expo/CHANGELOG.md (1 hunks)
  • packages/expo/package.json (1 hunks)
  • packages/express/CHANGELOG.md (1 hunks)
  • packages/express/package.json (1 hunks)
  • packages/fastify/CHANGELOG.md (1 hunks)
  • packages/fastify/package.json (1 hunks)
  • packages/localizations/CHANGELOG.md (1 hunks)
  • packages/localizations/package.json (1 hunks)
  • packages/nextjs/CHANGELOG.md (1 hunks)
  • packages/nextjs/package.json (1 hunks)
  • packages/nuxt/CHANGELOG.md (1 hunks)
  • packages/nuxt/package.json (1 hunks)
  • packages/react-router/CHANGELOG.md (1 hunks)
  • packages/react-router/package.json (1 hunks)
  • packages/react/CHANGELOG.md (1 hunks)
  • packages/react/package.json (1 hunks)
  • packages/remix/CHANGELOG.md (1 hunks)
  • packages/remix/package.json (1 hunks)
  • packages/shared/CHANGELOG.md (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/tanstack-react-start/CHANGELOG.md (1 hunks)
  • packages/tanstack-react-start/package.json (1 hunks)
  • packages/testing/CHANGELOG.md (1 hunks)
  • packages/testing/package.json (1 hunks)
  • packages/themes/CHANGELOG.md (1 hunks)
  • packages/themes/package.json (1 hunks)
  • packages/types/CHANGELOG.md (1 hunks)
  • packages/types/package.json (1 hunks)
  • packages/vue/CHANGELOG.md (1 hunks)
  • packages/vue/package.json (1 hunks)
💤 Files with no reviewable changes (3)
  • .changeset/sour-lemons-talk.md
  • .changeset/nasty-colts-travel.md
  • .changeset/thin-wolves-study.md
✅ Files skipped from review due to trivial changes (6)
  • packages/expo-passkeys/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/astro/package.json
  • packages/testing/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
  • packages/themes/CHANGELOG.md
🚧 Files skipped from review as they are similar to previous changes (37)
  • packages/nuxt/package.json
  • packages/nextjs/package.json
  • packages/shared/package.json
  • packages/expo-passkeys/package.json
  • packages/vue/package.json
  • packages/localizations/package.json
  • packages/clerk-js/package.json
  • packages/elements/package.json
  • packages/express/package.json
  • packages/themes/package.json
  • packages/testing/package.json
  • packages/elements/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/react/package.json
  • packages/react-router/package.json
  • packages/agent-toolkit/CHANGELOG.md
  • packages/types/CHANGELOG.md
  • packages/agent-toolkit/package.json
  • packages/fastify/package.json
  • packages/expo/package.json
  • packages/chrome-extension/package.json
  • packages/remix/package.json
  • packages/backend/CHANGELOG.md
  • packages/types/package.json
  • packages/localizations/CHANGELOG.md
  • packages/backend/package.json
  • packages/tanstack-react-start/package.json
  • packages/chrome-extension/CHANGELOG.md
  • packages/shared/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
  • packages/vue/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/react/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/remix/CHANGELOG.md
  • packages/react-router/CHANGELOG.md
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/astro/CHANGELOG.md
packages/**/CHANGELOG.md

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Maintain detailed changelogs

Files:

  • packages/astro/CHANGELOG.md
**/*

⚙️ CodeRabbit Configuration File

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • packages/astro/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (1)
packages/astro/CHANGELOG.md (1)

3-11: Changelog entry looks consistent and complete for a patch release

Entry follows repository conventions: correct heading levels, “Patch Changes” section, and dependency versions with commit refs. No content issues spotted.

Comment on lines 3 to 11
## 2.11.1

### Patch Changes

- Updated dependencies [[`df63e76`](https://github.com/clerk/javascript/commit/df63e76f2382c601d9a3b52a3a6dfaba26c4f36f), [`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1)]:
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify package.json version bump and dependency ranges align with the changelog

Confirm packages/astro/package.json is at 2.11.1 and internal deps match the listed updates.

Run this script from the repo root:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="packages/astro/package.json"

if [ ! -f "$FILE" ]; then
  echo "File not found: $FILE" >&2
  exit 1
fi

version=$(jq -r '.version' "$FILE")
backend=$(jq -r '.dependencies["@clerk/backend"] // empty' "$FILE")
types=$(jq -r '.dependencies["@clerk/types"] // empty' "$FILE")
shared=$(jq -r '.dependencies["@clerk/shared"] // empty' "$FILE")

echo "packages/astro/package.json:"
echo "  version:           $version"
echo "  @clerk/backend:    $backend"
echo "  @clerk/types:      $types"
echo "  @clerk/shared:     $shared"
echo

expected_version="2.11.1"
expected_backend="^2.8.0"
expected_types="^4.76.0"
expected_shared="^3.19.1"

status=0

[[ "$version" == "$expected_version" ]] || { echo "Mismatch: version != $expected_version"; status=1; }
[[ "$backend" == "$expected_backend" ]] || { echo "Mismatch: @clerk/backend != $expected_backend"; status=1; }
[[ "$types" == "$expected_types" ]] || { echo "Mismatch: @clerk/types != $expected_types"; status=1; }
[[ "$shared" == "$expected_shared" ]] || { echo "Mismatch: @clerk/shared != $expected_shared"; status=1; }

if [ $status -eq 0 ]; then
  echo "OK: package.json aligns with CHANGELOG"
else
  echo "ERROR: package.json does not align with CHANGELOG" >&2
  exit $status
fi

Length of output: 1498


Fix internal dependency versions in packages/astro/package.json

The changelog for 2.11.1 lists explicit version bumps for our internal Clerk packages, but the manifest is still using workspace:^. Please update the dependencies to match the changelog:

• File: packages/astro/package.json

  • version: ✅ 2.11.1
  • @clerk/backend: change from workspace:^^2.8.0
  • @clerk/types: change from workspace:^^4.76.0
  • @clerk/shared: change from workspace:^^3.19.1

Once these are updated, re-run your build/lockfile to ensure consistency.

🤖 Prompt for AI Agents
In packages/astro/CHANGELOG.md around lines 3 to 11, the changelog shows
explicit version bumps but packages/astro/package.json still uses workspace:^
for internal Clerk deps; update packages/astro/package.json to set
@clerk/backend to ^2.8.0, @clerk/types to ^4.76.0, and @clerk/shared to ^3.19.1
(replacing the workspace:^ entries), then re-run your package manager to update
the lockfile / rebuild to ensure dependency consistency.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
packages/vue/CHANGELOG.md (1)

5-10: Optional: Call out “no runtime changes” for added clarity.

To set user expectations for this patch, consider adding a short note that there are no runtime changes in @clerk/vue, only dependency updates.

Apply this diff to add a brief note:

 ### Patch Changes
+- No runtime changes in @clerk/vue; dependency updates only.
 
 - Updated dependencies [[`173837c`](https://github.com/clerk/javascript/commit/173837c2526aa826b7981ee8d6d4f52c00675da5), [`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1), [`037f25a`](https://github.com/clerk/javascript/commit/037f25a8171888168913b186b7edf871e0aaf197), [`f8b38b7`](https://github.com/clerk/javascript/commit/f8b38b7059e498fef3ac1271346be0710aa31c76)]:
   - @clerk/[email protected]
   - @clerk/[email protected]
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dd4eda6 and 90f5d30.

📒 Files selected for processing (50)
  • .changeset/eighty-plums-listen.md (0 hunks)
  • .changeset/nasty-colts-travel.md (0 hunks)
  • .changeset/sour-lemons-talk.md (0 hunks)
  • .changeset/tender-planets-win.md (0 hunks)
  • .changeset/thin-wolves-study.md (0 hunks)
  • .changeset/wise-hornets-sneeze.md (0 hunks)
  • packages/agent-toolkit/CHANGELOG.md (1 hunks)
  • packages/agent-toolkit/package.json (1 hunks)
  • packages/astro/CHANGELOG.md (1 hunks)
  • packages/astro/package.json (1 hunks)
  • packages/backend/CHANGELOG.md (1 hunks)
  • packages/backend/package.json (1 hunks)
  • packages/chrome-extension/CHANGELOG.md (1 hunks)
  • packages/chrome-extension/package.json (1 hunks)
  • packages/clerk-js/CHANGELOG.md (1 hunks)
  • packages/clerk-js/package.json (1 hunks)
  • packages/elements/CHANGELOG.md (1 hunks)
  • packages/elements/package.json (1 hunks)
  • packages/expo-passkeys/CHANGELOG.md (1 hunks)
  • packages/expo-passkeys/package.json (1 hunks)
  • packages/expo/CHANGELOG.md (1 hunks)
  • packages/expo/package.json (1 hunks)
  • packages/express/CHANGELOG.md (1 hunks)
  • packages/express/package.json (1 hunks)
  • packages/fastify/CHANGELOG.md (1 hunks)
  • packages/fastify/package.json (1 hunks)
  • packages/localizations/CHANGELOG.md (1 hunks)
  • packages/localizations/package.json (1 hunks)
  • packages/nextjs/CHANGELOG.md (1 hunks)
  • packages/nextjs/package.json (1 hunks)
  • packages/nuxt/CHANGELOG.md (1 hunks)
  • packages/nuxt/package.json (1 hunks)
  • packages/react-router/CHANGELOG.md (1 hunks)
  • packages/react-router/package.json (1 hunks)
  • packages/react/CHANGELOG.md (1 hunks)
  • packages/react/package.json (1 hunks)
  • packages/remix/CHANGELOG.md (1 hunks)
  • packages/remix/package.json (1 hunks)
  • packages/shared/CHANGELOG.md (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/tanstack-react-start/CHANGELOG.md (1 hunks)
  • packages/tanstack-react-start/package.json (1 hunks)
  • packages/testing/CHANGELOG.md (1 hunks)
  • packages/testing/package.json (1 hunks)
  • packages/themes/CHANGELOG.md (1 hunks)
  • packages/themes/package.json (1 hunks)
  • packages/types/CHANGELOG.md (1 hunks)
  • packages/types/package.json (1 hunks)
  • packages/vue/CHANGELOG.md (1 hunks)
  • packages/vue/package.json (1 hunks)
💤 Files with no reviewable changes (6)
  • .changeset/tender-planets-win.md
  • .changeset/sour-lemons-talk.md
  • .changeset/thin-wolves-study.md
  • .changeset/nasty-colts-travel.md
  • .changeset/eighty-plums-listen.md
  • .changeset/wise-hornets-sneeze.md
✅ Files skipped from review due to trivial changes (10)
  • packages/astro/package.json
  • packages/types/CHANGELOG.md
  • packages/clerk-js/package.json
  • packages/remix/CHANGELOG.md
  • packages/remix/package.json
  • packages/localizations/CHANGELOG.md
  • packages/testing/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
  • packages/fastify/CHANGELOG.md
🚧 Files skipped from review as they are similar to previous changes (33)
  • packages/types/package.json
  • packages/elements/package.json
  • packages/vue/package.json
  • packages/agent-toolkit/package.json
  • packages/nextjs/package.json
  • packages/shared/package.json
  • packages/themes/package.json
  • packages/chrome-extension/package.json
  • packages/expo-passkeys/CHANGELOG.md
  • packages/testing/package.json
  • packages/react-router/package.json
  • packages/expo/package.json
  • packages/expo/CHANGELOG.md
  • packages/localizations/package.json
  • packages/nuxt/package.json
  • packages/express/package.json
  • packages/expo-passkeys/package.json
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/backend/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
  • packages/fastify/package.json
  • packages/tanstack-react-start/package.json
  • packages/react-router/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/react/package.json
  • packages/shared/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/elements/CHANGELOG.md
  • packages/astro/CHANGELOG.md
  • packages/backend/package.json
  • packages/react/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/vue/CHANGELOG.md
packages/**/CHANGELOG.md

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Maintain detailed changelogs

Files:

  • packages/vue/CHANGELOG.md
**/*

⚙️ CodeRabbit Configuration File

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • packages/vue/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (1)
packages/vue/CHANGELOG.md (1)

3-6: Changelog entry reads well and follows semver.

Version bump to 1.10.1 is clearly scoped as a patch with a dedicated section. Formatting and structure match prior entries.

Comment on lines +7 to +10
- Updated dependencies [[`173837c`](https://github.com/clerk/javascript/commit/173837c2526aa826b7981ee8d6d4f52c00675da5), [`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1), [`037f25a`](https://github.com/clerk/javascript/commit/037f25a8171888168913b186b7edf871e0aaf197), [`f8b38b7`](https://github.com/clerk/javascript/commit/f8b38b7059e498fef3ac1271346be0710aa31c76)]:
- @clerk/[email protected]
- @clerk/[email protected]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify dependency versions are aligned in package.json (deps/peerDeps).

Since this entry calls out @clerk/[email protected] and @clerk/[email protected], please ensure packages/vue/package.json reflects these ranges wherever they’re declared (dependencies, peerDependencies, devDependencies) and that the package version is 1.10.1.

You can run this quick check:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="packages/vue/package.json"
if [[ ! -f "$file" ]]; then
  echo "Missing $file"; exit 1
fi

echo "package.json version:"
jq -r '.version' "$file"

echo "Declared dependency ranges for @clerk/types and @clerk/shared (searching deps, peerDeps, devDeps):"
jq -r '
  {
    dependencies: (.dependencies // {}),
    peerDependencies: (.peerDependencies // {}),
    devDependencies: (.devDependencies // {})
  }' "$file" | jq -r '
    to_entries[] as $scope
    | $scope.value
    | {types: (."@clerk/types"), shared: (."@clerk/shared")}
  '

echo "Note: Ensure these are set to ^4.76.0 and ^3.19.1 respectively (or the intended ranges for this release)."

Length of output: 1056


Update dependency versions in packages/vue/package.json

The version is correctly set to 1.10.1, but both @clerk/types and @clerk/shared in your dependencies are still using workspace:^. They need to match the changelog entry:

• File: packages/vue/package.json
• Change in dependencies:
- @clerk/types: workspace:^^4.76.0
- @clerk/shared: workspace:^^3.19.1

Example diff:

 "dependencies": {
-  "@clerk/types": "workspace:^",
-  "@clerk/shared": "workspace:^",
+  "@clerk/types": "^4.76.0",
+  "@clerk/shared": "^3.19.1",
   // …
 }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Updated dependencies [[`173837c`](https://github.com/clerk/javascript/commit/173837c2526aa826b7981ee8d6d4f52c00675da5), [`ae2e2d6`](https://github.com/clerk/javascript/commit/ae2e2d6b336be6b596cc855e549843beb5bfd2a1), [`037f25a`](https://github.com/clerk/javascript/commit/037f25a8171888168913b186b7edf871e0aaf197), [`f8b38b7`](https://github.com/clerk/javascript/commit/f8b38b7059e498fef3ac1271346be0710aa31c76)]:
- @clerk/types@4.76.0
- @clerk/shared@3.19.1
"dependencies": {
"@clerk/types": "^4.76.0",
"@clerk/shared": "^3.19.1",
// …
}
🤖 Prompt for AI Agents
In packages/vue/CHANGELOG.md around lines 7 to 10: the changelog indicates
dependency bumps to @clerk/[email protected] and @clerk/[email protected] but
packages/vue/package.json still uses workspace:^ for those deps; update
packages/vue/package.json dependencies to replace "workspace:^" for @clerk/types
with "^4.76.0" and for @clerk/shared with "^3.19.1", save the file and run any
lockfile update (npm/yarn/pnpm) to persist the changes.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

♻️ Duplicate comments (1)
packages/astro/CHANGELOG.md (1)

3-11: Verify package.json alignment (version and internal dep ranges, avoid workspace:^)

This entry declares explicit internal versions. Ensure packages/astro/package.json:

  • is version 2.11.1
  • uses caret ranges matching the changelog for internal deps:
    • @clerk/backend: ^2.8.0
    • @clerk/types: ^4.76.0
    • @clerk/shared: ^3.19.1

Run the script below to confirm.

#!/bin/bash
set -euo pipefail

FILE="packages/astro/package.json"

if [ ! -f "$FILE" ]; then
  echo "File not found: $FILE" >&2
  exit 1
fi

version=$(jq -r '.version' "$FILE")
backend=$(jq -r '.dependencies["@clerk/backend"] // empty' "$FILE")
types=$(jq -r '.dependencies["@clerk/types"] // empty' "$FILE")
shared=$(jq -r '.dependencies["@clerk/shared"] // empty' "$FILE")

echo "packages/astro/package.json:"
echo "  version:           $version"
echo "  @clerk/backend:    $backend"
echo "  @clerk/types:      $types"
echo "  @clerk/shared:     $shared"
echo

expected_version="2.11.1"
expected_backend="^2.8.0"
expected_types="^4.76.0"
expected_shared="^3.19.1"

status=0

[[ "$version" == "$expected_version" ]] || { echo "Mismatch: version != $expected_version"; status=1; }
[[ "$backend" == "$expected_backend" ]] || { echo "Mismatch: @clerk/backend != $expected_backend"; status=1; }
[[ "$types" == "$expected_types" ]] || { echo "Mismatch: @clerk/types != $expected_types"; status=1; }
[[ "$shared" == "$expected_shared" ]] || { echo "Mismatch: @clerk/shared != $expected_shared"; status=1; }

if [ $status -eq 0 ]; then
  echo "OK: package.json aligns with CHANGELOG"
else
  echo "ERROR: package.json does not align with CHANGELOG" >&2
  exit $status
fi
🧹 Nitpick comments (2)
packages/agent-toolkit/CHANGELOG.md (2)

7-10: Nit: Keep dependency sub-items in a consistent order

To reduce churn and improve readability, consider ordering the listed dependencies alphabetically (backend, shared, types). Example tweak:


3-11: Tests: confirm coverage for released changes in dependent packages

This package only updates dependency versions, so no tests are needed here. However, since this release publishes upstream changes (e.g., [email protected], [email protected], [email protected]), please verify those packages have corresponding test coverage for the newly exposed APIs and billing updates before publishing.

I can help scan those packages’ recent changes and surface any gaps in test coverage if useful.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 90f5d30 and 9b3ae14.

📒 Files selected for processing (51)
  • .changeset/eighty-plums-listen.md (0 hunks)
  • .changeset/nasty-colts-travel.md (0 hunks)
  • .changeset/rich-drinks-ring.md (0 hunks)
  • .changeset/sour-lemons-talk.md (0 hunks)
  • .changeset/tender-planets-win.md (0 hunks)
  • .changeset/thin-wolves-study.md (0 hunks)
  • .changeset/wise-hornets-sneeze.md (0 hunks)
  • packages/agent-toolkit/CHANGELOG.md (1 hunks)
  • packages/agent-toolkit/package.json (1 hunks)
  • packages/astro/CHANGELOG.md (1 hunks)
  • packages/astro/package.json (1 hunks)
  • packages/backend/CHANGELOG.md (1 hunks)
  • packages/backend/package.json (1 hunks)
  • packages/chrome-extension/CHANGELOG.md (1 hunks)
  • packages/chrome-extension/package.json (1 hunks)
  • packages/clerk-js/CHANGELOG.md (1 hunks)
  • packages/clerk-js/package.json (1 hunks)
  • packages/elements/CHANGELOG.md (1 hunks)
  • packages/elements/package.json (1 hunks)
  • packages/expo-passkeys/CHANGELOG.md (1 hunks)
  • packages/expo-passkeys/package.json (1 hunks)
  • packages/expo/CHANGELOG.md (1 hunks)
  • packages/expo/package.json (1 hunks)
  • packages/express/CHANGELOG.md (1 hunks)
  • packages/express/package.json (1 hunks)
  • packages/fastify/CHANGELOG.md (1 hunks)
  • packages/fastify/package.json (1 hunks)
  • packages/localizations/CHANGELOG.md (1 hunks)
  • packages/localizations/package.json (1 hunks)
  • packages/nextjs/CHANGELOG.md (1 hunks)
  • packages/nextjs/package.json (1 hunks)
  • packages/nuxt/CHANGELOG.md (1 hunks)
  • packages/nuxt/package.json (1 hunks)
  • packages/react-router/CHANGELOG.md (1 hunks)
  • packages/react-router/package.json (1 hunks)
  • packages/react/CHANGELOG.md (1 hunks)
  • packages/react/package.json (1 hunks)
  • packages/remix/CHANGELOG.md (1 hunks)
  • packages/remix/package.json (1 hunks)
  • packages/shared/CHANGELOG.md (1 hunks)
  • packages/shared/package.json (1 hunks)
  • packages/tanstack-react-start/CHANGELOG.md (1 hunks)
  • packages/tanstack-react-start/package.json (1 hunks)
  • packages/testing/CHANGELOG.md (1 hunks)
  • packages/testing/package.json (1 hunks)
  • packages/themes/CHANGELOG.md (1 hunks)
  • packages/themes/package.json (1 hunks)
  • packages/types/CHANGELOG.md (1 hunks)
  • packages/types/package.json (1 hunks)
  • packages/vue/CHANGELOG.md (1 hunks)
  • packages/vue/package.json (1 hunks)
💤 Files with no reviewable changes (7)
  • .changeset/rich-drinks-ring.md
  • .changeset/nasty-colts-travel.md
  • .changeset/wise-hornets-sneeze.md
  • .changeset/sour-lemons-talk.md
  • .changeset/tender-planets-win.md
  • .changeset/thin-wolves-study.md
  • .changeset/eighty-plums-listen.md
✅ Files skipped from review due to trivial changes (13)
  • packages/vue/package.json
  • packages/tanstack-react-start/package.json
  • packages/react/package.json
  • packages/fastify/package.json
  • packages/remix/package.json
  • packages/nextjs/package.json
  • packages/shared/CHANGELOG.md
  • packages/expo/CHANGELOG.md
  • packages/nextjs/CHANGELOG.md
  • packages/react/CHANGELOG.md
  • packages/expo-passkeys/package.json
  • packages/remix/CHANGELOG.md
  • packages/nuxt/CHANGELOG.md
🚧 Files skipped from review as they are similar to previous changes (29)
  • packages/elements/package.json
  • packages/chrome-extension/package.json
  • packages/expo/package.json
  • packages/astro/package.json
  • packages/types/package.json
  • packages/testing/package.json
  • packages/agent-toolkit/package.json
  • packages/shared/package.json
  • packages/nuxt/package.json
  • packages/backend/package.json
  • packages/express/package.json
  • packages/react-router/package.json
  • packages/clerk-js/package.json
  • packages/themes/package.json
  • packages/react-router/CHANGELOG.md
  • packages/vue/CHANGELOG.md
  • packages/chrome-extension/CHANGELOG.md
  • packages/elements/CHANGELOG.md
  • packages/backend/CHANGELOG.md
  • packages/localizations/package.json
  • packages/fastify/CHANGELOG.md
  • packages/express/CHANGELOG.md
  • packages/localizations/CHANGELOG.md
  • packages/types/CHANGELOG.md
  • packages/tanstack-react-start/CHANGELOG.md
  • packages/expo-passkeys/CHANGELOG.md
  • packages/clerk-js/CHANGELOG.md
  • packages/themes/CHANGELOG.md
  • packages/testing/CHANGELOG.md
🧰 Additional context used
📓 Path-based instructions (3)
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/astro/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
packages/**/CHANGELOG.md

📄 CodeRabbit Inference Engine (.cursor/rules/development.mdc)

Maintain detailed changelogs

Files:

  • packages/astro/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
**/*

⚙️ CodeRabbit Configuration File

If there are no tests added or modified as part of the PR, please suggest that tests be added to cover the changes.

Files:

  • packages/astro/CHANGELOG.md
  • packages/agent-toolkit/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (2)
packages/astro/CHANGELOG.md (1)

3-11: Changelog entry looks correct for 2.11.1

packages/agent-toolkit/CHANGELOG.md (1)

3-11: Changelog entry looks correct and aligned with release intent

New 0.1.20 section accurately documents dependency bumps to @clerk/[email protected], @clerk/[email protected], and @clerk/[email protected], matching the PR objectives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant