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.12.2

16 Jun 2024Where it was published

3.21.11 is the newest release of 3.x.

In short

5 new4 faster21 fixed10 internal

Security

20 advisories affect 3.12.2; 4.6.0 fixes the others

15 more

Release note

3.12.2 is the a regularly scheduled patch release.

Upgrading

As usual, our recommendation for upgrading is to run:

npx nuxi@latest upgrade --force

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

Changelog

compare changes

Performance

  • kit: Deduplicate layers before resolving config

  • webpack: Decrease assets map iterations

  • kit: Various performance improvements

  • vite: Various performance improvements

  • nuxt: Don't wait for key deps check

Fixes

  • nuxt: Call onNuxtReady callback without arguments

  • schema: Don't narrow head string types to literals

  • schema: app/ dir backwards compatibility

  • nuxt: Manually assign payload reactivity when ssr: false

  • nuxt: Only log warning once per runtimeConfig key

  • nuxt: Overwrite #app/defaults rather than augmenting

  • nuxt: Export useRouteAnnouncer

  • nuxt: Remove backticks around runtimeConfig warning log

  • nuxt: Close top-level watcher on nuxt 'close'

  • nuxt: Handle tsx code when extracting pageMeta/routeRules

  • nuxt: Handle more edge cases with external/custom links

  • nuxt: Preserve route metadata assigned outside page

  • nuxt: Use portal to sync nitro/nuxt runtimeConfig + routeRules

  • nuxt,schema: Add types for _installedModules

  • nuxt: Include build-time pages in prerender routes

  • nuxt: Warn when async data doesn't return a value

  • nuxt: Replace deprecated app.rootId with app.rootAttrs.id

  • nuxt: Add mergeProps import in islands transform

  • nuxt: Reset cookie timeoutLength after expiration

  • nuxt: Add missing island uid for selective client components

  • schema,vite: Respect vite.cacheDir if defined

  • nuxt: Unregister hooks the moment close is called

  • nuxt: Add missing script stubs

  • nuxt: Only inject root path in prerender

  • nuxt: Reduce usage of cjs utilities

  • nuxt: Add / even if pages module isn't enabled

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.