Skip to content

chore: update dependencies (Oxc 0.160) - #1066

Open
owjs3901 wants to merge 4 commits into
mainfrom
chore/update-dependencies-2026-11
Open

owjs3901 wants to merge 4 commits into
mainfrom
chore/update-dependencies-2026-11

Conversation

@owjs3901

@owjs3901 owjs3901 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates every dependency to its latest release with bunx @dependency-check-updates/cli -d -u --rm (lockfiles regenerated from scratch), cargo update, and Oxc 0.159 → 0.160. It also retried Rust coverage on the latest stable Rust. That still fails, so the coverage hold stays (see Pins and holds).

  • apps/react-18 stays on React 18 (@types/react moves to 18.3.32, the latest 18.x; vite and @playwright/test move as usual).
  • Peer dependency ranges (next >=13, vite >=5, @rsbuild/core >=1, typescript-eslint >=8, @typescript-eslint/utils >=8) stay as they were. dcu would have raised them to the latest version, which would drop older hosts.
  • All oxc_* crates are on 0.160.0. oxc_sourcemap moves to 10.0.1, the version oxc_codegen 0.160 uses.

Oxc 0.160 breaking changes and fixes

  • NumberBase / base removed. The numeric-literal builders lose their base argument.
  • computed flag removed from properties. This one is not in the release notes. A non-computed literal key is now its own variant (PropertyKey::StaticStringLiteral / StaticNumericLiteral / StaticBigIntLiteral), and a PropertyKey::StringLiteral key always prints as ["a"]. What changed here:
    • x.computed → x.key.is_computed() (name.is_computed() on assignment-target properties).
    • Keys the extractor writes stay non-computed (StaticStringLiteral). The one exception is a __proto__ record key, which used to be written computed and still is.
    • Key readers that matched StringLiteral or read key.as_expression() also accept the static variants (get_str_by_property_key via a new static_literal_key, property_key in the styled record selection, own_key, peephole key). Without this, {"a": 1} keys would have stopped being read.
  • Oxc now groups sequence expressions in JSX containers itself (oxc#30020). The extractor's workaround re-parsed the output and added the missing (…). It now adds nothing and its tests failed, so it is removed: jsx_emission::parenthesize, validate, is_sequence, the sequences flag and source_map::shift_generated. The tests now check that Oxc's printed JSX sequences re-parse cleanly, re-print the same, and keep the module/CommonJS goal. The end-to-end extract tests for grouped sequences stay.
  • typescript-eslint 8.74: a Property value can no longer be a TSEmptyBodyFunctionExpression, so tsc rejected that comparison in style-order-range, and it is removed.
  • Vite 8.4 now reports module ids with the long-name real path. On a Windows host whose TEMP is an 8.3 short path, two vite native fixtures compared against the short path and failed. They now use realpathSync.native, as other fixtures in the repo already do. Linux CI is not affected.

Notable version changes

Package Before After
oxc_* (parser, ast, codegen, semantic, transformer, …) 0.159.0 0.160.0
oxc_sourcemap 10.0.0 10.0.1
napi / napi-derive / napi-build 3.16.2 / 3.7.1 / 2.6.0 3.16.3 / 3.7.2 / 2.7.0
rstest 0.28.0 0.29.0
vite 8.3.8 8.4.0
rolldown 1.2.19 1.3.4
@rsbuild/core / @rspack/core 2.3.3 / 2.3.3 2.3.5 / 2.3.4
webpack 5.112.2 5.113.0
typescript-eslint, @typescript-eslint/* 8.73.0 8.74.0
eslint 10.15.0 10.16.0
@eslint-react/eslint-plugin 5.30.4 5.30.7
storybook 10.6.7 10.6.9
expo / react-native-reanimated / react-native-worklets 58.0.26 / 4.7.2 / 0.13.0 58.1.0 / 4.8.0 / 0.14.0
vinext 1.4.6 1.4.7
@babel/core 8.1.2 8.1.4
@mui/material, @pandacss/* (benchmarks) 9.5.0, 2.5.0 9.6.0, 2.6.0
@types/node, @types/react, @types/bun 26.6.6, 19.3.0, 1.4.4 26.6.11, 19.3.3, 1.4.5

Cargo.lock also picks up cc 1.12.0, clap 4.6.10, pin-project 1.2.0, postcard 1.2.0, zerocopy 0.8.66 and napi-derive-backend 8.0.0.

Pins and holds

Pin / hold Decision Reason
Rust 1.99.1 for the coverage run (RUSTUP_TOOLCHAIN in rust-coverage) Kept (retried on CI, still fails) The latest cargo-tarpaulin is still 0.37.6, and the upstream fix (xd009642/tarpaulin#1904) is still open. With the pin removed, CI's rust-coverage ran on stable rustc 1.100.1 and failed at 98.59%. See Coverage on stable Rust below.
GitHub Actions Kept on major tags (already the latest majors) checkout v7, cache v6, setup-node v7, upload-artifact v7, download-artifact v8, codecov v7, setup-qemu v4, setup-bun v2, setup-rust-toolchain v2, deploy-pages v5, upload-pages-artifact v5 are each the newest major. No SHA pins.
Other CI toolchains (stable Rust, bun-version: latest, node-version: '*', latest wasm-pack / cargo-binstall / tarpaulin) Unchanged Already track latest.
apps/react-18 on React 18 Kept That app exists to test React 18.
Peer ranges (next, vite, @rsbuild/core, typescript-eslint, @typescript-eslint/utils, eslint, react) Kept Compatibility ranges, not pins.
engines (Node 20 floor) and rust-version = "1.88" (MSRV) Kept Compatibility floors, not pins.
getrandom 0.4 (wasm) Kept on 0.4.3 It is pinned to match boa_engine's transitive major. It is already the latest.

Static output check

  • No snapshot changed (cargo test --workspace: 15,071 passed, no .snap diffs). That includes the Oxc key migration and removing the JSX repair pass.
  • Built apps/vite, apps/react-18, apps/vite-lib and apps/rsbuild before and after:
    • Every CSS file and every df directory is byte-identical.
    • Only the JS bundles changed, from Vite 8.4 / rolldown 1.3 / rsbuild 2.3.5. vite-lib's exports.Lib is now assigned inline. In react-18 the minifier renamed identifiers. vite and rsbuild have the same classNames. There are no new inline style objects (react-18 keeps the same 24 from the components' theme variables).
  • No output went from static to dynamic.

Benchmark baseline

The benchmark gate failed only on size. vinext-devup-ui built 1,328,788 bytes against a limit of 1,301,442 (baseline 1,288,557 + 1%). Every timing was within tolerance. The growth comes from vinext itself:

  • I built the row locally with this whole update but vinext held at 1.4.6, and got 1,287,529 bytes (the baseline). With vinext 1.4.7 the same build gives 1,328,788, the exact CI number.
  • vinext 1.4.7 adds its own runtime modules: config-matchers, implicit-tags, root-params, route-fonts and __vinext_font_owner_manifest. server/index.js grows by 25 KB and the client chunks by 18 KB.
  • The CSS is 9,033 bytes, the same as the baseline, so Devup UI's output did not grow.

As the gate says, commit a38d6b6 adds run 46244202627 to the baseline with bun benchmark-check.js --write-baseline, then prettier-formats it. Every other row's size went down or stayed within noise.

Verification

bun run build, cargo test --workspace, cargo clippy --all-targets --all-features -- -D warnings, cargo fmt --check, bun run test:bun (100% coverage in both the root and vite runs, engine tests), bun run lint (passes; @eslint-react 5.30.7 adds one dom-no-dangerously-set-innerhtml warning on ThemeProvider's <style>, which is not an error). Changed Rust lines were checked with cargo llvm-cov: every one is covered.

Coverage on stable Rust

Commit 7045561 dropped the 1.99.1 hold. rust-coverage then ran on rustc 1.100.1 with cargo-tarpaulin 0.37.6 and failed:

98.59% coverage, 30814/31254 lines covered
ERROR cargo_tarpaulin: Coverage is below the failure threshold 98.59% < 100.00%

The 440 uncovered lines are spread over files this PR does not touch (bindings/devup-ui-binding/src/host.rs, libs/css/src/quoted.rs, build_time_values.rs, …). They are the match-arm and impl-head lines described in the existing comment, which the tests do run. Commit 302faa3 restores the hold, and its comment now notes that 1.100.1 fails too. The hold can go once a tarpaulin release includes #1904.


요약

bunx @dependency-check-updates/cli -d -u --rm(lockfile 새로 생성), cargo update, Oxc 0.159 → 0.160으로 모든 의존성을 최신으로 올립니다. 최신 stable Rust로 Rust 커버리지도 다시 돌려 봤지만 여전히 실패해서, 커버리지용 고정은 유지합니다(고정 버전 참고).

  • apps/react-18은 React 18을 유지합니다. @types/react는 18.x 최신인 18.3.32로 올리고, vite와 @playwright/test는 평소처럼 올립니다.
  • peer dependency 범위(next >=13, vite >=5, @rsbuild/core >=1, typescript-eslint >=8, @typescript-eslint/utils >=8)는 그대로 둡니다. dcu가 최신 버전으로 올리면 오래된 호스트 지원이 끊기기 때문입니다.
  • oxc_* 크레이트는 모두 0.160.0입니다. oxc_sourcemap은 oxc_codegen 0.160이 쓰는 10.0.1로 맞췄습니다.

Oxc 0.160 breaking change와 수정

  • NumberBase와 base 필드 제거: 숫자 리터럴 빌더에서 base 인자를 뺐습니다.
  • 프로퍼티의 computed 필드 제거: 릴리스 노트에는 없는 변경입니다. 이제 computed가 아닌 리터럴 키는 별도 variant(PropertyKey::StaticStringLiteral / StaticNumericLiteral / StaticBigIntLiteral)이고, PropertyKey::StringLiteral 키는 항상 ["a"]로 출력됩니다. 바꾼 점은 다음과 같습니다.
    • x.computed는 x.key.is_computed()로 바꿨습니다(대입 대상 프로퍼티는 name.is_computed()).
    • extractor가 만드는 키는 computed가 아닌 StaticStringLiteral로 유지합니다. 예외는 __proto__ 레코드 키 하나로, 원래 computed로 쓰였고 지금도 그렇습니다.
    • StringLiteral을 매칭하거나 key.as_expression()을 읽던 곳은 static variant도 받도록 했습니다(새 static_literal_key를 쓰는 get_str_by_property_key, styled record selection의 property_key, own_key, peephole key). 이렇게 하지 않으면 {"a": 1} 같은 키를 더 이상 읽지 못합니다.
  • 이제 Oxc가 JSX 컨테이너 안의 시퀀스 식을 직접 괄호로 묶습니다(oxc#30020). extractor의 우회 코드는 출력을 다시 파싱해 빠진 (…)를 넣었는데, 이제 넣을 괄호가 없어 테스트가 실패했으므로 제거했습니다. 제거한 것은 jsx_emission::parenthesize, validate, is_sequence, sequences 플래그, source_map::shift_generated입니다. 테스트는 이제 Oxc가 출력한 JSX 시퀀스가 문제없이 다시 파싱되고, 다시 출력해도 같으며, module/CommonJS goal을 유지하는지 확인합니다. 괄호로 묶인 시퀀스를 다루는 extract end-to-end 테스트는 그대로 둡니다.
  • typescript-eslint 8.74: Property 값이 더 이상 TSEmptyBodyFunctionExpression일 수 없어서 tsc가 style-order-range의 해당 비교를 거부했고, 그 비교를 제거했습니다.
  • Vite 8.4는 이제 모듈 id를 긴 이름의 실제 경로로 보고합니다. TEMP가 8.3 짧은 경로인 Windows 환경에서는 vite native fixture 두 개가 짧은 경로로 비교하다 실패했습니다. 저장소의 다른 fixture처럼 realpathSync.native를 쓰도록 바꿨습니다. Linux CI와는 무관합니다.

주요 버전 변경

위 표와 같습니다.

고정 버전

대상 결정 이유
커버리지용 Rust 1.99.1 (rust-coverage의 RUSTUP_TOOLCHAIN) 유지(CI에서 다시 시도했지만 여전히 실패) 최신 cargo-tarpaulin은 아직 0.37.6이고, upstream 수정(xd009642/tarpaulin#1904)도 아직 열려 있습니다. 고정을 풀자 CI의 rust-coverage가 stable rustc 1.100.1로 실행되어 98.59%에서 실패했습니다. 아래 stable Rust 커버리지를 참고하세요.
GitHub Actions major 태그 유지(이미 최신 major) checkout v7, cache v6, setup-node v7, upload-artifact v7, download-artifact v8, codecov v7, setup-qemu v4, setup-bun v2, setup-rust-toolchain v2, deploy-pages v5, upload-pages-artifact v5가 각각 최신 major입니다. SHA 고정은 없습니다.
그 밖의 CI 도구(stable Rust, bun-version: latest, node-version: '*', 최신 wasm-pack / cargo-binstall / tarpaulin) 변경 없음 이미 최신을 따라갑니다.
apps/react-18의 React 18 유지 React 18을 테스트하려고 있는 앱입니다.
peer 범위(next, vite, @rsbuild/core, typescript-eslint, @typescript-eslint/utils, eslint, react) 유지 고정이 아니라 호환 범위입니다.
engines(Node 20 하한)와 rust-version = "1.88"(MSRV) 유지 고정이 아니라 호환 하한입니다.
getrandom 0.4 (wasm) 0.4.3 유지 boa_engine이 간접으로 쓰는 major에 맞춰 둔 것이고, 이미 최신입니다.

정적 출력 확인

  • 스냅샷 변경 없음 (cargo test --workspace 15,071개 통과, .snap diff 없음). Oxc 키 마이그레이션과 JSX 괄호 복구 제거를 모두 포함한 결과입니다.
  • apps/vite, apps/react-18, apps/vite-lib, apps/rsbuild를 업데이트 전후로 빌드해 비교했습니다.
    • CSS 파일과 df 디렉터리는 모두 바이트 단위로 같습니다.
    • JS 번들만 Vite 8.4 / rolldown 1.3 / rsbuild 2.3.5 때문에 바뀌었습니다. vite-lib은 exports.Lib을 바로 할당하고, react-18은 minifier가 식별자 이름을 바꿨습니다. vite와 rsbuild의 className은 같습니다. 새 인라인 style 객체는 없습니다(react-18은 components 테마 변수의 24개 그대로).
  • 정적 → 동적으로 바뀐 출력은 없습니다.

벤치마크 baseline

benchmark 게이트는 크기 기준에서만 실패했습니다. vinext-devup-ui가 1,328,788바이트로 한도 1,301,442(baseline 1,288,557 + 1%)를 넘었고, 시간은 모두 허용 범위 안이었습니다. 늘어난 부분은 vinext 자체입니다.

  • 이 업데이트 전체를 적용하고 vinext만 1.4.6으로 두고 로컬에서 빌드하면 1,287,529바이트(baseline 수준)입니다. vinext 1.4.7로 같은 빌드를 하면 CI와 똑같은 1,328,788바이트가 나옵니다.
  • vinext 1.4.7은 자체 런타임 모듈(config-matchers, implicit-tags, root-params, route-fonts, __vinext_font_owner_manifest)을 추가합니다. server/index.js가 25 KB, client 청크가 18 KB 늘었습니다.
  • CSS는 baseline과 같은 9,033바이트이므로 Devup UI 출력은 늘지 않았습니다.

게이트 안내대로 커밋 a38d6b632에서 bun benchmark-check.js --write-baseline로 run 46244202627을 baseline에 추가하고 prettier로 정리했습니다. 다른 행의 크기는 줄었거나 노이즈 범위 안입니다.

검증

bun run build, cargo test --workspace, cargo clippy --all-targets --all-features -- -D warnings, cargo fmt --check, bun run test:bun(root와 vite 실행 모두 커버리지 100%, engine 테스트 포함), bun run lint. lint는 통과하지만 @eslint-react 5.30.7이 ThemeProvider의 <style>에 dom-no-dangerously-set-innerhtml 경고 하나를 추가합니다(에러는 아님). 바뀐 Rust 줄은 cargo llvm-cov로 확인했고 모두 커버됩니다.

stable Rust 커버리지

커밋 7045561d3에서 1.99.1 고정을 풀었습니다. 그러자 rust-coverage가 rustc 1.100.1과 cargo-tarpaulin 0.37.6으로 실행되어 실패했습니다.

98.59% coverage, 30814/31254 lines covered
ERROR cargo_tarpaulin: Coverage is below the failure threshold 98.59% < 100.00%

커버되지 않았다고 나온 440줄은 이 PR이 건드리지 않은 파일들(bindings/devup-ui-binding/src/host.rs, libs/css/src/quoted.rs, build_time_values.rs 등)에 흩어져 있습니다. 기존 주석에 적힌 match arm과 impl 첫 줄로, 실제로는 테스트가 실행하는 줄입니다. 커밋 302faa326에서 고정을 되돌렸고, 주석에는 1.100.1에서도 실패한다는 점을 덧붙였습니다. #1904가 들어간 tarpaulin이 릴리스되면 고정을 풀 수 있습니다.

🤖 Generated with Claude Code

owjs3901 and others added 3 commits November 29, 2026 17:29
dcu across all manifests (apps/react-18 stays on React 18; peer ranges
stay as they were), cargo update, Oxc 0.160.

Oxc 0.160 drops `NumberBase` and the `computed` flag: a non-computed
literal key is now `PropertyKey::StaticStringLiteral` /
`StaticNumericLiteral`, and `StringLiteral` keys print as `["a"]`. Keys the
extractor writes stay non-computed (computed only for `__proto__` records),
and key readers accept the static variants. Oxc now groups sequences in
JSX containers itself, so the reparse-and-parenthesize pass is removed.

typescript-eslint 8.74 no longer lets a `Property` value be a
`TSEmptyBodyFunctionExpression`, so that comparison goes. The vite native
fixtures take the long-name realpath, as Vite 8.4 reports module ids that way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the 1.99.1 hold on the coverage run so every Rust job uses the latest
stable release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Coverage on stable rustc 1.100.1 with cargo-tarpaulin 0.37.6 (still the
latest; the upstream fix xd009642/tarpaulin#1904 is unreleased) reads
98.59% (30814/31254), with the uncovered lines spread over match arms and
impl heads the tests run. Restore the hold until tarpaulin reads 1.100.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
libs/extractor/src/barrel.rs 100.00% <ø> (ø)
libs/extractor/src/build_time_values.rs 100.00% <100.00%> (ø)
libs/extractor/src/const_fold.rs 100.00% <ø> (ø)
libs/extractor/src/css_boundary.rs 100.00% <ø> (ø)
libs/extractor/src/css_prop.rs 100.00% <ø> (ø)
libs/extractor/src/emotion_namespace/bindings.rs 100.00% <ø> (ø)
...bs/extractor/src/emotion_namespace/declarations.rs 100.00% <ø> (ø)
libs/extractor/src/evaluation_sandbox_sites.rs 100.00% <100.00%> (ø)
...tractor/src/extractor/extract_style_from_styled.rs 100.00% <ø> (ø)
...ibs/extractor/src/extractor/styled_choice_tests.rs 100.00% <ø> (ø)
... and 41 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

vinext 1.4.7 ships more of its own runtime (config matchers, implicit tags,
root params, a font owner manifest): with everything else of this update
and vinext held at 1.4.6 the row builds 1,287,529 bytes, at 1.4.7
1,328,788. The CSS stays 9,033 bytes, so Devup UI's output is unchanged.
Recorded from run 46244202627 with `bun benchmark-check.js --write-baseline`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant