v3.21.1
📦 nuxtView on GitHub →
🐛 29 fixes🔧 6 symbols
Summary
v3.21.1 is a regularly scheduled patch release focusing on numerous bug fixes across Nuxt, Nitro, Vite, and Webpack, improving error handling, routing, and build processes.
🐛 Bug Fixes
- Corrected reference format of server builder.
- Added status/statusText getters to NuxtError.
- Added direnv and vendor to default ignore in schema.
- Focus hash links after navigation.
- Excluded head runtime from unhead imports transform.
- Included prereleases in semver satisfy check.
- Watched server/ for builder:watch hook.
- Encoded unicode paths in x-nitro-prerender header.
- Preserved error.message for fatal errors in Nitro.
- Only enabled dynamic imports when using ts plugin.
- Used H3Error for 403 errors in dev server (webpack).
- Ensured NuxtError extends Error type.
- Used H3Error for 404 errors in dev server (vite).
- Added backwards compatibility for #app barrel export in keyed functions.
- Tracked and re-added custom routes on HMR.
- Kept vnode when leaving deeper nested route.
- Prevented CSS flickering in dev mode after config changes (vite).
- Did not start view transition if there is no route.
- Called deferHydration done on NuxtPage unmount.
- Handled invalid datetime in <NuxtTime>.
- Preserved middleware error status in 404 fallback.
- Prevented augmentation of nuxt/schema in Nitro.
- Cached manifest files to preserve buildId.
- Stopped decoding query string in SSR context URL.
- Allowed specifying moduleDependencies by meta.name.
- Resolved #components import mapping conflict for packages outside rootDir.
- Used node.res to send 403/404 errors (vite, webpack).
- Aligned path encoding with vue-router (nitro, nuxt).
- Augmented nuxt/schema once more in Nitro.