v3.12.3
版本发布时间: 2024-07-02 23:06:58
nuxt/nuxt最新发布版本:v3.13.2(2024-09-16 05:27:05)
3.12.3 is the next regularly scheduled patch release.
👉 Changelog
🔥 Performance
-
nuxt,vite: Use native fs utils rather than
fs-extra
(#27787) -
schema: Use
chokidar
when a customsrcDir
is provided (#27871) -
nuxt: Ensure
prefetchComponents
is treeshaken on server (#27905)
🩹 Fixes
- nuxt: Flag async data promise as cancelled only if defined (#27690)
-
schema: Handle backwards compat for
dir.app
(0c73cb734) - nuxt: Support hoisting types of subpath imports (#27720)
-
nuxt: Resolve routes when
navigateTo
called withopen
(#27742) - nuxt: Handle subpaths more correctly (d7402a799)
- nuxt: Delay navigation until user input is acknowledged (#27743)
- nuxt: Resolve aliases used in nitro plugin paths (#27741)
- schema: Do not use full path assets/public aliases (d0518650f)
- nuxt: Defer registering inp handler until nuxt is mounted (866a5319a)
-
nuxt: Add
refresh
type in server component refs (#27778) - nuxt: Extract all-literal page meta (#27821)
- kit: Handle loading nuxt 4+ (cf251bd48)
- nuxt: Handle external links to named route objects (#27829)
- nuxt: Use URL to encode redirected URLs (#27822)
- nuxt: Don't use app version when verifying nuxt deps (#27864)
- nuxt: Prompt to set compatibility date with latest nitro (#27893)
-
nuxt: Add
#vue-router
alias for backwards compat (#27896) -
nuxt: Move app augments to core
nuxt
types (#27900) - nuxt: Pass augmented pages to child paths (ecb35d3a2)
- nuxt: Use pascal name when loading server component (#27928)
- nuxt: Improve async data warning (#27874, #27934)
- nuxt: Allow configuring server components in modules (#27936)
-
vite: Omit css
?raw
from head when in dev mode (#27940) - kit,nuxt: Ensure webworker types are available (4cab71d66)
- nuxt: Seed crawler when prerendering pages (#27955)
- vite: Fix type issue with legacy dev bundler (f9fa1a3e9)
- nuxt: Improve dx around compatibility date prompt (#27965)
💅 Refactors
-
kit,nuxt: Use
performance.now
to measure time (d14f7ec46)
📖 Documentation
- Add referral query variable to Vue School Links (#27670)
- Fix variable name (#27675)
- Clarify how transitions are configured globally (#27679)
- Remove outdated recommendation (#27691)
- Add
refreshCookie
onuseCookie
doc page (#27744) - Sync changes from
main
branch (e7fbc9f81) - Remove outdated tip (#27773)
- Warn about awaiting
useFetch
/AsyncData
in wrappers (#27785) - Update some code groups with package manager examples (#27791)
- Hint to use runtime config (#27859)
- Use internal link (#27883)
- Update links to
vue-router
docs (#27895) - Use internal link (#27894)
- Remove warning about type checking (#27911)
-
compatibilityVersion
is available in the latest release (#27919) - Update roadmap + readme (748bc751d)
- Update
Nuxt 3
->Nuxt
orNuxt 3+
(3c16c890c) - Update reference to nightly release for testing nuxt 4 (5d2dc9714)
- Remove duplicate server-side notice in runtime config (#27929)
- Warn about ref unwrapping when auto-importing
ref
s (#27933) - Mention layers in directory guide (c222fe7aa)
🏡 Chore
- Use absolute urls for sources to assets in readme (5ef305cec)
- Use relative links and update in build script (7dd15186e)
- Use backup file extension (a42a3869b)
- Allow changelogs with breaking changes (e11587189)
- Allow major bumps (dea0b86c7)
- Add
4x
tag for v4 nightly releases (9d5dd5494) -
vite: Restore utils required for
dev-bundler
(e3448fa0d) - Remove nitro/h3 from renovate, and reenable vitejs/vue (9037b0d2c)
- Improve type safety with indexed access (#27626)
- Add @danielroe to code owners (7fa957729)
- Remove renovate configuration from
2.x
branch (8003cf72f) - Remove issue template for 2.x (9f9fb9251)
- Remove unused variable (f07969d88)
✅ Tests
- schema: Normalize snapshot paths for windows (#27654)
- nuxt: Normalize paths for windows (#27653)
- Bump timeout for node-compat test (228b8b889)
- Slightly improve test reliability (#27811)
🤖 CI
- Update changelog from 3.x branch updates (2b6967fbb)
- Add 3x tag instead (c0ef279f2)
- Run workflows against 3.x branch as well (31255a14d)
- Use correct SHA calculation for release-pr action (#27604)
- Resolve bash syntax error (#27789)
- Only run scorecards against
main
branch (7abd982f8) - Raise renovate prs against 3.x branch too (f176c150a)
- Ignore
@vitejs/plugin-vue
again (56660cbdd) - Prevent more than one release from occurring at same time (71705550f)
- Don't run changelog update on 2.x branch (1be639364)
❤️ Contributors
- Daniel Roe (@danielroe)
- Typed SIGTERM (@typed-sigterm)
- Seno (@s-en-o)
- Julien Huang (@huang-julien)
- Michael Brevard (@GalacticHypernova)
- Ryota Watanabe (@wattanx)
- Martin Masevski (@Archetipo95)
- Alex Liu (@Mini-ghost)
- Bochkarev Ivan (@Ibochkarev)
- Alexander Lichter (@manniL)
- Dominic (@rexhent)
- Aviv Keller (@RedYetiDev)
- Maxime Pauvert (@maximepvrt)
- Daniel Kelly (@danielkellyio)
- Damian Głowala (@DamianGlowala)
- Idorenyin Udoh (@idorenyinudoh)