You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates all monorepo dependencies to their latest versions (pnpm up -r -L) and regenerates the lockfile from scratch.
Notable changes:
etag 1 → 2: v2 only has a named export (import { etag } from "etag") and builds tags from sha256 ("<size>~<base64url>"), so the static asset etag test expectation changed.
@rsbuild/core 2.3.1 → 2.3.8: Rsbuild's htmlFallback now looks for index.html in the dist paths of the environments it serves, which includes the client env, and Nitro points that env at publicDir. Missing assets sent on by the dev handler were answered with the client index.html (200). The dev handler now replies 404 itself, and still sends /favicon.ico on so Rsbuild can return 204 for it.
oxfmt bumped to >=0.81.0 (pnpm up -L skips >= ranges). This reformats one type alias.
Solid examples stay on solid-js 1.x: vite-plugin-solid and @solidjs/start don't support solid-js 2 yet. solid-js 1.9.20 is blocked by trustPolicy (it has no trust evidence), so it stays at 1.9.18.
deps.json ranges still cover the tested versions (pnpm sync-deps).
No actionable comments were generated in the recent review.
Walkthrough
The pull request updates dependency version ranges in the root package and multiple examples. It changes ETag imports to use a named export, updates a static-asset test expectation, and changes how the Rsbuild handler responds to certain asset requests.
Changes: Dependency and ETag updates
Layer / File(s)
Summary
Refresh example dependencies docs/4.examples/*, examples/*/package.json
Dependency version ranges were updated in the example documentation and matching package manifests.
Root dependency ranges were updated, including etag. ETag imports now use the named export, and the static-asset test expects a new ETag. LibOption was reformatted without changing its type or validation message.
Rsbuild asset request handling
Layer / File(s)
Summary
Handle HTML responses to asset requests src/build/rsbuild/_dev.ts
For successful HTML responses to asset requests, the handler continues /favicon.ico to the next middleware and returns an empty 404 for other asset requests.
Merge Risk: Minimal · up to 0f1c3 · assessed changes only
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "chore(deps): update all dependencies" follows the conventional commits format (type "chore", scope "deps", description). The changeset updates many dev dependencies across the monorepo and …
Description check
The description states that all monorepo dependencies were updated with pnpm up -r -L and the lockfile was regenerated. It also lists the notable changes: the etag 1 to 2 migration, the @rsbuild/cor…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "chore(deps): update all dependencies" follows the conventional commits format (type "chore", scope "deps", description). The changeset updates many dev dependencies across the monorepo and examples, so the title matches the main change. It does not state the specific updates, but it is not vague.
Full details: Description check
Explanation
The description states that all monorepo dependencies were updated with pnpm up -r -L and the lockfile was regenerated. It also lists the notable changes: the etag 1 to 2 migration, the @rsbuild/core 2.3.8 dev handler change, the oxfmt bump, and keeping Solid examples on solid-js 1.x. These match the raw summary and objectives.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 73864841-69fe-40a0-8969-c5fa0ac9775d
Commits
Reviewing files that changed from the base of the PR and between 68b734e and 0f1c32c.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 39
docs/4.examples/elysia.md
docs/4.examples/hono.md
docs/4.examples/rsbuild-ssr-html.md
docs/4.examples/rsbuild-ssr-react.md
docs/4.examples/rsbuild-ssr-tss-react.md
docs/4.examples/takumi.md
docs/4.examples/vite-rsc.md
docs/4.examples/vite-ssr-preact.md
docs/4.examples/vite-ssr-react-router.md
docs/4.examples/vite-ssr-react.md
docs/4.examples/vite-ssr-solid.md
docs/4.examples/vite-ssr-solidstart.md
docs/4.examples/vite-ssr-tsr-react.md
docs/4.examples/vite-ssr-tss-react.md
docs/4.examples/vite-ssr-vue-router.md
docs/4.examples/vite-trpc.md
examples/elysia/package.json
examples/hono/package.json
examples/rsbuild-ssr-html/package.json
examples/rsbuild-ssr-react/package.json
examples/rsbuild-ssr-tss-react/package.json
examples/takumi/package.json
examples/vite-rsc/package.json
examples/vite-ssr-preact/package.json
examples/vite-ssr-react-router/package.json
examples/vite-ssr-react/package.json
examples/vite-ssr-solid/package.json
examples/vite-ssr-solidstart/package.json
examples/vite-ssr-tsr-react/package.json
examples/vite-ssr-tss-react/package.json
examples/vite-ssr-vue-router/package.json
examples/vite-trpc/package.json
package.json
src/build/rsbuild/_dev.ts
src/build/virtual/public-assets.ts
src/build/virtual/server-assets.ts
src/types/_utils.ts
test/tests.ts
test/vite/tsconfig-paths-fixture/server.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates all monorepo dependencies to their latest versions (
pnpm up -r -L) and regenerates the lockfile from scratch.Notable changes:
import { etag } from "etag") and builds tags from sha256 ("<size>~<base64url>"), so the static asset etag test expectation changed.htmlFallbacknow looks forindex.htmlin the dist paths of the environments it serves, which includes the client env, and Nitro points that env atpublicDir. Missing assets sent on by the dev handler were answered with the clientindex.html(200). The dev handler now replies 404 itself, and still sends/favicon.icoon so Rsbuild can return 204 for it.>=0.81.0(pnpm up -Lskips>=ranges). This reformats one type alias.vite-plugin-solidand@solidjs/startdon't support solid-js 2 yet. solid-js 1.9.20 is blocked bytrustPolicy(it has no trust evidence), so it stays at 1.9.18.deps.jsonranges still cover the tested versions (pnpm sync-deps).🤖 Generated with AI assistant