Skip to main content
Docs

Upgrading to Clerk Core 2

Overview

In April 2024, we updated Clerk's SDKs to include Core 2. This new core includes:

  • 💅 Redesigned and improved component UIs.
  • 🔪 The 401 & "flash of white page" that was visible sometimes when syncing auth state was eliminated.
  • 🧹 A large number of smaller housekeeping changes, bugfixes, and improvements.
  • 📊 Telemetry to allow us to better determine feature usage and priority (easy opt-out if you don't like this)

Component redesign

The new version ships with improved design and UX across all of Clerk's UI components. If you have used the appearance prop or tokens for a custom theme, you will likely need to make some adjustments to ensure your styling is still looking great. If you're using the localization prop you will likely need to make adjustments to account for added or removed localization keys.

Note

If you are not customizing the appearance of your components, or using localization, you can skip this section. If you are, we recommend using our CLI (npx @clerk/upgrade) to scan for changes required as part of the component redesign more quickly.

The sections below contain more info on each change made to the customization ids and localization keys for reference. Regardless of how thoroughly you have reviewed the following information, we still recommend that you ensure that you have taken some time to manually look through each of your views to ensure that everything looks good still.

Appearance Changes

SDK Guides

Core 2 brings both UI changes and breaking code changes, so each SDK has been updated to a new major version. We expect upgrades to take less than 30 minutes, and are providing a CLI tool to assist with the process. Select your SDK below to get started:

Note that the Go, and Ruby SDKs do not yet have a Core 2 release ready - if you are using any of these SDKs there is nothing actionable right now.

Feedback

What did you think of this content?

Last updated on