4.2.1 is the next patch release.
✅ Upgrading
Our recommendation for upgrading is to run:
npx nuxt upgrade --dedupe
This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
👉 Changelog
🩹 Fixes
- kit,nuxt,schema: Deprecate
ImportPresetWithDeprecation(#33596) - nuxt: Correct warning message for prefetch/noPrefetch conflict (#33617)
- nitro: Remove
<nuxt-error-overlay>iframe border (#33625) - vite: Use rolldown replace only in build (#33615)
- nitro: Use directory paths in
moduleEntryPaths(#33628) - nitro: Start error overlay minimized based on status code (#33658)
- vite: Ensure
optimizeDepsconfig is applied before other plugins (#33586) - nuxt: Respect layer priority order for scanned components (#33654)
- nuxt: Process prerender routes on
pages:resolved(#33662) - nuxt: Remove abort signal event listeners after render (#33665)
- nuxt: Cleanup event listener with cleanup signal (#33667)
- vite: Update
vite-node()