Skip to content

fix(ui): set MIN_CLERK_JS_VERSION to current clerk-js version#7747

Merged
jacekradko merged 1 commit intomainfrom
jradko/fix-ui-min-version
Feb 3, 2026
Merged

fix(ui): set MIN_CLERK_JS_VERSION to current clerk-js version#7747
jacekradko merged 1 commit intomainfrom
jradko/fix-ui-min-version

Conversation

@jacekradko
Copy link
Member

@jacekradko jacekradko commented Feb 3, 2026

Summary

  • Sets MIN_CLERK_JS_VERSION to 5.114.0 (current clerk-js version) instead of 6.0.0
  • The version check was merged before the major version bump, breaking the dev sandbox
  • This ensures compatibility until the major release while still protecting against older v5 versions

Test plan

  • Run pnpm dev:sandbox and verify no version mismatch error
  • Verify version check still works for versions < 5.114.0

Summary by CodeRabbit

  • Bug Fixes

    • Updated the minimum Clerk JS version requirement in the UI package to align with the current library version.
  • Chores

    • Added a changeset to record a patch-level version alignment and note a future version bump.

@vercel
Copy link

vercel bot commented Feb 3, 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 3, 2026 8:06pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 3, 2026

🦋 Changeset detected

Latest commit: cff91c0

The changes in this PR will be included in the next version bump.

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

Not sure what this means? Click here to learn what changesets are.

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

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 3, 2026

📝 Walkthrough

Walkthrough

A changeset file was added documenting a patch for @clerk/ui. The MIN_CLERK_JS_VERSION constant in packages/ui/src/constants.ts was changed from '6.0.0' to '5.114.0', and a TODO comment referencing bumping to '6.0.0' before Core 3 release was added. No other code or public API declarations were modified.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: setting MIN_CLERK_JS_VERSION to the current clerk-js version (5.114.0 instead of 6.0.0), which is the primary fix in this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 3, 2026

Open in StackBlitz

@clerk/agent-toolkit

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

@clerk/astro

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

@clerk/backend

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

@clerk/chrome-extension

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

@clerk/clerk-js

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

@clerk/dev-cli

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

@clerk/expo

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

@clerk/expo-passkeys

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

@clerk/express

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

@clerk/fastify

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

@clerk/localizations

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

@clerk/nextjs

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

@clerk/nuxt

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

@clerk/react

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

@clerk/react-router

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

@clerk/shared

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

@clerk/tanstack-react-start

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

@clerk/testing

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

@clerk/ui

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

@clerk/upgrade

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

@clerk/vue

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

commit: cff91c0

@@ -1,4 +1,4 @@
export const MIN_CLERK_JS_VERSION = '6.0.0';
export const MIN_CLERK_JS_VERSION = '5.114.0';
Copy link
Member

Choose a reason for hiding this comment

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

Let's add a TODO here to bump to the next major

@jacekradko jacekradko force-pushed the jradko/fix-ui-min-version branch from c0b0737 to cff91c0 Compare February 3, 2026 20:05
@jacekradko jacekradko merged commit 7cbfd96 into main Feb 3, 2026
37 of 40 checks passed
@jacekradko jacekradko deleted the jradko/fix-ui-min-version branch February 3, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants