@swc/core
1.16.22 · 5 Nov 2026Apache-2.061.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @swc/core From 1.15.18 to 1.16.22
21 releases in betweenevery note read
Reading releases, release notes and advisories…
- 3
- changes to make
- 0
- advisories fixed
- 92
- new
- 306
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.16.2
- Breaking1.15.24
- Breaking1.15.21
Security
- 1.16.22
(deps) Update Wasmtime and zstd for security advisories
- 1.15.40
Save CI caches only on main
- 1.15.40
Update rkyv and Rust dependencies
- 1.15.40
Harden PR workflow permissions
Release by release
- Security
(deps) Update Wasmtime and zstd for security advisories
- New
(es/transforms) Avoid refcount contention on atom!("arguments") in renamer and DCE
- Fixed
(ci) Break the publish dependency cycle and guard it in CI
- Fixed
(es/fixer) Preserve the parentheses of string literal statements so they do not become directives
- Security
- Fixed
(ci) Install rustfmt before tagging releases
- Fixed
(deps) Update cargo (major)
- Fixed
(deps) Update npm
- Fixed
(es/codegen) Escape inline script markers in regex literals
- Fixed
- New
(es/minifier) Inline async function used only once
- New
(es/minifier) Implement more rules for if-break
- New
(es/parser) Streamline numeric separator stripping
- New
(hstr) Allow Atom::as_str to inline across crates
- New
- Fixed
(bindings) Fall back to a safe cache root on Unix
- Fixed
(es/minifier) Check decl for side effect
- Fixed
- New
(ci) Restrict pull requests to trusted contributors
- New
(es/codegen) Support configurable output indentation
- New
(es/compat) Skip empty block-scoping renames
- New
(es/parser) Scan template literals with byte search
- New
- New
(node) Optimize macOS native addon first load
- Fixed
(swc_config) Show why an options object failed to deserialize
- New
- New
(bindings) Add private compressed native addon foundation
- New
(bindings) Gate native npm releases on verified carriers
- New
(es/minifier) Honor
/*#__PURE__*/on property reads and destructuring patterns - New
(es/minifier) Account for shorthand expansion when inlining
- New
- Breaking
(es/decorators) Drop params from getter replacing decorated private method
- New
(es/minifier) Evaluate Math.floor, Math.ceil, Math.round and Mat…
- New
(es/parser) Add opt-in parser-only TSRX lowering
- Fixed
(es/compat) Preserve for-of var binding scope
- Breaking
4 other lines we could not sort, mostly version bumps
- 1.16.12
(es/minifier) Check Map/Set param is array
- 1.16.12
(es/minifier) Revert #12384
- 1.15.41
(es/decorators) Revert decorator initializer ordering
- 1.15.41
(swc_common) Revert sourcemap multibyte mapping clamp
112 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.