3.6.2 is the next patch release, with a raft of fixes including preparations for use without
--shamefully-hoist
and some fixes for data fetching within nested layouts/pages.
✅ 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 unjs ecosystem.
👉 Changelog
🔥 Performance
- nuxt: Don't run island transform plugin if disabled (#21844)
- nuxt: Allow hmr for server components in dev mode (#21916)
- nuxt: Use getters when constructing reactive routes (#21957)
🩹 Fixes
- nuxt: Only redirect if path is not the same as initial url (#21815)
- cli: Resolve
@nuxt/ui-templates
frommodulesDir
(#21836) - nuxt, vite: Do not use cjs utils to resolve/alias vue (#21837)
- nuxt: Improve default prerender behaviour (#21817)
- vite: Greater type-safety within runtime vite-node (#21849)
- nuxt: Ensure static presets equivalent to
nuxi generate
(#21860) - nuxt: Handle injecting multiple entry ids for styles (#21864)
- nuxt: Stop loading indicator on navigation failure (#21751)
- cli: Respect nitro ssl cert/key variables (#21912)
- nuxt: Include external layers in
tsconfig.json
scope (#21917) - nuxt: Support custom route name meta with
typedPages
(#21659) - vite: Remove @vue/ scoped libraries from resolutions (#21922)
- nuxt: Add layers in
node_modules
to tsconfig include (#21929) - nuxt: Regenerate imports after template (#21934)
- vite: Fix issue detecting shadowed keyed composables (#21891)
- nuxt: Use
$fetch.raw
in dev client mode for islands (#21904) - schema: Warn if user provides
vite.publicDir
(#21847) - nuxt: Preserve old vnode when leaving nested route (#21823)
- kit: Ignore telemetry startup time (as it has prompt) (#21959)
📖 Documentation
- Add warning about dynamic import of css (#21805)
- Update example links (#21811)
- Fix broken
spaLoadingTemplate
link (#21845) - Update useFetch return values (#21852)
- Describe environment override feature (#21879)
- Add Daniel example for hybrid rendering and Vercel (20d59d1cf)
- Improve hybrid rendering (3fb329cc8)
- rendering: Add end of sentence (565787183)
- Add closing bracket (#21887)
- Added a note about server dynamic routes limitation (#21919)
- Update docs for
<NuxtLoadingIndicator>
(#21952) - Update more links to examples repo (13a892361)
- Add JetBrains IDEs debug configuration (#21965)
🏡 Chore
✅ Tests
- Add
nuxt-vitest
and composable unit tests (#21884)
❤️ Contributors
- Mateusz Kulpa (@mateuszkulpa)
- Daniel Roe (@danielroe)
- Nozomu Ikuta (@NozomuIkuta)
- Julien Huang (@huang-julien)
- Muhamad Jamil (@Fanreza)
- Anhao (@ah-dc)
- Anthony Fu (@antfu)
- Agénor Debriat (@agenordebriat)
- ChronicStone (@ChronicStone)
- Ali Azimi (@ali4zimi)
- Vasek (@vasek-code)
- Sébastien Chopin (@Atinux)
- Aditya Rawat (@adityarawat1223)
- Lucas Vargas (@vargasmesh)
- David Stack (@davidstackio)
- Rayan Inerky (@InerkyJad)