Skip to content

release: v1.2.1 - #10524

Merged
shulaoda merged 1 commit into
mainfrom
release-v1.2.1-1785323866
Jul 29, 2026
Merged

shulaoda merged 1 commit into
mainfrom
release-v1.2.1-1785323866

Conversation

@rolldown-guard

@rolldown-guard rolldown-guard Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

[1.2.1] - 2026-07-29

🚀 Features

🐛 Bug Fixes

🚜 Refactor

📚 Documentation

⚡ Performance

🧪 Testing

⚙️ Miscellaneous Tasks

❤️ New Contributors

@netlify

netlify Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 8ecf007
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6a69edfbcfb4da000882ee4f

@shulaoda

This comment was marked as outdated.

@codspeed

codspeed Bot commented Jul 29, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing release-v1.2.1-1785323866 (8ecf007) with main (a120530)2

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on main (9a2f52c) during the generation of this report, so a120530 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

shulaoda added a commit that referenced this pull request Jul 29, 2026
Fixes the `Move Binding Artifacts` failure in [this Pkg Preview
run](https://github.com/rolldown/rolldown/actions/runs/30447217864/job/90562545006),
hit by the release PR #10524.

## Cause

`Download Binding Artifacts` specified neither `name` nor `pattern`, so
`actions/download-artifact` pulled **every** artifact of the run into
`packages/rolldown/artifacts/`. Both `bindings-wasm32-wasip1-threads`
and `browser-artifact` ship a `rolldown-binding.wasm32-wasi.wasm`, since
`@rolldown/browser` bundles the wasm into its own `dist`.

`napi artifacts` recurses the output directory and keys binaries by
filename, ignoring which subdirectory they came from. Two copies of the
same name means two entries under one identity:

```
Internal Error: Multiple artifacts found for binary artifact identities: rolldown-binding.wasm32-wasi.wasm:
  packages/rolldown/artifacts/bindings-wasm32-wasip1-threads/rolldown-binding.wasm32-wasi.wasm,
  packages/rolldown/artifacts/browser-artifact/rolldown-binding.wasm32-wasi.wasm.
```

The unfiltered download has always been wrong, but only became fatal
when #10506 raised `@napi-rs/cli` to `^3.8.0`, which added a
`rejectDuplicateArtifactIdentities` check. Earlier releases silently
tolerated the collision.

#10506's own CI was green because `Node Validation` never touches the
artifact merge path, so the regression surfaced only on the next release
PR.

## Fix

Added `pattern: bindings-*` to the `Download Binding Artifacts` step in:

- `.github/workflows/publish-to-pkg.pr.new.yml`
- `.github/workflows/publish-to-npm.yml`

`pattern` rather than `name` because the bindings are 15 separate
artifacts. The prefix mirrors the upload side
(`reusable-release-build.yml`, `name: bindings-${{ matrix.target }}`
plus the freebsd special case), so the naming stays defined in one place
and follows the matrix automatically.

`merge-multiple` stays at its default of `false`, so each matched
artifact keeps its own subdirectory. The layout `napi artifacts` sees
for bindings is unchanged; the change only removes the four non-binding
entries.

`publish-to-npm.yml` carried an identical copy of the step and would
have failed the same way during a real release.

## Verification

Checked the pattern against the artifact list of the failing run:

- 15 matched, exactly the 15 targets in `packages/rolldown/package.json`
`napi.targets`, so no binding is dropped.
- 4 excluded: `browser-artifact`, `debug-artifact`, `node-artifact`,
`rolldown-version`.

Each excluded artifact is downloaded again later in the same job under
an explicit `name`, into `packages/rolldown/dist`,
`packages/browser/dist`, `packages/debug/dist`, and the workspace root.
Nothing between the two downloads reads them from `artifacts/`, and the
following step `check-wasi-binding-deps.mjs` reads
`packages/rolldown/npm/wasm32-wasi/package.json`, not `artifacts/`.

An audit of all 14 `download-artifact` usages under `.github/workflows/`
found these two were the only ones without a `name` or `pattern`.

Workflow changes cannot be exercised locally, so the real confirmation
is rerunning the failed job on #10524 after this merges.

## Out of scope

#10506 also moved `@emnapi/core` and `@emnapi/runtime` from `1.11.2` to
`2.0.0-alpha.3`, a prerelease major that is now on `main`. The generated
napi glue changed with it: `emnapiAsyncWorkPlugin` and
`emnapiTSFNPlugin` are now passed to `instantiateNapiModule`, and the
context comes from `createContext` in `@emnapi/runtime` instead of
`getDefaultContext`. This PR only unblocks the artifact merge. Whether
the alpha is intended, and whether wasm runtime behaviour changed, is
worth confirming separately.
@shulaoda
shulaoda force-pushed the release-v1.2.1-1785323866 branch from 4e21a3c to 8ecf007 Compare July 29, 2026 12:11
@shulaoda

Copy link
Copy Markdown
Member

/ecosystem-ci run

@pkg-pr-new

pkg-pr-new Bot commented Jul 29, 2026

Copy link
Copy Markdown

Open in StackBlitz

@rolldown/browser

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/browser@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/browser@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/debug

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/debug@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/debug@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

rolldown

pnpm add https://pkg.pr.new/rolldown/rolldown@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown@10524 -D
yarn add https://pkg.pr.new/rolldown/[email protected] -D

@rolldown/binding-android-arm64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-android-arm64@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-android-arm64@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-darwin-arm64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-arm64@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-arm64@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-darwin-x64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-x64@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-darwin-x64@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-freebsd-x64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-freebsd-x64@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-freebsd-x64@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-arm-gnueabihf

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm-gnueabihf@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm-gnueabihf@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-arm64-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-gnu@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-gnu@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-arm64-musl

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-musl@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-arm64-musl@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-ppc64-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-ppc64-gnu@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-ppc64-gnu@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-s390x-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-s390x-gnu@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-s390x-gnu@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-x64-gnu

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-gnu@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-gnu@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-linux-x64-musl

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-musl@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-linux-x64-musl@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-openharmony-arm64

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-openharmony-arm64@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-openharmony-arm64@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-wasm32-wasi

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-wasm32-wasi@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-wasm32-wasi@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-win32-arm64-msvc

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-arm64-msvc@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-arm64-msvc@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

@rolldown/binding-win32-x64-msvc

pnpm add https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-x64-msvc@10524 -D
npm i https://pkg.pr.new/rolldown/rolldown/@rolldown/binding-win32-x64-msvc@10524 -D
yarn add https://pkg.pr.new/rolldown/rolldown/@rolldown/[email protected] -D

commit: 8ecf007

@vite-ecosystem-ci

Copy link
Copy Markdown

📝 Ran ecosystem CI with rolldown 8ecf007: Open

suite result latest scheduled
react-router ❌ failure ❌ failure
sveltekit ❌ failure ❌ failure
qwik ❌ failure ❌ failure
astro ❌ failure ❌ failure
vite-plugin-cloudflare ❌ failure ✅ success
tanstack-start ⏹️ cancelled ⏹️ cancelled
vitest ❌ failure ❌ failure
vite-plugin-vue ❌ failure ❌ failure

✅ marko, laravel, module-federation, quasar, storybook, vite-plugin-pwa, analogjs, unocss, vike, vite-environment-examples, vite-plugin-rsc, vite-plugin-react, waku, nuxt, vuepress, vitepress, vite-plugin-svelte, vite-setup-catalogue

@shulaoda
shulaoda merged commit 93c535d into main Jul 29, 2026
59 checks passed
@shulaoda
shulaoda deleted the release-v1.2.1-1785323866 branch July 29, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants