Skip to content

chore(deps): upgrade oxc to 0.158.0 - #11601

Merged
shulaoda merged 4 commits into
rolldown:mainfrom
camc314:codex/oxc-0.158.0
Nov 9, 2026
Merged

shulaoda merged 4 commits into
rolldown:mainfrom
camc314:codex/oxc-0.158.0

Conversation

@camc314

@camc314 camc314 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade Oxc Rust dependencies to 0.158.0.
  • Upgrade @oxc-project/runtime, @oxc-project/types, oxc-parser, and oxc-transform to 0.158.0.

Root causes

oxc-project/oxc#28812

Oxc emits infinite numeric literals as 1e400 and -1e400, avoiding a potentially shadowed Infinity. The JSON conversion snapshot changes accordingly, with execution coverage for both signs.

Oxc commit: 1e57a4e0ea244bee2cd5ca4666c0b3f1ec390732

oxc-project/oxc#28999

Oxc reuses exported enum objects across merged TypeScript namespace blocks, preserving earlier members and identity. Five esbuild snapshots reflect the new lowering, with execution coverage for sibling and nested namespaces.

Oxc commit: 3729ce1739130dda2aed95978966ed943335b184

@camc314
camc314 marked this pull request as ready for review November 9, 2026 13:16
Copilot AI balanced review requested due to automatic review settings November 9, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

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-09T16:07:21.360043Z 24eefd7 New commits
ℹ️ About Codex in GitHub

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

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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

@codspeed

codspeed Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 4 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing camc314:codex/oxc-0.158.0 (24eefd7) with main (a1e500b)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 (e15c1c8) during the generation of this report, so a1e500b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@camc314
camc314 force-pushed the codex/oxc-0.158.0 branch 2 times, most recently from e1320f6 to f22462b Compare November 9, 2026 13:52
oxc-project/oxc#28812

Oxc prints infinite numeric literals as 1e400 and -1e400 to avoid
capturing a shadowed global Infinity. Update the JSON conversion inline
snapshot and cover bundled JSON containing both values at runtime.

First-bad-Oxc-Commit: 1e57a4e0ea244bee2cd5ca4666c0b3f1ec390732
Oxc-Revision: 1e57a4e0ea244bee2cd5ca4666c0b3f1ec390732
oxc-project/oxc#28999

Oxc now reuses exported enum objects when lowering merged TypeScript
namespaces. Update the five affected esbuild output snapshots and
exercise preservation of earlier members and object identity in both
sibling and nested namespaces.

First-bad-Oxc-Commit: 3729ce1739130dda2aed95978966ed943335b184
Oxc-Revision: 3729ce1739130dda2aed95978966ed943335b184
Cargo's lockfile resolution also selects the already-locked getrandom
0.4.3 for tempfile, whose supported range includes both 0.3 and 0.4.
Regenerate the embedded runtime metadata for the new package version.
Only the version banner and versioned helper path change; the generated
helper payload is unchanged.
@shulaoda
shulaoda merged commit 2ab058b into rolldown:main Nov 9, 2026
22 checks passed
@rolldown-guard rolldown-guard Bot mentioned this pull request Nov 11, 2026
shulaoda added a commit that referenced this pull request Nov 11, 2026
## [1.3.2] - 2026-11-11

### 🚀 Features

- magic-string: add a `hires` constructor option (#11643) by @IWANABETHATGUY
- cjs: provide `__dirname` and `__filename` to CommonJS modules in Node ESM output (#10680) by @irvinebroque

### 🐛 Bug Fixes

- strict-execution-order: place re-export targets that no consumer selects (#11634) by @hyfdev
- sourcemap: use the `map` a hook returns with the native MagicString (#11642) by @IWANABETHATGUY
- drop no-op init calls from re-exports and imports (#11632) by @hyfdev
- detect `__esModule` set with `Object.defineProperty(module.exports, ...)` (#11622) by @agarwalla-chirag
- hoist `var` in top-level catch blocks of wrapped modules (#11626) by @hyfdev
- detect top-level `await` in top-level `catch` blocks (#11640) by @hyfdev
- sourcemap: keep columns when a hook returns the native MagicString (#11628) by @anonrig
- make a module without module syntax CommonJS when it is both imported and required (#11633) by @hyfdev
- drop references in dead branches inside live functions before chunk linking (#11059) by @elliott-with-the-longest-name-on-github
- make cross-chunk export names independent of module load order (#10882) by @danieljvdm
- don't treat new URL() references as execution dependencies (#11605) by @shuvroroy
- stop the options passed to hooks from keeping a build's plugins alive (#11623) by @Brooooooklyn
- strict-execution-order: run the declaring module of an inlined constant read through a kept barrel (#11546) by @hyfdev
- hoist `var` in top-level for-in and for-of heads of wrapped modules (#11620) by @hyfdev
- rollup-tests: fail the test case on assertion error in `renderError` (#11621) by @sapphi-red
- preserve rendering errors when `renderError` fails (#11614) by @sapphi-red
- count emitted chunks when rendering relative-path externals (#11611) by @hyfdev
- avoid panic on `{ b: [y = 1] }` destructuring in a wrapped module (#11563) by @IWANABETHATGUY
- treeshaking: tree-shake statements with `instanceof` that a constant makes pure (#11610) by @hyfdev
- dev: don't panic when a partial rebuild adds a relative-path external (#11604) by @hyfdev
- rolldown: fail the build instead of hanging when a module task panics (#11562) by @Brooooooklyn
- rolldown: don't panic in module tasks after the build is dropped (#11557) by @Brooooooklyn
- browser: default `cwd` to `/` (#11554) by @Brooooooklyn

### 🚜 Refactor

- use `.agents/skills` for skill files (#11627) by @camc314

### 📚 Documentation

- perf-kit: show the build config on the page (#11646) by @IWANABETHATGUY

### ⚡ Performance

- trace sequential sourcemap tokens with a bounded cursor (#11545) by @Dunqing
- use raw tokens when collapsing sourcemaps (#11524) by @Dunqing
- magic-string: free the index table of a MagicString returned from transform (#11558) by @Brooooooklyn

### 🧪 Testing

- dev: add exports assignment test (#5654) by @sapphi-red
- rollup-tests: normalize Rollup Error for renderError (#11613) by @sapphi-red
- rolldown: cover async render hooks (#11560) by @Brooooooklyn
- watch: cover the native backend and fix the watch-error CLI test race (#11559) by @Brooooooklyn

### ⚙️ Miscellaneous Tasks

- deps: update dependency vitepress-plugin-group-icons to v1.8.2 (#11647) by @jong-kyung
- deps: update dependency vite-plus to v1.6.0 (#11641) by @renovate[bot]
- skip upstream-only workflows on forks (#11644) by @jong-kyung
- deps: update napi to v3.16.2 (#11639) by @renovate[bot]
- deps: update rollup submodule for tests to v4.68.2 (#11608) by @rolldown-guard[bot]
- rollup-tests: retriage failed tests (#11615) by @sapphi-red
- deps: update test262 submodule for tests (#11609) by @rolldown-guard[bot]
- deps: update npm packages (#11572) by @renovate[bot]
- docs: always use https (#11606) by @TheAlexLichter
- deps: update dependency vite-plus to v1.5.1 (#11591) by @renovate[bot]
- stop building `better-sqlite3` on install (#11602) by @hyfdev
- deps: upgrade oxc to 0.158.0 (#11601) by @camc314
- deps: update dependency rolldown-plugin-dts to ^0.30.0 (#11588) by @renovate[bot]
- deps: update crate-ci/typos action to v1.52.0 (#11590) by @renovate[bot]

### ❤️ New Contributors

* @jong-kyung made their first contribution in [#11647](#11647)
* @irvinebroque made their first contribution in [#10680](#10680)
* @agarwalla-chirag made their first contribution in [#11622](#11622)
* @danieljvdm made their first contribution in [#10882](#10882)

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.

4 participants