Skip to content

fix(ui): update MIN_CLERK_JS_VERSION to 6.0.0 for Core 3 release#7827

Open
jacekradko wants to merge 1 commit intomainfrom
jacek/user-4603-update-min-clerk-js-version
Open

fix(ui): update MIN_CLERK_JS_VERSION to 6.0.0 for Core 3 release#7827
jacekradko wants to merge 1 commit intomainfrom
jacek/user-4603-update-min-clerk-js-version

Conversation

@jacekradko
Copy link
Member

@jacekradko jacekradko commented Feb 12, 2026

WAITING to release this when Core 3 is done

Summary

  • Updates MIN_CLERK_JS_VERSION from 5.114.0 to 6.0.0 in @clerk/ui
  • Removes the associated TODO comment
  • Updates the changeset description

Context

The MIN_CLERK_JS_VERSION constant was temporarily set to 5.114.0 because the version check (#7747) was merged before the major version bump. This updates it to 6.0.0 for the Core 3 release.

Resolves USER-4603

Test plan

  • pnpm build --filter @clerk/ui passes
  • pnpm test --filter @clerk/ui passes (all 109 test files, 1548 tests)
  • Existing tests use the MIN_CLERK_JS_VERSION constant dynamically, so they automatically validate the new value

Summary by CodeRabbit

  • Chores
    • Updated minimum Clerk JS version requirement to 6.0.0 for the UI package, ensuring compatibility with the latest core release.

@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Feb 12, 2026 1:42am

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 12, 2026

⚠️ No Changeset found

Latest commit: 3f92a12

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 2 packages
Name Type
@clerk/ui Patch
@clerk/chrome-extension Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 12, 2026

Open in StackBlitz

@clerk/agent-toolkit

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

@clerk/astro

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

@clerk/backend

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

@clerk/chrome-extension

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

@clerk/clerk-js

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

@clerk/dev-cli

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

@clerk/expo

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

@clerk/expo-passkeys

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

@clerk/express

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

@clerk/fastify

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

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@7827

@clerk/localizations

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

@clerk/nextjs

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

@clerk/nuxt

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

@clerk/react

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

@clerk/react-router

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

@clerk/shared

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

@clerk/tanstack-react-start

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

@clerk/testing

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

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@7827

@clerk/upgrade

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

@clerk/vue

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

commit: 3f92a12

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

📝 Walkthrough

Walkthrough

The pull request updates the MIN_CLERK_JS_VERSION constant in packages/ui/src/constants.ts from '5.114.0' to '6.0.0' and includes a corresponding changeset entry. A TODO comment preceding the constant was also removed. The change aligns the minimum required Clerk JS version with the major version bump before the Core 3 release.

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly and accurately describes the main change: updating MIN_CLERK_JS_VERSION to 6.0.0 for the Core 3 release, which matches the primary objective.
Linked Issues check ✅ Passed The PR successfully addresses the primary coding requirement from USER-4603: updating MIN_CLERK_JS_VERSION from 5.114.0 to 6.0.0 in packages/ui/src/constants.ts, ensuring compatibility with Core 3.
Out of Scope Changes check ✅ Passed All changes are directly related to the linked issue objective: updating the version constant, removing an associated TODO comment, and updating the changeset description. No unrelated changes detected.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

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

🤖 Fix all issues with AI agents
In `@packages/ui/src/constants.ts`:
- Line 1: MIN_CLERK_JS_VERSION is set to '6.0.0' which isn't published; change
the constant MIN_CLERK_JS_VERSION in constants.ts to a currently released stable
`@clerk/clerk-js` version (or revert to the previous value) so the min-version
gate won't fail, and add a TODO comment referencing the intended bump so it can
be updated to '6.0.0' once the stable release is published; ensure any tests
that assert this constant are updated accordingly.

@@ -1,5 +1,4 @@
// TODO(USER-4603): Bump to '6.0.0' before Core 3 release
export const MIN_CLERK_JS_VERSION = '5.114.0';
export const MIN_CLERK_JS_VERSION = '6.0.0';
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

@clerk/clerk-js 6.0.0 npm package release date published

💡 Result:

A stable @clerk/clerk-js@6.0.0 release does not appear to be published on npm (it’s not listed among published versions). The earliest 6.0.0 pre-release builds (e.g., 6.0.0-canary... / 6.0.0-snapshot...) were published starting January 22, 2026 (with additional 6.0.0 pre-releases on January 23–24, 2026). [1]


🏁 Script executed:

#!/bin/bash
# Search for tests that reference MIN_CLERK_JS_VERSION
rg -n "MIN_CLERK_JS_VERSION" --type ts --type tsx --type js --type jsx -i

Repository: clerk/javascript

Length of output: 87


🏁 Script executed:

#!/bin/bash
# Search for any references to clerk-js version checking in tests
rg -n "clerk.?js.*version|6\.0\.0" --type ts --type tsx --type js --type jsx -i | head -30

Repository: clerk/javascript

Length of output: 87


🏁 Script executed:

#!/bin/bash
# Search for MIN_CLERK_JS_VERSION references in tests
rg -n "MIN_CLERK_JS_VERSION" | grep -i test

Repository: clerk/javascript

Length of output: 705


🏁 Script executed:

#!/bin/bash
# Search for any version gate checks or MIN_CLERK_JS_VERSION usage
rg -n "MIN_CLERK_JS_VERSION" -A 3 -B 1

Repository: clerk/javascript

Length of output: 4073


🏁 Script executed:

#!/bin/bash
# Check if there are tests that validate version compatibility
rg -n "clerk.?js.*version|versionGate|minVersion" -i | head -20

Repository: clerk/javascript

Length of output: 2654


Blocker: @clerk/clerk-js 6.0.0 is not yet published on npm.

Setting MIN_CLERK_JS_VERSION to '6.0.0' will cause version check failures for users since only pre-release versions (6.0.0-canary/snapshot) from January 2026 currently exist. Confirm this PR merges when the stable 6.0.0 release is available, or use a released version instead.

(Test coverage for the min-version gate exists and is comprehensive—this concern only addresses version availability.)

🤖 Prompt for AI Agents
In `@packages/ui/src/constants.ts` at line 1, MIN_CLERK_JS_VERSION is set to
'6.0.0' which isn't published; change the constant MIN_CLERK_JS_VERSION in
constants.ts to a currently released stable `@clerk/clerk-js` version (or revert
to the previous value) so the min-version gate won't fail, and add a TODO
comment referencing the intended bump so it can be updated to '6.0.0' once the
stable release is published; ensure any tests that assert this constant are
updated accordingly.

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