Skip to content

Comments

Update swc_core to v38#411

Merged
Luca Schneider (Mad-Kat) merged 5 commits intomainfrom
update-swc_core
Oct 1, 2025
Merged

Update swc_core to v38#411
Luca Schneider (Mad-Kat) merged 5 commits intomainfrom
update-swc_core

Conversation

@Mad-Kat
Copy link
Collaborator

@Mad-Kat Luca Schneider (Mad-Kat) commented Sep 22, 2025

This PR updates swc_core and related dependencies so that yak-swc is compatible with next.js >=15.4.4.

I've updated the docs and merging this will create a PR for a new major version 7.0.

Please ensure that the new release is published in a timely manner after completing this PR, as the docs would be updated already

@changeset-bot
Copy link

changeset-bot bot commented Sep 22, 2025

🦋 Changeset detected

Latest commit: 0df99f8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
yak-swc Major
next-yak Major

Not sure what this means? Click here to learn what changesets are.

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

@codspeed-hq
Copy link

codspeed-hq bot commented Sep 22, 2025

CodSpeed Performance Report

Merging #411 will not alter performance

Comparing update-swc_core (0df99f8) with main (5367c56)1

Summary

✅ 12 untouched

Footnotes

  1. No successful run was found on main (0c9f995) during the generation of this report, so 5367c56 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades swc_core and related dependencies to v38 to enable compatibility with Next.js versions >= 15.4.4. This represents a major version bump (7.0) due to the significant dependency updates.

  • Updates swc_core from v27 to v38 and related SWC dependencies
  • Adds necessary SWC helper imports for the docs playground
  • Updates documentation to reflect new version compatibility requirements

Reviewed Changes

Copilot reviewed 7 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
packages/yak-swc/Cargo.toml Updates SWC dependencies to v38+ with exact version pinning
pnpm-workspace.yaml Adds @swc/helpers dependency to dev catalog
packages/docs/package.json Adds @swc/helpers as dev dependency for docs
packages/docs/lib/transformation/useTranspile.tsx Imports SWC helper functions for transpilation
packages/docs/playground-wasm/src/types.rs Updates TypeScript definitions for new SWC version
packages/docs/content/docs/getting-started.mdx Updates compatibility table and installation instructions
.changeset/easy-lies-feel.md Documents major version change
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Mad-Kat Luca Schneider (Mad-Kat) merged commit e4d230c into main Oct 1, 2025
6 checks passed
@Mad-Kat Luca Schneider (Mad-Kat) deleted the update-swc_core branch October 1, 2025 07:07
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.

2 participants