swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(es/fixer): preserve parentheses in JSX sequence expressions (#12485) **Description:** Preserve parentheses around sequence expressions inside JSX expression containers and spread children across returns, expression statements, `if` bodies, and arrow bodies. **Related issue:** Closes #12484
main
7 hours ago
chore: Add changeset
codex/fix-jsx-sequence-expressions-12484
8 hours ago
fix(cli): resolve out-dir source map paths relative to output (#12481) **Description:** The native Rust CLI currently retains cwd-relative source names in maps emitted with `--out-dir`. For example, `lib/src/index.js.map` refers to `src/index.ts` instead of `../../src/index.ts`, so the path resolves inside the output tree. Resolve each output destination before transformation and pass it through `Options.output_path`. Compute source-map names separately from normalized input and output paths to preserve input filenames, JSX development metadata, and explicit source-name/root overrides. This covers external and inline maps as well as watch rebuilds. Validation: - Confirmed the new reproduction test fails before the fix. - `cargo test -p swc_cli_impl`: 42 tests passed, including 12 new regression tests. - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` **Related issue (if exists):** Fixes #12480
main
1 day ago
chore(ci): allow TSRX contributors (#12482) <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> **Description:** Add `trueadm` to a dedicated `tsrx` contributor group so TSRX pull requests and CI runs are accepted by the contributor policy. The account is identified by the TSRX introduction commit `61ff097706` and merged PR #12120. Extend the existing contributor-policy fixtures to verify that `trueadm` and `TRUEADM` are allowed in the `tsrx` group without repository permission lookups. Also assert that the repository allowlist contains the account in that group. No Rust crates or release metadata are affected, so no release changeset is needed. Validation: - Initialized submodules with `git submodule update --init --recursive`. - Ran `npm ci --ignore-scripts --no-audit --no-fund` and `npm test` in `.github/actions/contributor-policy` under Node.js 24; all 89 tests passed. - `cargo fmt --all` passed. - `cargo clippy --all --all-targets -- -D warnings` passed. - `git diff --check` passed. **Related issue (if exists):** Follow-up to #12463 and #12467; TSRX implementation: #12120.
main
1 day ago
chore(ci): allow TSRX contributors
codex/add-tsrx-contributors
1 day ago
chore: Add changeset
codex/fix-native-cli-source-map-paths
1 day ago
fix(typescript): erase fully constant merged const enums
fix/ts-namespace-enum-bindings
1 day ago
refactor(es/typescript): carry configuration and stream bindings Pass named configuration to the emitter and collect binding identifiers directly into semantic storage. Preserve the matched namespace identifier instead of recovering it through an assertion.
fix/ts-namespace-enum-bindings
2 days ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/fixer): preserve parentheses in JSX sequence expressions
#12485
8 hours ago
b64a46d
codex/fix-jsx-sequence-expressions-12484
CodSpeed Performance Gauge
0%
chore(ci): allow TSRX contributors
#12482
1 day ago
1c52be7
codex/add-tsrx-contributors
CodSpeed Performance Gauge
0%
fix(cli): resolve out-dir source map paths relative to output
#12481
1 day ago
17607e2
codex/fix-native-cli-source-map-paths
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs