Change8

v3.17.4

📦 nuxtView on GitHub →
7 features🐛 11 fixes🔧 8 symbols

Summary

Nuxt 3.17.4 is a patch release focusing on performance optimizations using Sets and shallowRefs, alongside fixes for asyncData reactivity and ClientOnly attribute inheritance.

Migration Steps

  1. Run 'npx nuxi@latest upgrade --dedupe' to upgrade and deduplicate lockfile dependencies.

✨ New Features

  • Performance optimization: Use Set for circular dependency plugin and Array.includes checks
  • Performance optimization: Use shallowRef for primitive values
  • Performance optimization: Use Intl.Collator instead of localeCompare
  • Support reactive keys in useLazyAsyncData
  • Pass attributes down to single child of <ClientOnly>
  • Add additional logging when skipping error pages for bots/crawlers
  • Add watch paths outside srcDir to parcel strategy

🐛 Bug Fixes

  • Do not await lazy asyncData inside <ClientOnly>
  • Respect cachedData with multiple asyncData calls
  • Clear async data after a tick
  • Use ts-checker-rspack-plugin for Rspack builds
  • Clear previous head in island-renderer
  • Handle virtual files prefixed with /
  • Remove nitro options from DeepPartial schema
  • Ensure legacy async data remains reactive
  • Vite: Do not replace global with globalThis
  • Suppress client-side errors by crawlers
  • Use fresh route when <NuxtLayout> first renders

🔧 Affected Symbols

useLazyAsyncDatauseNuxtDataasyncData<ClientOnly><NuxtLayout>island-renderershallowRefimports.dirs