Change8

v3.21.5

📦 nuxtView on GitHub →
🐛 14 fixes🔧 4 symbols

Summary

Nuxt v3.21.5 is a patch release focusing primarily on bug fixes across Nitro, Vite, and Nuxt core, alongside performance improvements in the kit layer.

🐛 Bug Fixes

  • Fixed an issue where payload route rules for / were incorrect when overriding ssr: true in Nitro.
  • Resolved recursive rendering deadlocks during prerendering in Nitro.
  • Dropped redundant CSS links when entry styles are inlined in Vite.
  • Ensured suspense remount only occurs after the first resolve in Nuxt.
  • Fixed an issue where .env files were not read before resolving the Nuxt schema in kit.
  • Preserved the serverHandlers array after running nitro:config hook.
  • Improved logic to only consider CSS inlined when styles are actually emitted in Vite.
  • Handled string presets correctly in Nuxt auto-imports.
  • Corrected island transformation for server pages and 'deep' mode in Nuxt.
  • Inlined CSS for non-island children of server components in Vite.
  • Deferred head DOM updates until page transition finishes in Nuxt.
  • Explicitly froze head during the island plugin phase in Nuxt.
  • Inlined CSS imported from non-Vue JS modules in Vite.
  • Removed an unused middleware in Nitro.

Affected Symbols