swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
ci: require changesets for crate changes (#12583) **Description:** PRs that change `crates/**` can currently omit a release changeset. Add a pull request workflow that fails when those changes do not include an added or modified `.changeset/*.md` file. PRs without crate changes pass without a changeset. Deleted changesets do not satisfy the check. Check out the PR head with full history and use `git diff --quiet` with the event's base and head SHAs. Compare from their merge base (`BASE_SHA...HEAD_SHA`) so base-only changes are excluded. Disable rename detection so moving a file out of `crates/` still requires a changeset, and a renamed changeset counts as an addition. Git errors fail the check. No GitHub file-list API or pull request token permission is needed. Validation of this change: - `node --test scripts/github/check-changeset.test.mjs`: passed (7 tests using temporary Git repositories, covering file changes, changeset status, moves, diverged branches, unusual filenames, and CLI failures). - `actionlint -shellcheck= .github/workflows/changeset.yml`: passed. - `cargo fmt --all`: passed. - `cargo clippy --all --all-targets -- -D warnings`: passed with existing workspace/MSRV configuration warnings.
main
5 hours ago
fix(es/minifier): preserve spread iteration when dropping calls to pure callees
baltasarblanco:fix/pure-call-spread-iteration-1744d5f-v2
18 hours ago
ci: Check changesets with git diff
kdy1/require-crate-changesets
19 hours ago
ci: Require changesets for crate changes
kdy1/require-crate-changesets
19 hours ago
chore: Add changeset
kdy1/fix-minifier-version-range
19 hours ago
fix(es/minifier): release utils API required by registry builds (#12582) **Description:** `swc_ecma_minifier` 63.0.3 calls `ExprExt::is_pure_new_callee`, but the release that added this method did not bump `swc_ecma_utils`. The minifier still accepts the published utils 35.0.3, which does not provide this method and fails to compile. Add the missing release changeset. Release utils as a minor version for the new public method, bump `swc_core` as minor because it re-exports this API, and release the minifier as a patch. The existing release tool updates dependency requirements when it bumps utils, so the next minifier release requires the new utils version. This change takes effect when the crates are released. Validation (changeset-only change): - `cargo fmt --all`: passed. - `cargo clippy --all --all-targets -- -D warnings`: passed (existing MSRV configuration warnings). - `cargo test -p swc-releaser --test changesets`: passed. - `cargo set-version -p swc_ecma_utils 35.1.0 --dry-run`: passed; confirmed the minifier requirement changes from 35.0.3 to 35.1.0. **Related issue (if exists):** None; reported through build logs.
main
19 hours ago
fix(es/minifier): Preserve new async and generator (#12558) **Related issue:** - A following of #12416
main
1 day ago
fix(es/typescript): analyze runtime containers before erasure Resolve enum values, alias dependencies and runtime requirements against shared declaration identities before syntax erasure. Track AST declaration order and execution regions, including eager decorator evaluation. Recognize immediately invoked functions through parentheses while retaining type wrappers as analysis boundaries. Evaluate initializers with TypeScript rules independently of optional member-read inlining. Substitute eligible enum reads while the original AST is intact, then pass immutable facts to lowering. Preserve reference operations and distinct emitted object identities, and accumulate namespace instantiation without repeated subtree scans.
fix/ts-namespace-enum-bindings
1 day ago
Latest Branches
CodSpeed Performance Gauge
+4%
fix(es/minifier): preserve spread iteration when dropping calls to pure callees
#12585
6 days ago
ae7559d
baltasarblanco:fix/pure-call-spread-iteration-1744d5f-v2
CodSpeed Performance Gauge
+3%
ci: require changesets for crate changes
#12583
19 hours ago
26ac08e
kdy1/require-crate-changesets
CodSpeed Performance Gauge
+2%
fix(es/minifier): release utils API required by registry builds
#12582
19 hours ago
7bd024e
kdy1/fix-minifier-version-range
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs