Skip to content

chore(deps): upgrade oxc to 0.154.0 - #11209

Merged
graphite-app[bot] merged 1 commit into
mainfrom
chore/upgrade-oxc-0.154.0
Oct 14, 2026
Merged

graphite-app[bot] merged 1 commit into
mainfrom
chore/upgrade-oxc-0.154.0

Conversation

@shulaoda

Copy link
Copy Markdown
Member

Summary

  • Upgrade Oxc Rust dependencies to 0.154.0.
  • Upgrade @oxc-project/runtime, @oxc-project/types, oxc-parser, and oxc-transform to exactly 0.154.0.
  • Regenerate the embedded @oxc-project/runtime helpers.

No code changes were needed. The breaking changes in this release (comment attachment storage, node IDs assigned during parsing) do not affect Rolldown.

Snapshot changes

oxc-project/oxc#27522

oxc-project/oxc#27522

The minifier now folds delete of a non-reference operand. delete id(foo) becomes (foo, true), and delete void 0 becomes true. The operand is still evaluated, and delete always returns true when its operand is not a reference, so the behavior does not change. This updates esbuild/dce/inline_function_call_behavior_changes.

oxc-project/oxc#27407

oxc-project/oxc#27407

Codegen no longer adds an extra indent before an empty do-while body. This updates esbuild/default/bundle_esm_with_nested_var_issue4348.

Lockfile note

pnpm kept the oxc-transform peer of unplugin-isolated-decl (in examples/isolated-decl) at 0.153.0. It is now aligned to 0.154.0, the same as the previous upgrade (#11109). No 0.153.0 entries are left in pnpm-lock.yaml.

@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

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

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://chore-upgrade-oxc-0-154-0-rolldown-rs.voidzero-docs.workers.dev (commit c7c51d6)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://83b1f87c-rolldown-rs.voidzero-docs.workers.dev c7c51d6 2026-10-14T09:28:57.240Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9845bc3c-rolldown-rs.voidzero-docs.workers.dev 9404b57 2026-10-14T09:19:50.161Z Visit the dashboard ↗

@shulaoda
shulaoda marked this pull request as ready for review October 14, 2026 09:24

shulaoda commented Oct 14, 2026 •

Copy link
Copy Markdown
Member Author

Merge activity

  • Oct 14, 9:26 AM UTC: The merge label 'graphite: merge-when-ready' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 14, 9:27 AM UTC: shulaoda added this pull request to the Graphite merge queue.
  • Oct 14, 9:32 AM UTC: Merged by the Graphite merge queue.

## Summary

- Upgrade Oxc Rust dependencies to 0.154.0.
- Upgrade `@oxc-project/runtime`, `@oxc-project/types`, `oxc-parser`, and `oxc-transform` to exactly 0.154.0.
- Regenerate the embedded `@oxc-project/runtime` helpers.

No code changes were needed. The breaking changes in this release (comment attachment storage, node IDs assigned during parsing) do not affect Rolldown.

## Snapshot changes

### oxc-project/oxc#27522

oxc-project/oxc#27522

The minifier now folds `delete` of a non-reference operand. `delete id(foo)` becomes `(foo, true)`, and `delete void 0` becomes `true`. The operand is still evaluated, and `delete` always returns `true` when its operand is not a reference, so the behavior does not change. This updates `esbuild/dce/inline_function_call_behavior_changes`.

### oxc-project/oxc#27407

oxc-project/oxc#27407

Codegen no longer adds an extra indent before an empty `do-while` body. This updates `esbuild/default/bundle_esm_with_nested_var_issue4348`.

## Lockfile note

pnpm kept the `oxc-transform` peer of `unplugin-isolated-decl` (in `examples/isolated-decl`) at 0.153.0. It is now aligned to 0.154.0, the same as the previous upgrade (#11109). No 0.153.0 entries are left in `pnpm-lock.yaml`.
@graphite-app
graphite-app Bot force-pushed the chore/upgrade-oxc-0.154.0 branch from 9404b57 to c7c51d6 Compare October 14, 2026 09:27
@graphite-app
graphite-app Bot merged commit c7c51d6 into main Oct 14, 2026
37 checks passed
@graphite-app
graphite-app Bot deleted the chore/upgrade-oxc-0.154.0 branch October 14, 2026 09:32
@rolldown-guard rolldown-guard Bot mentioned this pull request Oct 14, 2026
shulaoda added a commit that referenced this pull request Oct 14, 2026
## [1.2.14] - 2026-10-14

### 🚀 Features

- add `output.charset` option (#11194) by @sapphi-red
- code-splitting: route independent ESM re-exports per consumer (#11177) by @hyfdev

### 🐛 Bug Fixes

- handle `output.charset: 'ascii'` + `output.minify: false` (#11207) by @sapphi-red
- tree-shaking: preserve initialization of wrapped ESM re-exports (#11167) by @hyfdev
- sourcemap: preserve boundaries when tracing has no mapping (#11170) by @sapphi-red
- strict-execution-order: account for init imports during code splitting (#11162) by @hyfdev
- strict-execution-order: avoid eager loading through mixed re-exports (#11151) by @hyfdev
- tree-shake expression statements that coerce known constants (#10825) by @IWANABETHATGUY
- shim-missing-exports: shim deep namespace reads through default imports (#11184) by @IWANABETHATGUY
- shim-missing-exports: shim missing static namespace members (#11179) by @hyfdev
- preserve-entry-signatures: keep internal bindings out of entry exports (#11094) by @hyfdev
- report ASSIGN_TO_IMPORT for writes to re-exported namespace members (#11148) by @IWANABETHATGUY
- dev: keep files loaded by the HMR stage watched when the same task rebuilds (#11154) by @Brooooooklyn
- dev: watch lazily compiled files even when a build starts first (#11152) by @Brooooooklyn
- cjs: print a CommonJS module's top-level `this` as a wrapper parameter rolldown names (#11135) by @IWANABETHATGUY
- renamer: keep fixed names off the bindings that would capture them (#11134) by @IWANABETHATGUY
- renamer: keep an external `require()` local in a CJS module off the top-level names (#11133) by @IWANABETHATGUY
- rolldown: make a repeated `close()` a no-op (#11142) by @Brooooooklyn
- avoid renaming entry top-level bindings onto their nested bindings (#11122) by @IWANABETHATGUY
- renamer: keep generated top-level names off inner bindings (#11121) by @IWANABETHATGUY

### 🚜 Refactor

- renamer: treat a CJS-wrapped module's root scope as an inner scope (#11130) by @IWANABETHATGUY

### 📚 Documentation

- add renaming design and implementation docs (#11131) by @IWANABETHATGUY

### ⚡ Performance

- ci: overlap independent setup, checks, and artifacts (#11169) by @hyfdev

### 🧪 Testing

- dev: use dunce::canonicalize so dev engine tests pass on Windows (#11192) by @shulaoda
- preserve-entry-signatures: cover nested dynamic imports (#11164) by @hyfdev

### ⚙️ Miscellaneous Tasks

- deps: upgrade oxc to 0.154.0 (#11209) by @shulaoda
- make Security Analysis pass again (security-action v1.0.10, serde_yaml -> saphyr) (#11197) by @Brooooooklyn
- deps: update rollup submodule for tests to v4.64.5 (#11190) by @rolldown-guard[bot]
- deps: update test262 submodule for tests (#11191) by @rolldown-guard[bot]
- deps: update crate-ci/typos action to v1.51.1 (#11174) by @renovate[bot]
- vite-tests: link the workspace rolldown into the Vite clone again (#11147) by @Brooooooklyn

Co-authored-by: shulaoda <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Optional chain containing a TS non-null assertion (a?.b!.c) is not lowered with transform.target

3 participants