v3.12.4
版本发布时间: 2024-07-19 06:33:44
nuxt/nuxt最新发布版本:v3.14.1592(2024-11-20 04:54:11)
3.12.4 is the next regularly scheduled patch release.
👉 Changelog
🔥 Performance
- vite: Start warmups after nitro build (#27963)
-
vite: Avoid extra resolve call for
resolveId
in layers (#27971) - kit,nuxt,schema,vite,webpack: Use explicit exports (#27998)
🩹 Fixes
- schema: Resolve public alias correctly (#27975)
-
nuxt: Omit rendering payload prefetch when
noScripts
(#27972) -
nuxt: Add
/
as fallback if page can't be identified (e6109b226) -
ui-templates: Validate templates with
html-validate
(#28024) - schema: Don't constrain postcss plugin options (#28045)
- kit: Remove exports from v4 branch (5c8312e9b)
-
nuxt: Use
unhead
key for ad-hoc module options (#28088) - nuxt: Use native vue-router composables (#28114)
-
kit: Ensure
getNuxtVersion
returnsstring
(#28125) - nuxt: Always prerender at least one page with crawler (#28131)
-
nuxt: Consider doc
scroll-padding-top
in scrollBehavior (#28083) -
nuxt: Only warn when
useAsyncData
returns undefined (#28154) -
nuxt: Revert change to
getCachedData
null response (d10cea11b) -
schema: Don't use
app/
assrcDir
if it doesn't exist (#28176) -
kit: Normalise
serverDir
within layers using v4 compat (#28177) -
nuxt: Allow
getCachedData
to return undefined (#28187) -
nuxt: Use
addEventListener
to register cookie store listener (#28193) - nuxt: Merge route meta properties with scanned meta (#28170)
-
nuxt: Prevent duplicate
set-cookie
headers (#28211)
💅 Refactors
-
schema,vite,webpack: Rework
postcss
module loading (#27946) -
nuxt: Remove
_registeredComponents
from ssrContext (#27819) -
nuxt: Use
errx
to handle dev log traces (#28027)
📖 Documentation
- Fix link (83bd4fde9)
- Fix Cloudflare spelling (#27989)
- Update example to use
nuxtApp.runWithContext
(#28000) - Remove deprecated
pending
variable from data fetching docs (#28011) - Clarify xrsp danger (#28053)
- Deprecate pending and emphasis undefined (#28113)
- Update phrasing in route announcer (#28108)
- Use code groups for install commands in module guide (#28094)
- Capitalize text (#28056)
- Mention content in upgrade guide v4 folder structure (#28090)
- Remove a resolved issue from view transition docs (#28091)
- Clarify navigateTo is not for nitro routes (#28092)
- Warn about nested islands (#28062)
- Add info about
layers/
directory (#28128) - Codemods for migrating to Nuxt 4 (#28072)
✅ Tests
- Add
typeCheck
test in minimal build (#28166)
🤖 CI
❤️ Contributors
- Daniel Roe (@danielroe)
- arshcodemod (@arshcodemod)
- xjccc (@xjccc)
- Julien Huang (@huang-julien)
- BoogieBen (@boogie-ben)
- Santiago A (@santiagoaloi)
- Bobbie Goede (@BobbieGoede)
- John Tanzer (@moshetanzer)
- Thomas (@ThomasWT)
- @beer (@iiio2)
- Dominic (@rexhent)
- Alex Liu (@Mini-ghost)
- Florian Metz (@Timeraa)
- Liran Tal (@lirantal)
- Daniel Kelly (@danielkellyio)
- Daniel Flanagan (@FlantasticDan)
- 山吹色御守 (@KazariEX)
- izzy goldman (@izzygld)
- Anthony Fu (@antfu)