Nuxt 4.2 brings TypeScript plugin, better error handling & abort control for data fetching
Nuxt 4.2 is now available, delivering substantial updates to this open source full-stack framework for Vue.js. Among the most notable changes, developers can now pass AbortController signals directly to useAsyncData and useFetch, enabling more granular control over request cancellation. In an architectural shift, Nitro server integration has been extracted into its own package, @nuxt/nitro-server, giving users flexibility with new server-side integration patterns.
Following these improvements, the development experience gains a significant boost: when errors occur, Nuxt will now render both your custom error page and a detailed technical overlay simultaneously. Those interested in early access features can opt into the experimental Vite Environment API as well.
Performance enhancements include the precomputation of renderer dependencies, a reduction in overall framework dependencies, and experimental async data handler extraction, which aims to further improve response times. Building on developer tooling, Nuxt 4.2 introduces experimental support for @dxup/nuxt, a module featuring a suite of TypeScript plugins designed to improve type safety and the use of Nuxt-specific features.
Finally, this release delivers a range of other notable improvements and bug fixes, providing increased stability and usability throughout the framework.