npm / @swc/cli
@swc/cli
What changed in @swc/cli 0.7 to 0.8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 behavior and defaults1 tooling3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@swc/cli 0.83 changes
Behavior and default changes 1
The CLI skips writing output when it is byte-identical to the existing file.
Tooling 1
TypeScript declarations are now published with the package, allowing TypeScript users to consume its types.
Fixes and other changes 1
Output is written through a temporary file and renamed so watch consumers do not read a partially written file.
@swc/cli 0.72 changes
Fixes and other changes 2
Fixes the CLI ignoring --source-file-name.
Watch mode now includes newly added files.