Change8

v3.19.3

📦 nuxtView on GitHub →
5 features🐛 12 fixes🔧 8 symbols

Summary

Nuxt 3.19.3 is a patch release focusing on Vite performance optimizations, type compatibility for lazy components, and various fixes for useAsyncData and SSR rendering.

Migration Steps

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

✨ New Features

  • Performance: Use rolldown's replace plugin in Vite when applicable
  • Support head option on useHead
  • Support v-slot:fallback longform syntax in <DevOnly>
  • Add stubs for new scripts from @nuxt/scripts
  • Support typeFrom when generating auto-import type templates

🐛 Bug Fixes

  • Make lazy component types compatible with h function
  • Deduplicate inlined server style chunks in Vite
  • Do not relativise importmap if cdnURL is set
  • Resolve aliases in imports.dirs
  • Add missing element/vnode props for <NuxtLink>
  • Do not generate server placeholder components
  • Dedupe generated component names
  • Correctly handle island rendering errors
  • Prevent scroll trigger when changing trailing slash
  • Prevent duplicate execution on key change in useAsyncData
  • Handle non-immediate useAsyncData with different key on SSR
  • Make middleware _path property configurable for HMR

🔧 Affected Symbols

useHeadNuxtLinkDevOnlyuseAsyncDatahimports.dirstyped-router.d.tscomponentsIslandsTemplate