Skip to content

chore!: remove deprecated Devtool* APIs#3

Merged
antfu merged 1 commit into
mainfrom
antfu/cleanup-deprecated-apis
May 12, 2026
Merged

chore!: remove deprecated Devtool* APIs#3
antfu merged 1 commit into
mainfrom
antfu/cleanup-deprecated-apis

Conversation

@antfu
Copy link
Copy Markdown
Contributor

@antfu antfu commented May 12, 2026

Summary

Removes the backward-compat shims left over from the DevtoolDevframe rename. Dropped exports: connectDevtool (from devframe/client), defineDevtool, and the seven Devtool* type aliases — DevtoolRuntime, DevtoolDeploymentKind, DevtoolCliOptions, DevtoolSpaOptions, DevtoolBrowserContext, DevtoolSetupInfo, DevtoolDefinition. Their Devframe* replacements have been in place since the rebrand and the two functions already emitted runtime deprecation warnings telling users to migrate. tsnapi snapshots regenerated to reflect the trimmed public surface.

Test plan

  • pnpm build
  • pnpm typecheck
  • pnpm vitest run (283 passed, snapshots clean)
  • pnpm lint

Drop the backward-compat shims left over from the `Devtool` -> `Devframe`
rename: `connectDevtool`, `defineDevtool`, and the seven `Devtool*` type
aliases. Their `Devframe*` replacements have been in place since the
rebrand and the functions already emitted runtime deprecation warnings.
@antfu antfu changed the title chore: remove deprecated Devtool* APIs chore!: remove deprecated Devtool* APIs May 12, 2026
@antfu antfu merged commit 90f8675 into main May 12, 2026
7 checks passed
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.

1 participant