Skip to content

deps: upgrade devframe to v0.9.10 - #556

Merged
antfu merged 2 commits into
mainfrom
deps/devframe-0.9.10
Sep 4, 2026
Merged

deps: upgrade devframe to v0.9.10#556
antfu merged 2 commits into
mainfrom
deps/devframe-0.9.10

Conversation

@antfubot

@antfubot antfubot commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Description

Upgrades devframe (and every @devframes/* package) from ^0.9.8 to ^0.9.10 via the shared catalog ref.

The bump also required fixing the static-build RPC dump. devframe 0.9.10 changed collectStaticRpcDump: its files are now { serialization, fnName, data } wrappers with per-file structured-clone / json encoding, and the manifest carries the serialization per entry. Core's hand-rolled JSON.stringify(data) loop was baking the wrapper objects instead of the payloads, so the 0.9.10 client could not decode the dump. Core now delegates to devframe's shared writeStaticRpcDump — the same writer createBuild and the new buildHub (#339) use — and mirrors their connection-meta shape (backend + jsonSerializableMethods).

Verified end-to-end with a real cli build: record files now contain real payloads (json fallbacks as plain {inputs,output}; structured-clone records the client decodes via the manifest's serialization). pnpm typecheck && pnpm test && pnpm lint && pnpm build all pass.

Linked Issues

Follow-up filed upstream to make the new static-hub baker (buildHub) reusable in Vite DevTools without hand-rolling build-static.ts: devframes/devframe#347.

Additional context

The remaining 0.8.2/0.9.8 entries left in pnpm-lock.yaml come from a published @vitejs/devtools@0.5.2 pulled in transitively by a fixture — pre-existing, unrelated to this bump.

This PR was created with the help of an agent.

…RpcDump

devframe 0.9.10 changed collectStaticRpcDump: its files are now
{serialization, fnName, data} wrappers with per-file structured-clone or
json encoding, and the manifest carries the serialization per entry. The
hand-rolled JSON.stringify loop baked the wrapper objects instead of the
payloads, so the 0.9.10 client could not decode the dump. Delegate to the
shared writeStaticRpcDump helper (the same writer createBuild and buildHub
use) and mirror their connection meta shape (backend + jsonSerializableMethods).
@pkg-pr-new

pkg-pr-new Bot commented Sep 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@556

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@556

@vitejs/devtools-oxc

npm i https://pkg.pr.new/@vitejs/devtools-oxc@556

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@556

@vitejs/devtools-vite

npm i https://pkg.pr.new/@vitejs/devtools-vite@556

@vitejs/devtools-vitest

npm i https://pkg.pr.new/@vitejs/devtools-vitest@556

commit: 45954f9

@antfu
antfu merged commit bc2a9a4 into main Sep 4, 2026
10 checks passed
@antfu
antfu deleted the deps/devframe-0.9.10 branch September 4, 2026 01:27
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.

2 participants