Skip to content

chore(elements,agent-toolkit): Publish superseded packages as deprecated - #10310

Merged
dstaley merged 2 commits into
release/core-2from
manovotny/deprecate-elements-agent-toolkit-core-2
Nov 12, 2026
Merged

dstaley merged 2 commits into
release/core-2from
manovotny/deprecate-elements-agent-toolkit-core-2

Conversation

@manovotny

Copy link
Copy Markdown
Contributor

Description

Same fix as #9863, for two more packages main no longer publishes. @clerk/elements was dropped in Core 3 (#7271), and @clerk/agent-toolkit was removed in #8330. Both have a deprecated latest, but every Core 2 release since has published newer undeprecated versions, so a bare npm install resolves to @clerk/elements@0.24.21 or @clerk/agent-toolkit@0.2.36 with no warning.

This sets deprecated in both package.json files, and the changeset patch-releases them so the newest versions carry it right away. Nothing else cascades. @clerk/elements reuses the message its latest already shows. @clerk/agent-toolkit gets "This package is no longer supported." instead of the message on its latest, which is npm's generic "Contact Support at npmjs.com" text.

The versions already published (0.24.14–0.24.21 and 0.2.31–0.2.36) still need a one-off npm deprecate after this merges.

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: package metadata

🤖 Generated with Claude Code

Same fix as #9863 for two more packages main no longer publishes. Their
`latest` versions are deprecated, but every Core 2 release since adds an
undeprecated version that a bare `npm install` resolves to with no warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 12, 2026 5:57pm UTC
swingset Error Error Nov 12, 2026 5:57pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@changeset-bot

changeset-bot Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f56092c

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

This PR includes changesets to release 2 packages
Name Type
@clerk/elements Patch
@clerk/agent-toolkit 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

@pkg-pr-new

pkg-pr-new Bot commented Nov 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/agent-toolkit

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

@clerk/astro

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

@clerk/backend

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

@clerk/chrome-extension

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

@clerk/clerk-js

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

@clerk/dev-cli

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

@clerk/elements

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

@clerk/clerk-expo

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

@clerk/expo-passkeys

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

@clerk/express

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

@clerk/fastify

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

@clerk/localizations

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

@clerk/nextjs

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

@clerk/nuxt

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

@clerk/clerk-react

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

@clerk/react-router

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

@clerk/remix

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

@clerk/shared

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

@clerk/tanstack-react-start

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

@clerk/testing

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

@clerk/themes

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

@clerk/types

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

@clerk/upgrade

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

@clerk/vue

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

commit: f56092c

@blacksmith-sh

blacksmith-sh Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Matches Published versions carry npm deprecation

Before, both packages publish with no deprecation and install silently; after, npm shows and warns with the PR's two messages on install.

Merge-base

Install warns: before

This PR f56092c1

Install warns: after

Also checked · 1 match

Matches Changeset patches only the two packages

Caution

New issue found while testing

One-off deprecate list misses latest versions

@clerk/elements@0.24.22 and @clerk/agent-toolkit@0.2.37 are live on npm undeprecated, and a bare install resolves to them, but the PR body's npm deprecate ranges stop at 0.24.21 and 0.2.36.

Proof on f56092c1 · Did Proof get it right? Yes · No

View full Proof report · React 👎 or comment @codesmith dismiss this proof to dismiss

@dstaley
dstaley merged commit ac7d919 into release/core-2 Nov 12, 2026
43 of 45 checks passed
@dstaley
dstaley deleted the manovotny/deprecate-elements-agent-toolkit-core-2 branch November 12, 2026 18:02

This branch had an error being deployed

1 failed and 1 active deployments
Preview – clerk-js-sandbox — f56092c1 Deployed Nov 12, 2026 by vercel[bot]
Preview – swingset — f56092c1 Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants