swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
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
8 hours 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
9 hours ago
chore(ci): allow TSRX contributors
codex/add-tsrx-contributors
9 hours ago
chore: Add changeset
codex/fix-native-cli-source-map-paths
9 hours ago
fix(typescript): erase fully constant merged const enums
fix/ts-namespace-enum-bindings
11 hours 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
13 hours ago
refactor(typescript): borrow namespace locals and flatten targets Borrow namespace-local identities from the semantic declaration store and carry resolved handles into context construction. Peel assignment-target parentheses and type wrappers iteratively before visiting the terminal reference.
fix/ts-namespace-enum-bindings
14 hours ago
fix: direct unapproved contributors to open issues (#12479) <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> **Description:** Unapproved PR authors currently receive instructions to contact a maintainer for contributor-list inclusion and reopen their PR. Update the automatic notice and CONTRIBUTING.md to ask them to open an issue describing the bug or proposed improvement instead, with a link to the issue chooser. Mark the fork-and-pull workflow as applying to accounts that meet the PR requirements, and update the notice test to verify the new guidance and link. Preserve existing contributor eligibility, automatic closure, and notice deduplication. Validation: - Contributor-policy action tests: all 87 passed with Node 24. - `cargo fmt --all` - `cargo clippy --all --all-targets -- -D warnings` - `git diff --check`; verified the contributing guide's issue link and PR requirements anchor. No Rust crates or published packages change, so no release changeset is needed. **Related issue (if exists):** [Automatic closure notice on #12477](https://github.com/swc-project/swc/pull/12477#issuecomment-5955240813)
main
17 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
chore(ci): allow TSRX contributors
#12482
9 hours ago
1c52be7
codex/add-tsrx-contributors
CodSpeed Performance Gauge
0%
fix(cli): resolve out-dir source map paths relative to output
#12481
9 hours ago
17607e2
codex/fix-native-cli-source-map-paths
CodSpeed Performance Gauge
+2%
fix(es/typescript): Fix merged namespace bindings and enum evaluation
#12455
11 hours ago
e6ffc59
fix/ts-namespace-enum-bindings
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs