3.16.2 is the next 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: Improve tree-shaking of
useRequestEventon client (#31586)
🩹 Fixes
- nuxt: Pass down attrs to
<Body>and<Html>(#31513) - nuxt: Use greedy catchall when
/indexis the last segment (#31528) - nuxt: Reset
page:loading:endhook before navigation (#31504) - nuxt: Write initial cookie value if different from
document.cookie(#31517) - nuxt: Support template string quotes in
resolveComponent(#31526) - nuxt: Show fatal errors thrown in middleware (#31518)
- nuxt: Use name to index route providers in dev (#31544)
- nuxt: Improve default scroll behaviour (#31545)
- vite: Return 404 for non-existent
_nuxt/paths in development (#31543) - nuxt: Pass error data to
error.vue(#31573)