3.9.1 is a regularly scheduled patch release.
✅ Upgrading
As usual, our recommendation for upgrading is to run:
nuxi upgrade --force
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems.
👉 Changelog
🔥 Performance
- nuxt: Avoid multiple iterations in
useRequestHeaders
(#24853) - kit,schema,nuxt: Refactor
startsWith
to array access (#24744) - nuxt: Use single iteration when normalising routes (#24946)
- nuxt: Remove some line breaks when rendering html (#24888)
🩹 Fixes
- nuxt: Catch error in
NuxtErrorBoundary
withssr: false
(#24896) - kit: Show correct error when module can't be loaded (#24957)
- nuxt: Deeply watch island props (#24986)
- nuxt: Don't show transition on initial page load (#24935)
- nuxt: Clone cookie to detect changes within object (#25007)
- nuxt: Do not warn about missing layouts on error page (#25008)
- nuxt: Ignore plugins typed as
any
in inferred injections (#25010) - nuxt: Reuse intermediate setup state in
<ClientOnly>
(#25009) - nuxt: Skip scanning layout/middleware without name (#25015)
- nuxt: Wrap universal router
currentRoute
inRef
(#25026) - nuxt: Stop loading indicator if page keys are the same (#24931)
💅 Refactors
- nuxt: Remove old reference to
nuxt-config-schema
(#25067)
📖 Documentation
- Switch
features
/future
docs (f5676fba5) - Corrected json syntax in 7.esm.md (#24937)
- Specify yarn pnp opt-out for install (#24923)
- Capitalise hash for
vue-router
docs link (#24948) - Add badge for callOnce utility (792cf6713)
- Warn about hydration issue with URL fragment (#24961)
- Mention
readValidatedBody
andgetValidatedQuery
(#24990) - Add missing imports for nitro examples (#25003)
- Add an example of provide with object syntax plugins (#24993)
- Update EOL date for Nuxt 2 (afbc4080b)
- Add callout for
getValidatedRouterParams
(#25057) - Warn about ref unwrapping when providing refs from plugin (#25054)
🏡 Chore
- Add bullet for adding tests in pr template (2bda817ea)
✅ Tests
❤️ Contributors
- Pooya Parsa (@pi0)
- Julien Huang (@huang-julien)
- Michael Brevard (@GalacticHypernova)
- Luke Nelson (@luc122c)
- Alex Liu (@Mini-ghost)
- Daniel Roe (@danielroe)
- Alireza Jahandideh (@Youhan)
- Mateusz Kulpa (@mateuszkulpa)
- Bernhard Berger (@bernhardberger)
- Peter (@tada5hi)
- Sébastien Chopin (@Atinux)
- heygsc (@heygsc)
- Clément Ollivier (@clemcode)
- Soheil Nazari (@s0h311)
- Alexander Lichter (@manniL)