v3.20.2
📦 nuxtView on GitHub →
🐛 14 fixes🔧 7 symbols
Summary
Nuxt 3.20.2 is a patch release focusing on Nitro integration fixes, improved type safety for callOnce, and stability improvements for useAsyncData and module dependency resolution.
Migration Steps
- Run 'npx nuxt upgrade --dedupe --channel=v3' to upgrade and deduplicate the lockfile.
- If the upgrade command fails due to an old @nuxt/cli version, use 'npx nuxi@latest' for the initial upgrade.
🐛 Bug Fixes
- nitro: Do not show pretty error handler when testing
- nuxt: Generate valid references for component declaration items
- nuxt: Sync internal route before calling page:finish hook
- nitro: Ensure html is a string before injecting error handler
- nitro: Include layer server directories in tsconfig.server.json
- nuxt: Ensure deduped async data executions return latest promise
- kit,nuxt: Type + respect moduleDependencies by meta name
- nuxt,schema: Ignore .d.vue.ts declarations
- kit,nuxt: Protect against resolved nuxt module subpath
- nuxt: Re-execute callOnce during HMR
- nuxt: Resolve watch callback after reactive key change in useAsyncData
- nuxt: Escape HTML in development error page stack trace
- kit: Do not add resolved rootDir to cached layer config
- kit,schema: Add moduleDependencies -> installModule
🔧 Affected Symbols
page:finishtsconfig.server.jsonuseAsyncDatamoduleDependenciescallOnceinstallModulerootDir