v4.6.2
Fixed 29
- Apply useHeadSafe rules to server island head
- Read router params from the path h3 matched in nitro-server
- Match server route rules case-insensitively unless routing is sensitive behavior changed · inferred, marked in the notes below
- Resolve rooted paths through the URL parser
- Resolve empty route types in shared context
- Preserve server tsconfig with relocated build dir
- Fix scroll offset for IDs starting with numbers
- Do not exclude module directories with a dot in their name from app tsconfig
- Detect vapor slots with rawVaporSlotKey from vue
- Keep middleware layout when restoring deferred prerendered route
- Provide default value for experimental.typescriptPlugin
- Only replay compile error overlays to newly loaded pages in vite
- Re-export AnyFetchPath for emitted server route types
- Warm up the dev ssr entry from a nitro plugin
- Avoid unused h3 imports in nuxt/server runtime
- Scope asset url helpers to the build in vite-server
- Resolve nuxt/app to the app's runtime
- Lowercase filename-derived handler method on nitro v2
- Normalise string/array appMiddleware
- Pass response headers to render:response listeners
- Resolve inlined vue to its bundler build in dev
- Do not start a page transition with no page to leave
- Preserve error state on aborted or cancelled navigation
- Link null-byte virtual css through /@id/ in dev
- Resolve module dependencies from the declaring module in kit
- Only disable h3 and nitro presets when nitroAutoImports is off
- Stop accessing unspecified dependencies in nitro and vite
- Do not inline deps under absolute transpile dirs in nitro
- Respect spa loading template location in vite-server
1 change to check, marked in the notes below
From Nuxt
v4.6.2 is the next patch release.
👉 Changelog
🩹 Fixes
- nitro: apply
useHeadSaferules to server island head (493565e99) - nitro-server: read router params from the path h3 matched (
010f6b43d) - nitro: match server route rules case-insensitively unless routing is sensitive (
f6cfee52c) behavior changed · inferred - nuxt: resolve rooted paths through the URL parser (#36617)
- nuxt: resolve empty route types in shared context (#36576)
- nitro: preserve server tsconfig with relocated build dir (#36494)
- nuxt: fix scroll offset for IDs starting with numbers (#36524)
- kit: do not exclude module directories with a dot in their name from app tsconfig (#36331)
- nuxt: detect vapor slots with
rawVaporSlotKeyfrom vue (#36614) - nuxt: keep middleware layout when restoring deferred prerendered route (#36560)
- schema: provide default value for
experimental.typescriptPlugin(#36561) - vite: only replay compile error overlays to newly loaded pages (#36611)
- nuxt: re-export
AnyFetchPathfor emitted server route types (#36610) - vite: warm up the dev ssr entry from a nitro plugin (#36615)
- nitro: avoid unused h3 imports in nuxt/server runtime (#36609)
- vite-server: scope asset url helpers to the build (#36591)
- nuxt: resolve
nuxt/appto the app's runtime (#36587) - kit: lowercase filename-derived handler method on nitro v2 (#36567)
- nuxt,nitro: normalise string/array
appMiddleware(#36565) - nitro: pass response headers to
render:responselisteners (#36583) - vite: resolve inlined
vueto its bundler build in dev (#36569) - nuxt: don't start a page transition with no page to leave (#36535)
- nuxt: preserve error state on aborted or cancelled navigation (#36546)
- vite,nitro: link null-byte virtual css through
/@id/in dev (#36549) - kit: resolve module dependencies from the declaring module (#36542)
- nitro: only disable h3 + nitro presets when
nitroAutoImportsis off (#36548) - nitro,vite: don't access unspecified dependencies (#36541)
- nitro: don't inline deps under absolute transpile dirs (#36540)
- vite-server: respect spa loading template location (#36536)
💅 Refactors
- webpack,rspack: inline friendly errors plugin (#36568)
📖 Documentation
- remove DeepWiki badge (#36616)
- rename
H(TTP)toHTTP(#36559) - mention
proxyroute rule (4a529be68) - reference
definePluginanddefineNitroPluginin server plugin tip (64b8e0334) - open a PR to list a module (
e551df267) - clarify testing environments, runners, and config (#32963)
- align spa loading template references (#36552)
- explain how to disable iOS Safari phone number detection (#36539)
- fix outdated internal links (#36550)
- explain how to restore nitro auto-imports with compat v5 (
7499a445b) - add spa-loading-template documentation (#36537)
🏡 Chore
- keep @nuxt/telemetry ignore for production mode 😭 (
3110d6947) - fix knip, eslint and type import failures in ci (
fb01db4eb) - exclude
nuxt/appentry shim from root typecheck (c65cef3a8) - animate readme banner (#36593)
- actually exclude fixtures from
test:engines(6ce412822) - resolve
#build/server-routesstub via root tsconfig paths (8235dd605)
✅ Tests
- wait for scroll to settle in route-scroll e2e (
ca784deb7)
🤖 CI
- comment nuxt.com preview links on docs pull requests (#36594)
- regenerate kit
inlinedDependenciesin autofix (4b6da3a29) - remove docs deploy triggers (
917bdf218)
🎉 New Contributors
- Sandro Circi (@sandros94)
- Yunus Ozen (@ozenyunus35)
- Vladislav (@dsfcoll)
- AXH-xecoy (@axh-xecoy)
- Jess (@JessicaSachs)
- Gareth (@0xgdr)
❤️ Contributors
- Daniel Roe (@danielroe)
- Jonas Thelemann (@dargmuesli)
- Sandro Circi (@sandros94)
- Yunus Ozen (@ozenyunus35)
- Vladislav (@dsfcoll)
- Sébastien Chopin (@atinux)
- Kazbek Askarov (@kazbekaskarov)
- Nicholas (@Neekoras)
- Peter (@tada5hi)
- Baptiste Leproux (@larbish)
- Hugo (@HugoRCD)
- Harlan Wilton (@harlan-zw)
- AXH-xecoy (@axh-xecoy)
- Jess (@JessicaSachs)
- Alex Liu (@Mini-ghost)
- Gareth (@0xgdr)
- Florian Heuberger (@Flo0806)