Change8

v3.17.2

📦 nuxtView on GitHub →
1 features🐛 13 fixes🔧 7 symbols

Summary

Nuxt 3.17.2 is a patch release focusing on performance optimizations via tree-shaking and numerous fixes for asyncData, useFetch, and routing behavior.

Migration Steps

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

✨ New Features

  • Tree-shake router's handleHotUpdate in production for better performance

🐛 Bug Fixes

  • Ensure asyncData is initialised before effects run
  • Skip view transition if user agent provides one before defining transition
  • Improve hashing for complex body in useFetch
  • Immediately call asyncData within client-only components
  • Don't render errors if event is already handled
  • Track whether need to reinit asyncData separately from deps
  • Preserve params/meta/matched with universal router
  • Respect scroll behavior set by scrollToTop
  • Load live data from vfs even if a file exists in buildDir
  • Short circuit middleware when validate returns false
  • Ensure useAsyncData reactive to key changes when immediate: false
  • Resolve real paths imported into virtual files
  • Broaden WarningFilter type in webpack and schema

🔧 Affected Symbols

useAsyncDatauseFetchscrollToTophandleHotUpdateWarningFilterwarningIgnoreFiltersasyncDataDefaults