4.2.1 is the next patch release.
✅ Upgrading
Our recommendation for upgrading is to run:
npx nuxt upgrade --dedupeThis 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(#33663) - vite: Respect vite proxy in dev middleware (#33670)
💅 Refactors
- kit,nitro,nuxt,schema,vite: Explicitly import process/performance (#33650)
📖 Documentation
- Fix typo in eslint flat config description (#33569)
- Add signal support to useAsyncData examples (#33601)
- Document
pendingas alias ofstatus === 'pending'(#33221) - Note that
cookieStoreistrueby default (#33572) - Add information on types for server context (#33511)
- Mark webstorm issue resolved (#33608)
- Clarify route middleware doesn't affect API routes (#33643)
- Improve docs for
useHead/useHydration/useLazy*(#33626) - Update link to nitro source to v2 branch (08018af4f)
- Add typescript documentation for module authors (#33637)
- Typo (#33655)
🏡 Chore
- Update URLs (#33567)
- Add
verifyDepsBeforeRun: install(#33603) - Reduce redirects in docs links (1cc539325)
- Lint docs (0b5fa5dea)
🤖 CI
- Disable cache in release action (ff37598bc)
❤️ Contributors
- Daniel Roe (@danielroe)
- Anthony Fu (@antfu)
- Robin (@OrbisK)
- abeer0 (@iiio2)
- Bobbie Goede (@BobbieGoede)
- Florian Heuberger (@Flo0806)
- Matej Černý (@cernymatej)
- Peter Budai (@peterbud)
- Julien Huang (@huang-julien)
- Max (@onmax)
- 纸鹿/Zhilu (@L33Z22L11)
- Hinata Oishi (@te19oishi)
- Damian Głowala (@DamianGlowala)
- Maxime Pauvert (@maximepvrt)
- Raed Abdennadher (@RaedAbr)