3.17.2 is a regularly-scheduled patch release.
✅ Upgrading
Our recommendation for upgrading is to run:
npx nuxi@latest upgrade --dedupe
This 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
🔥 Performance
- nuxt: Tree-shake router's
handleHotUpdate
in production (#31971)
🩹 Fixes
- nuxt: Ensure asyncData is initialised before effects run (#31946)
- nuxt: Skip view transition if user agent provides one before defining
transition
(#31945) - nuxt: Improve hashing for complex body in
useFetch
(#31963) - nuxt: Immediately call asyncData within client-only components (#31964)
- nuxt: Don't render errors if event is already handled (#31966)
- nuxt: Track whether need to reinit asyncData separately from deps (#31965)
- nuxt: Preserve params/meta/matched with universal router (#31950)
- nuxt: Respect scroll behavior set by
scrollToTop
(#31914) - nuxt: Load live data from
vfs
even if a file exists inbuildDir
(#31969) - nuxt: Short circuit middleware when validate returns false (#31967)
- nuxt: Ensure
useAsyncData
reactive tokey
changes whenimmediate: false
(#31987) - nuxt: Resolve real paths imported into virtual files (0bb07f129)
- webpack: Broaden
WarningFilter
type (2a79dbd68) - schema: Broaden
warningIgnoreFilters
(a62e808ac)
📖 Documentation
- Add missing article (#31952)
- Improve
@nuxt/kit
documentation (#31793) - Fix type issues in twoslash blocks (85ab105b8)
- Add events page (#31977)
🏡 Chore
✅ Tests
- Update bundle size snapshot (e03d44b47)
- Update bundle size (7f75f5ea5)
- Update bundle size again (e8a244bfc)
- Use
asyncDataDefaults.value
(91568c5da)
🤖 CI
❤️ Contributors
- Daniel Roe (@danielroe)
- Alex Liu (@Mini-ghost)
- Martins Zeltins (@martinszeltins)
- Ivan Martianov (@ivansky)
- Lorenzo Fiamingo (@lorenzofiamingo)
- James (@Koshux)