swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/parser): align TypeScript expression lookahead (#12535) **Description:** The parser incorrectly treats `<<` in `value as typeof count << 1` as the start of type arguments. Preserve shift boundaries, recognize instantiation expressions before compound assignments, and keep import type arguments on their owning node. Align `as` and `satisfies` continuations with TS7 by reporting recoverable errors when type erasure would change binary operator grouping. Preserve the full expression AST and subsequent statements.
main
2 minutes ago
fix(react-compiler): preserve intrinsic JSX tags during binding renames Keep standalone lowercase JSX tags unchanged when applying binding renames to retained source. Continue renaming component references. Add regression coverage for shadowed constants, callback parameters, and component tags.
jimmyhmiller:fix/react-compiler-intrinsic-jsx-renames
7 hours ago
fix(es/parser): align TypeScript expression lookahead Allow instantiations before compound assignments while preserving regexp and right-angle ambiguities. Leave shifts outside non-import type queries and keep import arguments on their owning nodes. Report cast erasure conflicts as recoverable diagnostics while retaining complete expression ASTs. Use parser diagnostics in strip and transform modes and remove redundant assertion checks.
fix/ts-parser-lookahead
9 hours ago
chore: add changeset for TypeScript namespace and enum semantics
fix/ts-namespace-enum-bindings
9 hours ago
fix(es/parser): align TypeScript expression lookahead Allow instantiations before compound assignments while preserving regexp and right-angle ambiguities. Leave shifts outside non-import type queries and keep import arguments on their owning nodes. Report cast erasure conflicts as recoverable diagnostics while retaining complete expression ASTs. Validate strip-only input through the parser and remove redundant assertion checks.
fix/ts-parser-lookahead
11 hours ago
fix(es/parser): align TypeScript expression lookahead Allow instantiations before compound assignments while preserving regexp and right-angle ambiguities. Leave shifts outside non-import type queries and keep import arguments on their owning nodes. Report TypeScript cast erasure conflicts as recoverable diagnostics. Preserve expression ASTs and check nested casts in a single linear pass.
fix/ts-parser-lookahead
12 hours ago
fix(native-addon): use ProgramData after unsafe Windows profile caches (#12534) **Description:** Windows native addon loading fails when both `%LOCALAPPDATA%\swc` and `%USERPROFILE%\.swc-cache` grant another SID directory replacement rights. The loader now tries `%ProgramData%` as a third cache root, while retaining ancestor ACL checks and a protected per-user cache namespace. It retries only cache failures; integrity errors stop loading. Windows fixtures cover the reported SID pattern, all-root failures, custom and temporary modes, and live Node loading. **BREAKING CHANGE:** None. **Related issue (if exists):** Closes #12527 **Validation:** - `cargo fmt --all` — passed. - `cargo clippy --all --all-targets -- -D warnings` — passed. - `cargo test -p swc_native_addon` and `cargo test -p binding_native_addon` — passed on macOS with a canonical temporary directory. - `pnpm build:dev && pnpm test` in `packages/core` — passed; 119 tests passed, 3 skipped. - [Native carrier lifecycle CI](https://github.com/swc-project/swc/actions/runs/38506562565) — passed on Linux, macOS, Windows x64, and Windows ARM64 for source commit `cce40d58b454bc2731efe468ce2b9874417b49c7`. The subsequent changeset commit adds release metadata only. Local validation was not rerun after it. ## AI assistance and human review AI was used to prepare these changes. Human-reviewed by @kdy1. - Harness: Codex desktop
main
22 hours ago
chore: Add changeset
kdy1/fix-native-cache-12527
22 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(react-compiler): preserve intrinsic JSX tags during binding renames
#12536
1 day ago
4508b30
jimmyhmiller:fix/react-compiler-intrinsic-jsx-renames
CodSpeed Performance Gauge
0%
fix(es/parser): align TypeScript expression lookahead
#12535
1 day ago
563acc2
fix/ts-parser-lookahead
CodSpeed Performance Gauge
+1%
fix(es/typescript): Fix merged namespace bindings and enum evaluation
#12455
10 hours ago
7d52e47
fix/ts-namespace-enum-bindings
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs