Skip to content

fix(clerk-js): Only render toggle if plan is not the default plan#8031

Merged
kylemac merged 3 commits intorelease/core-2from
ds.fix/core-2-always-free-default
Mar 10, 2026
Merged

fix(clerk-js): Only render toggle if plan is not the default plan#8031
kylemac merged 3 commits intorelease/core-2from
ds.fix/core-2-always-free-default

Conversation

@dstaley
Copy link
Member

@dstaley dstaley commented Mar 10, 2026

Description

This PR fixes an issue where the monthly/annual toggle was rendering on free plans. This is due to API changes where annual_monthly_amount is no longer null for free plans (indicating that they support annual billing).

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Mar 10, 2026

🦋 Changeset detected

Latest commit: 701ec10

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

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo 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

@vercel
Copy link

vercel bot commented Mar 10, 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 Mar 10, 2026 7:50pm

Request Review

@dstaley dstaley requested a review from a team March 10, 2026 18:39
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 10, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7f1a8011-fb1c-45bc-81f6-131fc7e836e9

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ds.fix/core-2-always-free-default

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 10, 2026

Open in StackBlitz

@clerk/agent-toolkit

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

@clerk/astro

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

@clerk/backend

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

@clerk/chrome-extension

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

@clerk/clerk-js

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

@clerk/dev-cli

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

@clerk/elements

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

@clerk/clerk-expo

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

@clerk/expo-passkeys

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

@clerk/express

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

@clerk/fastify

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

@clerk/localizations

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

@clerk/nextjs

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

@clerk/nuxt

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

@clerk/clerk-react

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

@clerk/react-router

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

@clerk/remix

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

@clerk/shared

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

@clerk/tanstack-react-start

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

@clerk/testing

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

@clerk/themes

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

@clerk/types

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

@clerk/upgrade

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

@clerk/vue

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

commit: 701ec10

@kylemac kylemac merged commit aaf8cfe into release/core-2 Mar 10, 2026
42 of 44 checks passed
@kylemac kylemac deleted the ds.fix/core-2-always-free-default branch March 10, 2026 20:35
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.

4 participants