chore: remove deprecated APIs - #4657
Draft
cixzhang wants to merge 5 commits into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
requested review from
cvkxx,
ernestt,
kentonquatman and
rubyycheung
August 2, 2026 17:49
cixzhang
force-pushed
the
chore/remove-deprecated-apis
branch
from
August 3, 2026 01:53
d09b876 to
36a2c8f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes long-deprecated compatibility APIs across core and CLI now that the replacement surfaces and codemods have been available for a release cycle.
What changed
transforms/nextfor the newly removed APIs that still needed migration coverage.Migration
Run
astryx upgradebefore updating to migrate the supported replacement paths for authoring imports, Dialog logical positions, Switch label spacing, Table root props, TopNavHeading heading links, Grid responsive columns, NavMenu item aliases, lab CodeBlock imports, and deprecated theme transition token imports.Testing
pnpm -F @astryxdesign/core typecheckpnpm exec vitest run packages/core/src/Dialog/Dialog.test.tsx packages/core/src/TopNav/TopNav.test.tsx packages/core/src/Grid/Grid.test.tsx packages/core/src/Switch/Switch.test.tsx packages/core/src/Table/Table.test.tsx packages/core/src/NavMenu/NavHeadingMenu.test.tsx packages/core/src/theme/defineTheme.test.tspnpm exec vitest run packages/cli/foundation/discovery/component-discovery.test.mjs packages/cli/clients/cli/commands/component.test.mjs packages/cli/clients/cli/commands/json-contract.test.mjspnpm exec vitest run packages/cli/assets/codemods/transforms/next/__tests__/next-codemods.test.mjs packages/cli/clients/cli/commands/json-contract.test.mjspnpm exec vitest run packages/core/src/Table/plugins/rowExpansion/useTableRowExpansion.test.tsx packages/cli/assets/codemods/transforms/next/__tests__/next-codemods.test.mjsnode scripts/check-changesets.mjs && node scripts/sync-exports.js --check && node scripts/check-package-boundaries.jsNote:
pnpm -F @astryxdesign/cli typecheck:strictcurrently reports unrelated theme-build API type errors on main after the rebase; the removed-template prop errors from this PR are fixed.