Repository navigation
chore(deps): upgrade oxc to 0.152.0 - #11018
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
Merging this PR will degrade performance by 0.51%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Oxc-Tracking-Commit: true Oxc-Revision: fc37ba07d360c93e5f228fd00de0b0b2842429f5
oxc-project/oxc#26953 Oxc now treats module export names containing a Unicode lone surrogate as a fatal parse error. Parsing stops after the first diagnostic instead of returning a recovered AST that triggers additional semantic errors. The test262 module-code snapshot removes two repeated lone-surrogate diagnostics and the downstream duplicate-export diagnostic for early-export-ill-formed-string.js. The remaining single parse error is the expected ECMAScript early error. First-Bad-Oxc-Commit: 01ff33e9c834a04eda027a9f5716a3dbf0f389b9 Oxc-Revision: 01ff33e9c834a04eda027a9f5716a3dbf0f389b9
oxc-project/oxc#22933 Oxc now distinguishes HTML opening and closing comments in CommentKind so their full markers can be stripped while preserving comment ranges. Treat both new variants as line comments when Rolldown emits sourcemap references. This preserves the existing // reference form and makes the exhaustive match compatible with the expanded Oxc API. First-Bad-Oxc-Commit: 51863287632df2ab85cafc16c9d66015c5d5a754 Oxc-Revision: 51863287632df2ab85cafc16c9d66015c5d5a754
oxc-project/oxc#27078 Oxc now depends on oxc_sourcemap 9. Keeping Rolldown on v8 produces distinct SourceMap types, and the former Google-only ignore-list setters and fields no longer compile. Upgrade Rolldown’s independent oxc_sourcemap dependency to v9 at the first bad Oxc revision. Use the standard ignoreList field for generated maps and accept both the standard field and the legacy x_google_ignoreList input. Preserve the legacy JS plugin alias and MagicString compatibility while the serialized map uses the standard field. Regenerate the native and WASI binding declarations through their build recipes: v9 exposes JSONSourceMap and renames its NAPI source-map field. The source-map fixture now checks standard ignoreList output, and the plugin fixture checks that legacy writes also update the standard field. just allocs produced no snapshot change. First-Bad-Oxc-Commit: efc646a59041b183bb8b13c728bc824f07f33b85 Oxc-Revision: efc646a59041b183bb8b13c728bc824f07f33b85
The npm upgrade changed @oxc-project/runtime to 0.152.0, but the checked-in embedded helper registry still advertised the 0.151.0 virtual prefix. Regenerate it with just update-generated-code so CI and runtime helper resolution use the installed release. Helper source bodies are unchanged; only the version annotation and prefix move.
bc10e86 to
245ffc7
Compare
I assume this comes from the oxc_sourcemap change - probably worth investigating. |
## [1.2.12] - 2026-09-30 ### 🚀 Features - inline common chunks containing import() and deduplicate shared code in lazy chunks (#11034) by @hyfdev - experimental `inlineCommonChunks` support (#10899) by @hyfdev - dev: ship imported bindings for HMR partial accept (#10856) by @h-a-n-a ### 🐛 Bug Fixes - chunking: re-derive chunk exec orders after the runtime leaves its host chunk (#11005) by @hyfdev - code-splitting: gate member-read init paths on the reading statement (#11039) by @hyfdev - code-splitting: retain initialization paths through re-exported namespaces (#11037) by @hyfdev - dev: reject non-ESM output formats in dev mode (#11038) by @h-a-n-a - dev: align `import.meta.hot.accept` deps with Vite (#10997) by @h-a-n-a - dev: clear the resolver cache when a file is created or deleted (#10986) by @waltuov - error: name the resolved specifier in unresolved import diagnostics (#11014) by @linyiru - make entries-aware chunk merging deterministic (#11002) by @hyfdev - watch: avoid restarting macOS watcher for unchanged paths (#10992) by @sep2 ### 🚜 Refactor - dev: ship the dev runtime entry as one file (#10998) by @h-a-n-a - binding: remove `__internalForcePanic` (#10989) by @IWANABETHATGUY ### 📚 Documentation - fix cloudflare preview builds (#10996) by @sapphi-red - fix build config loader warning (#10994) by @sapphi-red - deps: use Vite 8 (#10993) by @sapphi-red ### ⚡ Performance - dev: only ship rows with dynamic edges in registerGraph (#11019) by @h-a-n-a ### 🧪 Testing - code-splitting: cover more re-exported namespace shapes (#11042) by @hyfdev - webcontainer: cover the WebContainer download fallback in plain Node (#10966) by @shulaoda - dev: pin the runtime entry file layout that Vite serves (#10983) by @h-a-n-a ### ⚙️ Miscellaneous Tasks - pin VOID_API_URL for the docs deploy (#11041) by @shulaoda - opt into the WebContainer smoke test for napi bumps and loader changes (#10967) by @shulaoda - deps: upgrade oxc to 0.152.0 (#11018) by @camc314 - deps: update rust crates (#11012) by @renovate[bot] - deps: update npm packages (#11011) by @renovate[bot] - deps: update crate-ci/typos action to v1.50.3 (#11023) by @renovate[bot] - deps: update test262 submodule for tests (#11022) by @rolldown-guard[bot] - deps: update rollup submodule for tests to v4.63.5 (#11021) by @rolldown-guard[bot] - deps: update dependency vite-plus to v1 (#11017) by @renovate[bot] - deps: update github actions (#11010) by @renovate[bot] - remove `CLAUDE.md` (#10925) by @iiio2 - verify release debug info by matching file IDs (#10988) by @IWANABETHATGUY - deps: update rollup submodule for tests to v4.63.4 (#10940) by @rolldown-guard[bot] ### ❤️ New Contributors * @waltuov made their first contribution in [#10986](#10986) * @linyiru made their first contribution in [#11014](#11014) * @sep2 made their first contribution in [#10992](#10992) Co-authored-by: shulaoda <[email protected]>
Summary
@oxc-project/runtime,@oxc-project/types,oxc-parser, andoxc-transformJavaScript packages to 0.152.0.Root causes
oxc-project/oxc#26953
oxc-project/oxc#26953
Oxc now treats a lone surrogate in a module export name as a fatal parse error. Rolldown's test262 module-code snapshot accordingly retains the one expected early error and removes two duplicate parse diagnostics plus a downstream duplicate-export diagnostic that depended on recovery after the fatal error.
Commit: 01ff33e9c834a04eda027a9f5716a3dbf0f389b9
oxc-project/oxc#22933
oxc-project/oxc#22933
Oxc distinguishes HTML opening and closing comments in
CommentKind. Rolldown handles the new variants as line comments when generating sourcemap references, preserving the existing//reference form. No snapshot changes were needed.Commit: 51863287632df2ab85cafc16c9d66015c5d5a754
oxc-project/oxc#27078
oxc-project/oxc#27078
Oxc moved to
oxc_sourcemap9, so Rolldown must use the same version to avoid incompatibleSourceMaptypes. Source maps now serialize the standardignoreListfield; Rolldown still accepts legacyx_google_ignoreListinput and preserves the plugin/MagicString compatibility surface. The native and WASI binding declarations were regenerated for v9's NAPI sourcemap type and field changes. The allocation snapshot did not change.Commit: efc646a59041b183bb8b13c728bc824f07f33b85
Closes #11004