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

Upgrading nuxt From 4.6.0 to 4.6.4

4 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 4.6.0yours
  2. 4.6.1
  3. 4.6.2
  4. 4.6.3security
  5. 4.6.4target

Before you upgrade

Tick each one off as you go
  • Breaking4.6.4

Security

Release by release

  1. 4.6.4

    Migration needed2 Nov 20269 fixes
    • Breaking

      nitro,nuxt: require unrouting 0.3.2

    • Fixed

      nuxt: use unambiguous encoding for island hash

    • Fixed

      nuxt: do not expose details of untrusted thrown errors

    • Fixed

      nuxt: strip trailing slashes in linear time

  2. 4.6.3

    Security fix27 Oct 20263 new · 19 fixes
  3. 4.6.2

    16 Oct 202610 fixes
    • Fixed

      nuxt: resolve rooted paths through the URL parser

    • Fixed

      nuxt: resolve empty route types in shared context

    • Fixed

      nuxt: fix scroll offset for IDs starting with numbers

    • Fixed

      nuxt: detect vapor slots with rawVaporSlotKey from vue

  4. 4.6.1

    9 Oct 20268 fixes
    • Fixed

      nuxt: accept any baseURL when fetch response type is named

    • Fixed

      nuxt: allow false in setPageLayout types

    • Fixed

      nuxt: align Serialize object types with JSON

    • Fixed

      nuxt: update publishConfig config export extension

5 other lines we could not sort, mostly version bumps
  • Error details in production. When a page fails to render on the server, the error page and the payload now only carry message and data of errors you create with createError. Everything else is stripped.

    4.6.4
  • Dev server Host checks. Webpack and rspack dev servers now reject requests with an unexpected Host header, as Vite already does. If you use a custom hostname or tunnel, you'll need to add it to the new devServer.allowedHosts option.

    4.6.4
  • workspaceDir detection. When workspaceDir isn't set, Nuxt now only widens it past rootDir to an explicit workspace root or the closest git repository.

    4.6.4
  • Nitropack cached routes. cache, swr and isr route rules now only cache GET and HEAD requests, and no longer store responses that set a cookie or send Cache-Control: private or no-store. Wildcard proxy and redirect rules also reject requests whose resolved target would leave the rule's scope.

    4.6.4
  • Route rules and encoded slashes. Route rules now match paths that contain encoded slashes, so /api%2Fadmin is covered by a /api/** rule.

    4.6.4

62 internal lines (docs, tests, tooling) left out.

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.