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

17 Feb 2023Where it was published

3.21.11 is the newest release of 3.x.

In short

1 new3 faster17 fixed20 internal

Security

12 advisories affect 3.2.2; 4.6.0 fixes the others

7 more

Release note

3.2.1 is a patch release with (lots of) bug fixes and performance improvements since last week's minor release.
3.2.2 was a swiftly following release to patch an issue with nuxi init

Highlights

As a patch release, there are mostly bug fixes and performance improvements in the changelog. (Nevertheless, it's always worth reading through!) But one point of note is an experimental reload strategy when chunk errors are encountered. We're hoping to finalise the API and land it in v3.3 (our next feature release) with #19086, but you can test out an experimental version with the following config:

export default defineNuxtConfig({
  experimental: {
    emitRouteChunkError: 'reload'
  }
})

With this strategy, your app will hard reload on route changes if there's a chunk error. More info at #19038.

Changelog

compare changes

Enhancements

  • nuxt: Add experimental app:chunkError hook and reload strategy

Performance

  • nuxt: Allow tree-shaking empty meta from build

  • nuxt: Animate transform rather than width

  • nuxt: Don't include side-effects from #components

Fixes

  • schema: Allow type inference of arrays in runtime config

  • nuxt: Avoid recursive import in nitro renderer

  • nuxt: Expose nuxt/schema subpath for augmentation

  • nitro: Ensure ssr error statusCode is a number

  • nuxt: Prevent hyphens forming child routes & warn if dupes are detected

  • schema: Transpile nuxt/app by default

  • vite: Exclude nuxt/app from optimised deps

  • vite: Respect isCustomElement config for jsx transform

  • nuxt: Use parser to treeshake client-only declarations

  • cli: Pass through exit code from test errors

  • nuxt: Show client error if no page matches after validate fails

  • cli: Read devServer options from nuxt config

  • nuxt: Validate no // in path when constructing payload url

  • nuxt: Restore previous check on payload url

  • nuxt: Test generated pathname

  • nuxt: Respect redirects which differ only by trailing slash

  • nuxt: Pass nuxt + workspace paths when importing builder

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.