trpc/trpc (v11.24.0) & nitrojs/nitro (v3.0.261103-rc) — Runtime Hardening & Patch Advisory
fix(tanstack-react-query): reset useSubscription to idle w. Drop-in upgrade. Migration: None. Additionally, nitrojs/nitro (v3.0.261103-rc): Built-in ?assets imports (#5013): ?assets imports are. Pre-release build; test in staging. Migration: Low.
Architectural Deep-Dive & Systems Impact
fix(tanstack-react-query): reset useSubscription to idle when the server stops by @okxint in #7620
fix(client): transformer error typo, and check docs links in package sources by @KATT in #7809
Built-in `?assets` imports (#5013): ?assets imports are now built into Nitro, based on the original work by Hiroshi Ogawa (@hi-ogawa). nitro/rsbuild supports them too.
Vite `base` ⇄ Nitro `baseURL` (#5022): vite build --base /app/ now serves routes and assets under /app/. Without a Vite base, Nitro baseURL is used as the Vite `base...
Actionable Upgrade & Verification Checklist
- 01Review and apply @trpc/server (v11.24.0).
- 02Review and apply nitropack (v3.0.261103-rc).
npm install @trpc/server@11.24.0
npm install nitropack@3.0.261103-rc