mastra-ai/mastra (mastracode@0.49.0) & nitrojs/nitro (v3.0.261103-rc) — Build & Runtime Deep Dive
Ships @mastra/core@mastracode@0.49.0 with upstream runti. Drop-in upgrade. Migration: None. Meanwhile, 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
Ships @mastra/core@mastracode@0.49.0 with upstream runtime refinements and stability fixes from mastra-ai/mastra.
Updates TypeScript declarations and internal module exports for mastracode@0.49.0.
Built-in `?assets` imports (#5013): ?assets imports are now built into Nitro, based on the original work by Hiroshi 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
- 01Upgrade @mastra/core via
npm install @mastra/core@mastracode@0.49.0. - 02Upgrade nitropack via
npm install nitropack@3.0.261103-rc.
npm install @mastra/core@mastracode@0.49.0
npm install nitropack@3.0.261103-rc