Repository navigation
chore: remove deprecated APIs - #4657
Merged
Merged
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
cixzhang
marked this pull request as ready for review
August 4, 2026 20:33
cixzhang
requested review from
ejhammond,
humbertovirtudes,
imdreamrunner and
josephfarina
as code owners
August 4, 2026 20:33
cixzhang
force-pushed
the
chore/remove-deprecated-apis
branch
from
August 4, 2026 20:36
a7437e1 to
ce73013
Compare
josephfarina
approved these changes
Aug 4, 2026
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR Modified ComponentsCalendar (@astryxdesign/core) · View in Storybook
CommandPalette (@astryxdesign/core) · View in Storybook
DateInput (@astryxdesign/core) · View in Storybook
DateRangeInput (@astryxdesign/core) · View in Storybook
DateTimeInput (@astryxdesign/core) · View in Storybook
Dialog (@astryxdesign/core) · View in Storybook
Grid (@astryxdesign/core) · View in Storybook
MultiSelector (@astryxdesign/core) · View in Storybook
NavMenu (@astryxdesign/core) · View in Storybook
Selector (@astryxdesign/core) · View in Storybook
Switch (@astryxdesign/core) · View in Storybook
Table (@astryxdesign/core) · View in Storybook
TopNav (@astryxdesign/core) · View in Storybook
TreeList (@astryxdesign/core) · View in Storybook
Bundle Size Summary
Accessibility AuditStatus: 1 accessibility violation(s) found — 1 critical. DateRangeInput - 1 issue(s)
Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
The deprecated `href` prop was removed from TopNavHeading in this PR, but five sandbox usages still passed it, breaking `next build` (build-sandbox): mega-menu, topnav-menu, doc-nav — heading links now use headingHref. Verified with a full `pnpm -F @astryxdesign/sandbox build` (compiles, typechecks, 692 static pages exported).
cixzhang
force-pushed
the
chore/remove-deprecated-apis
branch
from
August 5, 2026 04:14
ce73013 to
2efab47
Compare
cixzhang
enabled auto-merge (squash)
August 5, 2026 04:15
This branch was successfully deployed
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.