Change8

v3.20.1

📦 nuxtView on GitHub →
🐛 10 fixes1 deprecations🔧 9 symbols

Summary

Nuxt 3.20.1 is a patch release focusing on Vite optimization fixes, Nitro error overlay improvements, and better handling of component layer priorities.

Migration Steps

  1. Run 'npx nuxt upgrade --dedupe --channel=v3' to upgrade and deduplicate the lockfile.

🐛 Bug Fixes

  • vite: Unset optimizeDeps.include for server environment to prevent unnecessary optimization.
  • nuxt: Correct warning message for prefetch/noPrefetch conflict.
  • nitro: Remove <nuxt-error-overlay> iframe border and start it minimized based on status code.
  • vite: Use rolldown replace only in build mode.
  • nitro: Use directory paths in moduleEntryPaths.
  • vite: Ensure optimizeDeps config is applied before other plugins.
  • nuxt: Respect layer priority order for scanned components.
  • nuxt: Process prerender routes on pages:resolved hook.
  • nuxt: Remove abort signal event listeners after render and cleanup event listener with cleanup signal.
  • vite: Respect vite proxy in dev middleware.

🔧 Affected Symbols

ImportPresetWithDeprecationoptimizeDepsmoduleEntryPathspages:resolveduseAsyncDatauseHeaduseHydrationuseLazyFetchuseLazyAsyncData

⚡ Deprecations

  • Deprecate ImportPresetWithDeprecation in kit, nuxt, and schema.