v3.10.2
版本发布时间: 2024-02-14 21:03:40
nuxt/nuxt最新发布版本:v3.13.2(2024-09-16 05:27:05)
3.10.2 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
🩹 Fixes
-
nuxt: Export
refreshCookie
(#25635) - nuxt: Allow prefetching urls with query string (#25658)
- nuxt: Remove undefined keys in route object (#25667)
-
vite: Treat
.pcss
extension as a CSS extension (#25673) -
nuxt: Don't check for layout/page with
<ClientOnly>
(#25714) - vite: Strip query strings for style chunk filenames (#25764)
- nuxt: Inline entry styles before component styles (#25749)
- vite: Optimise layer dependencies with vite (#25752)
-
nuxt: Don't add extra
baseURL
on serveruseRequestURL
(#25765) -
schema: Use
rootDir
, notprocess.cwd
, formodulesDir
(#25766) -
nuxt: Only warn for
useId
if attrs were not rendered (#25770) - kit: Don't mutate existing component entry when overriding (#25786)
📖 Documentation
- Fix typo in
useAsyncData
docs (#25644) - Add quotes to clarify what site title is in example (#25669)
- Enable twoslash for some code snippets (#25679)
- Add prepend option docs for
addComponentsDir
(#25683) - Extend auto-scanned layer directories (#25720)
- Improve wording in seo docs (#25692)
- Add how to debug nuxt with node inspector (#25731)
- <script setup> changed to <script setup lang="ts"> ([#25750](https://github.com/nuxt/nuxt/pull/25750))
- Add missing export defaults for nuxt config (#25774)
- Add import statement for mountSuspended (#25783)
- Pass
event
touseRuntimeConfig
(#25788)
🏡 Chore
- schema: Add missing closing code block (#25641)
❤️ Contributors
- Sam Blowes (@blowsie)
- Daniel Roe (@danielroe)
- yoshihirokurosaki (@irishkooky)
- Eduardo San Martin Morote (@posva)
- Mahdi Shah Abbasian (@shahabbasian)
- João Carmona (@jpsc)
- Naim Ahmed Shuvo (@shuvo-me)
- Denis L (@DenisLug)
- GJSSSS (@gjssss)
- Anthony Fu (@antfu)
- Aman Desai (@amandesai01)
- Stephen Strange (@byStrange)
- Žan Fras (@frasza)
- Santiago Morales (@Aleroms)
- Hendrik Heil (@hendrikheil)