What swc-project/swc shipped
Written by FoxPlug from the repository's own releases; not affiliated with SWC. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/swc-project/swc; SWC did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Release facts, with sources
- Weeks written on this page: 9, from the week of September 21, 2026 to the week of November 16, 2026.
- Releases read in those weeks: 46, of which 15 are marked as pre-releases by their name.
- Merged pull requests read: 191, by 16 different authors. The most in one week was 32, in the week of November 9, 2026. Bot and dependency-update pull requests are left out.
Newest releases read whose names do not mark them as pre-releases:
- November 20, 2026: swc_core@v85.0.0
- November 18, 2026: swc_core@v84.2.0
- November 16, 2026: swc_core@v84.1.2
- November 14, 2026: swc_core@v84.1.1
- November 13, 2026: swc_core@v84.1.0
Sources: the repository's releases and its merged pull requests. FoxPlug reads at most 40 items a repository a week, so a busy week holds more than is counted here.
Week of November 16, 2026
What shipped
- Swc_core v85.0.0 released with fixes for regex flag handling, new expression call syntax, and React Compiler source maps. Release
- Fixed regex v flag and modifiers to lower correctly for older browser targets like Safari 16.4 and Chrome 111. Pull request #12811
- Fixed parenthesized new expressions followed by calls to print correctly as (new F)() instead of new F(). Pull request #12812
- React Compiler now uses forked crates to emit proper source maps for compiled functions instead of only mapping the export header. Pull request #12817
- Exposed validateExhaustiveMemoizationDependencies and validateHooksUsage React Compiler options so eslintSuppressionRules takes effect. Pull request #12808
- Fixed React Compiler rewriting character references in JSX text to literal characters when they should stay as written. Pull request #12820
- Minifier now correctly removes unused classes that only mutate their own static properties. Pull request #12800
- Removed unnecessary default-features across dependencies to reduce @swc/core binary size by 422KB. Pull request #11208
- Parser no longer performs exponential speculative parsing with nested TypeScript and Flow probes by parsing postfix elements once. Pull request #12737
- CI now caches Clippy builds and fixes Rust during local builds, reducing workspace Clippy time from 244 seconds to 55 seconds. Pull request #12794
Why it matters
This week brings critical fixes for regex compatibility with older browsers, correctness issues in new expression calls and JSX handling, and improvements to React Compiler output quality. The release also includes significant performance wins for both compilation and CI infrastructure.
Changelog entry
- Fix(es/preset-env): Lower regexp v flag and modifiers for compatibility with Safari 16.4, Chrome 111 and similar targets Pull request #12811
- Fix(es): Keep the call on a new expression without arguments, so (new F)() does not become new F() Pull request #12812
- Fix(es/react-compiler): Use forked React Compiler crates to emit proper source maps for compiled functions Pull request #12817
- Feat(es/react-compiler): Expose validateExhaustiveMemoizationDependencies and validateHooksUsage options for eslintSuppressionRules Pull request #12808
- Fix(es/react-compiler): Keep JSX text character references as written instead of decoding to literal characters Pull request #12820
- Fix(es/minifier): Drop unused classes that only mutate their own static properties Pull request #12800
- Perf: Disable unnecessary default-features to reduce @swc/core binary size by 422KB Pull request #11208
- Fix(es/parser): Avoid exponential speculative parsing with nested TypeScript and Flow probes Pull request #12737
- Fix(es/minifier): Preserve object spread in seq expressions for correct side effects Pull request #12733
- Fix(es/minifier): Preserve unresolved shorthand property reads that throw ReferenceError Pull request #12774
- Fix(es/minifier): Reserve kept class names when mangling to prevent name collisions Pull request #12782
- Ci: Cache Clippy builds and fix Rust configuration during local builds, reducing Clippy time by 77% Pull request #12794
Swc v85.0.0 ships with better regex support for older browsers, fixes for new expression calls, improved React Compiler source maps, and 422KB smaller binaries. Try it now.
Swc v85.0.0 is out with several important fixes. Regex patterns with the v flag now lower correctly for Safari 16.4 and Chrome 111. Parenthesized new expressions followed by calls print correctly again. React Compiler now generates proper source maps for all compiled functions. ESLint suppression rules work as expected. Plus, we reduced binary size by 422KB through dependency optimization and sped up CI Clippy checks by 77%. Update today to get better browser compatibility and development experience.
Week of November 9, 2026
What shipped
- Darwin ARM64 addons are 8.27% smaller for SWC and 9.92% smaller for Rspack, with 11-12% less decode time and 29.4 MB less compression-table memory. Pull request #12740
- The minifier now marks named and default imports as externally mutable to preserve live import snapshots and evaluation order, noted as a breaking change. Pull request #12734
- The minifier no longer inlines an IIFE in a loop when a nested statement declares a var that iterations would otherwise share. Pull request #12779
- The minifier keeps IIFEs that declare preserved names, so inlined IIFEs cannot declare the same kept function name in one scope. Pull request #12781
- With
keep_classnamesenabled, class self-references in static initializers are preserved instead of being rewritten to an uninitialized outer variable. Pull request #12768 - The ES5 block-scoping transform writes loop variables back to the outer loop when only a closure in the loop body assigns to them. Pull request #12731
- Regexes that reuse a group name in different alternatives are lowered when the target cannot parse the duplicated name. Pull request #12728
- The parser now reports JSX child parse errors instead of silently dropping the children. Pull request #12757
- Jsс.experimental.emitIsolatedDts now produces.d.ts files from the CLI and the @swc/core and @swc/wasm bindings. Pull request #12727
- The CLI emits.d.mts and.d.cts declaration files for.mjs and.cjs outputs so consumers can resolve them. Pull request #12729
Why it matters
This week brought a batch of minifier correctness fixes around IIFEs, class self-references and imports, plus parser fixes for JSX and Flow types. Declaration emit now works from the CLI and bindings, and the.d.ts output extension matches.mjs and.cjs files. The release line moved through swc_core 84.0.3 to 84.1.1.
Changelog entry
- Perf(bindings): 8.27% smaller SWC Darwin ARM64 addons, 11-12% less decode time and 29.4 MB less compression-table memory Pull request #12740
- Fix(es/minifier): preserve live import snapshots; breaking change Pull request #12734
- Fix(es/minifier): keep IIFE in a loop when a nested statement declares a var Pull request #12779
- Fix(es/minifier): keep IIFEs that declare preserved names Pull request #12781
- Fix(es/minifier): preserve class self-references with
keep_classnamesPull request #12768 - Feat(es/minifier): remove more trailing returns with values known to be undefined Pull request #12723
- Fix(es/compat): write back loop variables assigned inside closures Pull request #12731
- Fix(es/preset-env): lower duplicate named capturing groups Pull request #12728
- Fix(es/parser): propagate JSX child parse errors Pull request #12757
- Fix(es/typescript): enable isolated-dts for CLI and bindings Pull request #12727
- Fix(cli): emit.d.mts and.d.cts declarations for.mjs and.cjs outputs Pull request #12729
- Fix(es/module): resolve jsc.paths fallback targets against baseUrl Pull request #12726
This week in SWC: minifier fixes for IIFEs, class self-references and live imports, parser fixes for JSX child errors and Flow types,.d.mts and.d.cts output for.mjs and.cjs, and isolated declaration emit working from the CLI and bindings.
This week in SWC: the minifier keeps IIFEs with preserved names, avoids inlining loop IIFEs that declare vars, preserves class self-references with keep_classnames, and treats named and default imports as externally mutable. The parser now reports JSX child parse errors and handles several Flow type cases. Declaration emit with jsc.experimental.emitIsolatedDts works from the CLI and bindings, and.mjs and.cjs outputs get.d.mts and.d.cts files. swc_core moved from 84.0.3 to 84.1.1.
Week of November 2, 2026
What shipped
- The minifier no longer reassociates inexact float multiplications, so expressions like x * 24 * 60 * 60 keep their original evaluation order. Pull request #12657
- Version 1.16.22 was released. Release
- Swc_core 84.0.0 was published. Release
- The @swc/helpers package was published at 0.5.24, including the Map and Set spread fix. Release
- Sourcemap flattening now preserves every source when sourcesContent is missing or short, instead of dropping sources and their mappings. Pull request #12680
- The minifier now folds conditions that depend on variables declared without an initializer and never assigned. Pull request #12650
- Sequence expression optimizations now preserve this and inferred names, including super property access. Pull request #12693
- The minifier now drops unused callbacks passed to known empty functions in comma expressions. Pull request #12684
- Unicode property escape expansion for targets without native support was fixed for v mode and bare inverted property escapes. Pull request #12651
- The fixture test helper now ignores hidden ancestor directories of the workspace, so passing fixtures are no longer moved out of the repository. Pull request #12652
Why it matters
This week brings minifier correctness fixes that change generated output in edge cases: float multiplication order, unused callbacks and never-assigned variables in conditions. Sourcemap flattening and unicode regexp expansion were also fixed where output could previously diverge from the input. Test pipelines for the swc crate were unified and fixture organization was extended to compat, TypeScript and React transforms, and publishing dependencies were untangled so crate releases can proceed.
Changelog entry
- Fix(es/minifier): do not reassociate inexact float multiplications Pull request #12657
- Fix(es/minifier): drop unused callbacks passed to empty functions Pull request #12684
- Fix(es/minifier): fold never-assigned variables in conditions Pull request #12650
- Fix(es/minifier): preserve this and inferred names in sequence expressions Pull request #12693
- Fix(sourcemap): preserve sources without embedded content when flattening Pull request #12680
- Fix(es/regexp): fix unicode property escape expansion for v and bare \P{...} Pull request #12651
- Fix(testing): ignore hidden ancestors of the workspace in
unignore_fixturePull request #12652 - Fix(ci): break the publish dependency cycle and guard it in CI Pull request #12681
- Release: v1.16.22 Release
- Release: swc_core@v84.0.0 Release
- Release: @swc/helpers@v0.5.24 Release
- Test(swc): unify compiler test pipelines and reorganize transform fixtures Pull request #12676
This week in SWC: minifier keeps float multiplication order and drops unused callbacks to empty functions; sourcemap flattening keeps every source; unicode property escapes fixed for v and bare inverted escapes; test pipelines unified; swc_core 84 and @swc/helpers 0.5.24 publishe
This week in SWC: the minifier no longer reassociates inexact float multiplications and now drops unused callbacks passed to known empty functions; it also folds conditions on never-assigned variables. Sourcemap flattening preserves sources when sourcesContent is missing, and unicode property escape expansion was fixed for v mode and bare inverted escapes. Sequence expression optimizations now preserve this and inferred names. On the test side, compiler test pipelines were unified and transform fixtures organized for compat, TypeScript and React. swc_core 84.0.0 and @swc/helpers 0.5.24 were published, and the publish dependency cycle was broken and guarded in CI.
Week of October 26, 2026
What shipped
- Fixed merged TypeScript namespace and enum bindings so references no longer resolve to outer lexical bindings or stay unresolved, and enum lowering no longer constant-folds write targets or strips needed runtime objects. Pull request #12455
- Fixed the fixer to preserve parentheses on string literal statements such as ("use strict"); so they do not become directives and change strictness. Pull request #12633
- Fixed the minifier to treat spread arguments of pure calls as side effects, so the iteration state in a call like noop(...it) is no longer assumed unused. Pull request #12585
- Fixed member object analysis to track assignment aliases, including on the right of plain and logical assignments and inside conditional or short-circuit branches. Pull request #12621
- Fixed a minifier bug that could drop the rest argument iterator, closing the reported reproduction. Pull request #12604
- Fixed codegen with
inline_scriptenabled to escape closing script tags and HTML comment markers inside regex literals. Pull request #12614 - Fixed the Map and Set helpers to pass the collection to Array.from instead of the type name string, and added execution fixtures for spread and array destructuring. Pull request #12616
- Fixed the minifier producing duplicate let declarations for same-named classes moved into one scope when
keep_classnamesis set. Pull request #12607 - Fixed the mangler renaming lexical loop bindings so moved outer references inside for-of and for-in right-hand expressions are no longer captured. Pull request #12608
- Fixed the minifier to mark variables assigned in a member object as accessed and mutated, so arrays mutated after assignment are not incorrectly inlined. Pull request #12543
Why it matters
This week is mostly minifier and TypeScript correctness fixes: spread arguments in pure calls, member object aliases, rest argument iterators, and loop binding capture all previously produced wrong or invalid output. TypeScript users get fixes for merged namespace and enum bindings, and inline_script codegen no longer emits unescaped script-closing markers. Dependency and release tooling updates keep the published packages building and shipping.
Changelog entry
- Fix(es/typescript): fix merged namespace bindings and enum evaluation Pull request #12455
- Fix(es/fixer): preserve parentheses of string literal statements so they do not become directives Pull request #12633
- Fix(es/minifier): treat spread arguments of pure calls as side effects Pull request #12585
- Fix(es/minifier): track assignment aliases in member objects Pull request #12621
- Fix(es/minifier): preserve rest arg iterator Pull request #12604
- Fix(es/codegen): escape inline script markers in regex literals Pull request #12614
- Fix(es/helpers): convert Map and Set values to arrays Pull request #12616
- Fix(es/minifier): avoid duplicate preserved class bindings Pull request #12607
- Fix(es/minifier): avoid capturing outer references in lexical loops Pull request #12608
- Fix(es/minifier): mark variables assigned in a member object as accessed and mutated Pull request #12543
- Fix(deps): update Wasmtime and zstd for security advisories Pull request #12638
- Release:
swc_corev83.0.0 Release
This week: fixes for merged TypeScript namespace and enum bindings, spread arguments of pure calls, member object aliases, rest arg iterators, duplicate class bindings, lexical loop capture, and script marker escaping in regex literals.
This week's SWC work focused on correctness in the minifier and TypeScript transform. Fixes landed for merged namespace and enum bindings, spread arguments of pure calls being treated as side effects, assignment aliases in member objects, rest argument iterators, duplicate class bindings under keep_classnames, and outer references captured in lexical loops. codegen now escapes closing script tags and HTML comment markers in regex literals when inline_script is enabled, and the Map and Set helpers convert the collection rather than the type name. Dependency and release tooling updates were also included.
Week of October 19, 2026
What shipped
- The minifier now keeps a function body's directive prologue when merging if returns, so directives such as use strict are no longer dropped. Pull request #12580
- Function declarations alone in sloppy-mode loop bodies are wrapped so minified output still parses. Pull request #12567
- Property reads of trimLeft and trimRight on string literals are no longer replaced with void 0. Pull request #12574
- Type erasure in the TypeScript fast strip now preserves runtime boundaries, including optional fields named get, set or static. Pull request #12575
- Rest array identity is preserved when the rest parameter's reference runs more than once. Pull request #12546
- Optional get and set fields in TypeScript classes are no longer treated as accessor keywords. Pull request #12559
- The TypeScript parser recovers non-entity expressions in heritage clauses and reports recoverable diagnostics. Pull request #12552
- A pull request workflow now fails when changes under crates are made without an added or modified changeset. Pull request #12583
- A missing changeset was added so published minifier and utils versions compile together. Pull request #12582
- The README sponsors section now includes a sponsor logo with dark and light images and a fallback. Pull request #12590
Why it matters
This week's fixes target places where minified output could change behavior: lost strict mode, unparseable loop bodies, and incorrect handling of string methods and rest arrays. TypeScript users get parser and fast strip fixes for optional members and heritage clauses. A new CI check also requires changesets for crate changes, which affects how releases are prepared.
Changelog entry
- Fix(es/minifier): keep the directive prologue when merging if returns Pull request #12580
- Fix(es/fixer): wrap function declarations in sloppy-mode loop bodies Pull request #12567
- Fix(es/minifier): keep trimLeft and trimRight on string literals Pull request #12574
- Fix(ts/fast-strip): preserve runtime boundaries during type erasure Pull request #12575
- Fix(es/minifier): preserve rest array identity when its reference runs more than once Pull request #12546
- Fix(es/parser): do not treat optional get and set fields as accessors Pull request #12559
- Fix(es/parser): recover non-entity expressions in TypeScript heritage clauses Pull request #12552
- Feat(es/minifier): implement more rules for if-break Pull request #12561
- Fix(es/minifier): preserve new async and generator Pull request #12558
- Ci: require changesets for crate changes Pull request #12583
- Fix(es/minifier): release utils API required by registry builds Pull request #12582
- Docs: add sponsor logo to README Pull request #12590
This week in SWC: minifier fixes for directive prologues, sloppy-mode loop bodies, trimLeft/trimRight and rest arrays, plus parser and fast strip fixes for TypeScript. Crates changes now require a changeset.
This week in SWC brings several fixes where minified output could change behavior: directive prologues are kept when merging if returns, function declarations in sloppy-mode loop bodies are wrapped so output still parses, trimLeft and trimRight on string literals are no longer replaced with void 0, and rest array identity is preserved when its reference runs more than once. For TypeScript, fast strip preserves runtime boundaries, optional get and set fields are no longer read as accessors, and heritage clauses with non-entity expressions recover with diagnostics. CI now requires a changeset for crate changes.
Week of October 12, 2026
What shipped
- Atom::as_str gained an inline hint so it can be inlined across crates, with patch changesets for hstr and
swc_core. Pull request #12522 - The sequential inliner in the minifier now bounds how many literal expressions it copies, preventing runaway time and memory on chains of constants. Pull request #12521
- The minifier can now inline an async function that is only used once, a breaking change. Pull request #12416
- Compact codegen now preserves TypeScript token boundaries so adjacent operators no longer merge into invalid syntax or change the parsed expression. Pull request #12523
- Codegen now parenthesizes typed and optional arrow parameters, return annotations and generic arrows so minified TypeScript output stays valid. Pull request #12503
- With minify enabled, codegen now emits a space after a division when the right operand starts with a regex literal, avoiding an accidental line comment. Pull request #12544
- Compat transforms now scope private access modes to each member, so nested private method calls and getter reads are no longer lowered with the wrong helper. Pull request #12526
- The parser strips numeric separators more efficiently by writing into a buffer preallocated to the input length. Pull request #12515
- Out-of-range and empty JSX numeric entities such as out-of-range references and empty references now remain literal text instead of triggering a panic. Pull request #12524
- The native cache on Linux now accepts overflow-owned cache ancestors when the UID map confirms the mapping, restoring the user cache and tmp fallback. Pull request #12547
Why it matters
This week's changes mostly tighten correctness in the parts of the toolchain people hit every day: the parser, the fixer and the codegen now keep TypeScript grouping, optional chains, token boundaries and JSX entities intact instead of emitting invalid or changed syntax. The minifier also gains a bound on inliner copying and support for single-use async functions, while the native caches become more reliable on Linux and Windows.
Changelog entry
- Hstr: add an inline hint to Atom::as_str for cross-crate inlining. Pull request #12522
- Minifier: bound literal expressions copied by the sequential inliner. Pull request #12521
- Minifier: inline an async function that is used only once. Pull request #12416
- Codegen: preserve TypeScript token boundaries in compact output. Pull request #12523
- Codegen: parenthesize typed and optional arrow parameters and return annotations. Pull request #12503
- Codegen: emit a space after division when the right operand starts with a regex literal. Pull request #12544
- Compat: scope private access modes to each member. Pull request #12526
- Parser: streamline numeric separator stripping with a preallocated buffer. Pull request #12515
- Parser: keep invalid JSX numeric entities as literal text instead of panicking. Pull request #12524
- Parser: parse enum bodies with their own await context. Pull request #12506
- Native: allow unmapped overflow owners in Linux cache ancestors when the UID map confirms them. Pull request #12547
- Native-addon: use ProgramData as a third cache root after unsafe Windows profile caches. Pull request #12534
This week: minifier inliner bounded against runaway copies, single-use async functions inlined, codegen preserves TypeScript token boundaries and typed arrow parentheses, parser handles JSX numeric entities safely, and native caches work on more Linux and Windows setups.
This week's work focused on correctness across the parser, fixer, codegen and minifier. Codegen now preserves TypeScript token boundaries in compact output, parenthesizes typed arrow parameters and separates division from a following regex literal. The fixer and parser handle optional chains, TypeScript grouping, enum and namespace await contexts, and invalid JSX numeric entities without panicking. The minifier bounds literal copying in the sequential inliner and can inline an async function used only once. Native cache handling was improved for Linux overflow-owned cache ancestors and a Windows ProgramData fallback.
Week of October 5, 2026
What shipped
- Fixed code generation so a TypeScript non-null assertion is not merged with a following equality or assignment operator. Pull request #12504
- Fixed code generation so TSX generic arrow functions can no longer be printed in a form that is ambiguous with JSX. Pull request #12505
- Native addon loading on Unix now retries in the canonicalized system temporary directory when the user cache root is unusable. Pull request #12500
- Minifier now checks declarations for side effects, a breaking change that fixes an incorrect removal. Pull request #12501
- Raised the minimum supported Rust version for the native addon crates to 1.85 so the Windows MSRV check can parse dependencies. Pull request #12491
- Repaired an empty crate release changeset so cargo bump could update crate versions again. Pull request #12499
- Set release build flags so s390x builds assemble psm with the z10 baseline instead of failing. Pull request #12489
- Removed cold-load performance limits on every OS from the shared runtime validator and final release gate. Pull request #12502
- Added a repository rule against using issue-linked pull requests or other people's SWC forks as references. Pull request #12513
- Reverted configurable output indentation after internal discussion decided to leave it unsupported. Pull request #12493
Why it matters
This week fixed code generation bugs that could change the meaning of TypeScript non-null assertions and produce ambiguous TSX, and the minifier now checks declarations for side effects. It also unblocked releases by fixing the crate changeset, raising the native addon MSRV, correcting s390x build flags, and removing cold-load performance limits that blocked native releases.
Changelog entry
- Fix(es/codegen): preserve non-null token boundaries Pull request #12504
- Fix(es/codegen): disambiguate TSX generic arrows Pull request #12505
- Fix(bindings): fall back to a safe cache root on Unix Pull request #12500
- Fix(es/minifier): check decl for side effect Pull request #12501
- Fix(ci): raise native addon MSRV to Rust 1.85 Pull request #12491
- Fix(ci): repair empty crate release changeset Pull request #12499
- Fix(ci): match Rust's z10 baseline in s390x release builds Pull request #12489
- Chore(ci): remove cold-load performance limits on all OSes Pull request #12502
- Docs: prohibit references to issue-linked PRs and external SWC forks Pull request #12513
- Revert feat(es/codegen)!: support configurable output indentation Pull request #12493
- Release: v1.16.18 Release
- Release: swc_core@v82.0.2 Release
This week: non-null assertion and TSX generic arrow codegen fixes, a minifier side-effect check, Unix native binding cache fallback, native addon MSRV raised to Rust 1.85, s390x release build fix, and a repaired crate release changeset.
This week brought several fixes across the compiler. Code generation now preserves non-null assertion boundaries so equality and assignment operators are not merged, and TSX generic arrow output is disambiguated from JSX. The minifier checks declarations for side effects. On bindings, native addon loading on Unix falls back to the system temporary directory when the cache root is unusable. Release work included repairing an empty crate release changeset, raising the native addon MSRV to Rust 1.85, matching Rust's z10 baseline in s390x builds, and removing cold-load performance limits on all OSes.
Week of September 28, 2026
What shipped
- JSX sequence expressions now preserve parentheses in expression containers and spread correctly across returns, statements, and arrow bodies. Pull request #12485
- Consecutive loop labels are now preserved when lowering for...of loops instead of moving outer labels to the enclosing try block. Pull request #12472
- Source map paths in --out-dir output are now resolved relative to the output directory instead of the current working directory. Pull request #12481
- Template literal scanning now uses byte search to skip 32-byte batches of ordinary text instead of scanning one byte at a time. Pull request #12474
- For-await loops in native async functions now lower correctly for targets like Chrome 60 that support async but not async iteration. Pull request #12414
- Minifier now accounts for shorthand property expansion when inlining to reduce bundle size in complex object scenarios. Pull request #12428
- React compiler mode now applies fast checks before AST conversion to prevent stack overflow on long call chains in non-React files. Pull request #12473
- Configuration deserialization errors now report the actual serde error for object values instead of a generic message. Pull request #12441
- Windows native binding loading now falls back to a secure profile cache when the default LocalAppData cache has permission issues. Pull request #12452
- Unix native addon loading can now skip cache root security checks with SWC_NATIVE_BINDING_CACHE_SKIP_SECURITY_CHECK=1 for isolated environments. Pull request #12469
Why it matters
This week includes fixes for JSX rendering, source maps, loop transformations, and template parsing that improve correctness across common use cases. Performance improvements to template scanning and minification, plus better error messages for configuration issues, help developers debug problems faster. Native binding loading improvements address real deployment pain points in Windows and Unix environments.
Changelog entry
- Fix(es/fixer): preserve parentheses in JSX sequence expressions Pull request #12485
- Fix(es/compat): preserve consecutive loop labels when lowering for...of Pull request #12472
- Fix(cli): resolve out-dir source map paths relative to output Pull request #12481
- Perf(es/parser): scan template literals with byte search Pull request #12474
- Fix(es/preset-env): lower for-await in native async functions Pull request #12414
- Feat(es/minifier): account for shorthand expansion when inlining Pull request #12428
- Fix(react-compiler): protect long call chains from stack overflow Pull request #12473
- Fix(
swc_config): show why an options object failed to deserialize Pull request #12441 - Fix(bindings): fall back to a secure Windows profile cache Pull request #12452
- Fix(bindings): allow opting out of Unix cache root security checks Pull request #12469
SWC shipped fixes for JSX parentheses, for-await lowering, source maps, loop labels, template scanning, and minifier inlining. Plus improvements to native bindings for Windows and Unix deployments.
This week's SWC updates focus on correctness and performance across compilation and tooling. JSX sequence expressions now preserve parentheses correctly, consecutive loop labels stay intact during transformation, and for-await properly lowers in async functions. Template literal scanning got a 32-byte vectorized boost, and the minifier better accounts for property expansion. Configuration errors now show real serde messages. Windows and Unix native binding loading both gained fallback paths for permission issues.
Week of September 21, 2026
What shipped
- Released
swc_corev81.0.0 Release - Fixed HTML minification to preserve adjacent script and SVG script elements, preventing evaluation boundary changes and CSP hash mismatches Pull request #12411
- Added parsing support for optional renamed Flow component parameters like foo as bar?: T Pull request #12410
- Fixed HTML parser to preserve customizable select markup and rich option content instead of dropping them as stray tags Pull request #12413
- Fixed minifier bug where arrow functions with this references were incorrectly inlined when used as arguments Pull request #12409
- Fixed tree shaker to keep function and class declarations whose self-references are dropped Pull request #12401
- Fixed minifier to mark properties assigned through destructuring targets as mutated, preventing invalid JavaScript generation Pull request #12398
- Added support for escaped keywords as property names, such as ({ br\u0065ak: 42 }).br\u0065ak Pull request #12358
- Completed Node.js/Amaro REPL support APIs so static imports properly declare bindings for later REPL inputs Pull request #12395
- Reverted per-site pure comment handling for property reads and unused member access optimization Pull request #12419
Why it matters
This week addresses critical correctness issues in minification, HTML parsing, and property handling that were producing invalid or unexpected JavaScript. Parser improvements for Flow syntax and escaped keywords expand language coverage, while the new REPL support completes a Node.js integration feature.
Changelog entry
- Swc_core v81.0.0 released Release
- Fix(html/minifier): Preserve adjacent script and SVG script elements during minification Pull request #12411
- Fix(es/parser): Parse optional renamed Flow component parameters Pull request #12410
- Fix(html/parser): Preserve customizable select markup and rich option content Pull request #12413
- Fix(es/minifier): Avoid inlining arrow functions with this when used as arguments Pull request #12409
- Fix(es/parser): Allow escaped keywords as property and import/export names Pull request #12358
- Fix(es/minifier): Keep function and class declarations with dropped self-references Pull request #12401
- Fix(es/minifier): Mark properties assigned through destructuring targets as mutated Pull request #12398
- Fix(nodejs): Complete Amaro REPL support APIs for Node.js imports Pull request #12395
- Revert(es/minifier): Revert per-site pure comment handling and unused member access optimization Pull request #12419
Swc v81.0.0 ships fixes for script element merging, destructuring property mutations, function self-references, and escaped keywords. HTML parsing now preserves select markup correctly.
Swc v81.0.0 is out with significant correctness fixes: HTML minifier now preserves adjacent script elements to maintain evaluation boundaries and CSP hashes, the minifier tracks destructuring assignments to prevent invalid code generation, and the tree shaker keeps functions whose self-references are removed. Parser improvements add Flow component parameter support and escaped keyword handling.