Packages

nuxt

4.6.4 · 2 Nov 2026MIT3.6M / weekRepositoryHomepagenpmAtom feed

The latest release, 4.6.4, is affected by 4 advisories with no fixed version yet.See advisories
Your version

3.20.0

28 Oct 2025Where it was published

3.21.11 is the newest release of 3.x.

In short

2 removed1 deprecated11 new2 faster13 fixed32 internal

  • Removed

    nuxt: Remove declarationPath from component dirs

  • Removed

    Remove deprecated node version

  • Deprecated

    schema: Deprecate extend, extendConfig, and configResolved hooks

Security

18 advisories affect 3.20.0; 4.6.2 fixes the others

13 more

Release note

3.20.0 is the next minor release.

Upgrading

Our recommendation for upgrading is to run:

npx nuxt upgrade --dedupe --channel=v3

This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.

Changelog

compare changes

Enhancements

  • nuxt: Allow specifying component declarationPath

  • kit: Add extensions option for resolveModule

  • nuxt: Add abortController option to useAsyncData

  • nuxt: Display youch error page w/ user error page in dev

  • nuxt: Experimental typescript plugin support

  • nuxt,schema: Extract asyncData handlers to chunks

  • kit: Add setGlobalHead utility

  • kit,vite: Allow enabling vite environment api

Performance

  • nuxt: Precompute renderer dependencies at build time

  • kit,schema: Remove some unnecessary dependencies

Fixes

  • nuxt: Preserve hash with redirecting based on routeRules

  • kit: Safely cleanup loadNuxtConfig in concurrent calls

  • nuxt: Allow object-format href in <NuxtLink>

  • nuxt: Remove mergeModels from auto imports

  • nuxt: Add back shortPath property

  • nuxt: Do not allow native attrs to shadow nuxt link props

  • Removed

    nuxt: Remove declarationPath from component dirs

  • nuxt: Preserve root route in isPrerendered check

  • nuxt: Exempt webpack vfs from pkg lookup

  • nitro: Exempt nightly release from import protections

  • webpack,rspack: Preserve prerender + nitro flags in server builds

  • nuxt: Support component auto-imports as arguments of h()

  • vite: Prevent assignment for rolldown's replacement plugin

  • nuxt: Use sha256 hash for prerender cache keys

  • nuxt: Add NuxtTime relative time numeric prop

  • nuxt: Add NuxtTime relative time relativeStyle prop

  • nuxt: Handle arrays in app config correctly during HMR

Refactors

  • Deprecated

    schema: Deprecate extend, extendConfig, and configResolved hooks

Documentation

  • Removed

    Remove deprecated node version

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.