Skip to content

build: update swc_core to 85.0.0 - #690

Merged
Donny/강동윤 (kdy1) merged 5 commits into
mainfrom
kdy1/update-swc-core-2
Nov 20, 2026
Merged

Donny/강동윤 (kdy1) merged 5 commits into
mainfrom
kdy1/update-swc-core-2

Conversation

@kdy1

Copy link
Copy Markdown
Member

Update swc_core from 84.0.1 to 85.0.0 and refresh the SWC dependencies and Cargo.lock. Apply the script's major bumps to all 16 publishable Rust crates and align their local dependency requirements.

Apply patch bumps to all 19 publishable npm plugins in packages/ and contrib/, including the three 0.x packages. Changesets generated the versions and changelogs. Regenerate the READMEs from their templates, including the contrib GraphQL README.

Wasm host compatibility

The upstream AST changes affect comments and the directness_matters helper. The plugin proxy source changes affect comments, and the plugin macro source is identical. The repository's Wasm tests and a noop round trip passed on the locked @swc/core 1.16.0 host. These results support npm patch releases. Other framework hosts remain unverified. SWC plugin compatibility guide

Script execution

bash scripts/update-swc-core.sh updated the Rust dependencies, bumped the Rust crates, regenerated the lockfile, and pushed successfully. I canceled the Changesets prompt after it captured an incomplete package selection. The script continued after the prompt reported ERR_USE_AFTER_CLOSE. I then supplied the full changeset, ran pnpm changeset version, regenerated the READMEs, and pushed the completed release changes.

Local validation

  • cargo test --locked --workspace passed with 547 tests passed and 8 ignored.
  • pnpm test passed on @swc/core 1.16.0. The initial run could not copy a Wasm file from the relocated Cargo build directory. The successful run restored the path expected by the package scripts.
  • A new noop Wasm build preserved JavaScript, TypeScript, and JSX output on @swc/core 1.16.0.
  • Verified all npm versions and changelog entries, all template-generated READMEs, and the Rust versions, local dependency requirements, and lockfile entries.
  • git diff --check origin/main HEAD passed.

Releases:
  @swc-contrib/plugin-graphql-codegen-client-preset@0.37.3
  @swc-contrib/mut-cjs-exports@20.0.3
  @swc/plugin-emotion@20.0.3
  @swc/plugin-experimental-feature-flags@0.24.3
  @swc/plugin-formatjs@15.0.3
  @swc/plugin-import-meta-env@0.2.3
  @swc/plugin-jest@18.0.3
  @swc/plugin-loadable-components@17.0.3
  @swc/plugin-noop@18.0.3
  @swc/plugin-prefresh@18.0.3
  @swc/plugin-react-remove-properties@18.0.3
  @swc/plugin-relay@18.0.3
  @swc/plugin-remove-console@18.0.3
  @swc/plugin-styled-components@18.0.4
  @swc/plugin-styled-jsx@20.0.3
  @swc/plugin-swc-confidential@18.0.3
  @swc/plugin-swc-magic@19.0.3
  @swc/plugin-swc-sdk@19.0.3
  @swc/plugin-transform-imports@18.0.3

[skip ci]
@changeset-bot

changeset-bot Bot commented Nov 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e97017d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kdy1
Donny/강동윤 (kdy1) enabled auto-merge (squash) November 20, 2026 07:03
@socket-security

Copy link
Copy Markdown

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T07:04:52.105962Z e97017d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kdy1
Donny/강동윤 (kdy1) merged commit 2eb729a into main Nov 20, 2026
10 of 11 checks passed
@kdy1
Donny/강동윤 (kdy1) deleted the kdy1/update-swc-core-2 branch November 20, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant