Vai al contenuto
verdict:

Nuxt 4.6.4

digest

note: la sintesi e le note di rilascio sono in inglese

note: nessuna sintesi per questa release digest

Le release digest sono elencate senza una sintesi. Le note di rilascio originali di questa versione sono qui sotto.

release-notesgithub.com/nuxt/nuxt · 79 righe
  1. > 4.6.4 is a security release. It fixes [eight advisories in Nuxt](https://github.com/nuxt/nuxt/security/advisories) and pulls in `nitropack` 2.13.6, which fixes [three more in Nitro](https://github.com/nitrojs/nitro/security/advisories). We recommend upgrading as soon as you can.
  2. ## ⚠️ Behaviour changes
  3. These probably won't affect most apps, but it's worth flagging anyway:
  4. 1. **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.
  5. 2. **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.
  6. 3. **`workspaceDir` detection.** When `workspaceDir` isn't set, Nuxt now only widens it past `rootDir` to an explicit workspace root or the closest git repository.
  7. 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.
  8. 5. **Route rules and encoded slashes.** Route rules now match paths that contain encoded slashes, so `/api%2Fadmin` is covered by a `/api/**` rule.
  9. ## 👉 Changelog
  10. [compare changes](https://github.com/nuxt/nuxt/compare/v4.6.3...v4.6.4)
  11. ### 🩹 Fixes
  12. - **nitro,nuxt:** require unrouting 0.3.2 ([`768d21368`](https://github.com/nuxt/nuxt/commit/768d21368))
  13. - **nitro:** preserve wildcard tails in case-insensitive route rules ([`bf31e4cd8`](https://github.com/nuxt/nuxt/commit/bf31e4cd8))
  14. - **nitro:** require nitropack 2.13.6 ([`1b13c6981`](https://github.com/nuxt/nuxt/commit/1b13c6981))
  15. - **nitro:** keep leading double slash in renderer request path ([`75c12c6fb`](https://github.com/nuxt/nuxt/commit/75c12c6fb))
  16. - **nuxt:** use unambiguous encoding for island hash ([`6f1b93c64`](https://github.com/nuxt/nuxt/commit/6f1b93c64))
  17. - **vite-server:** resolve wildcard redirect tails from the matched segments ([`1e7dfa6a7`](https://github.com/nuxt/nuxt/commit/1e7dfa6a7))
  18. - **nuxt:** do not expose details of untrusted thrown errors ([`8c56b71e4`](https://github.com/nuxt/nuxt/commit/8c56b71e4))
  19. - **nuxt:** strip trailing slashes in linear time ([`97424dd21`](https://github.com/nuxt/nuxt/commit/97424dd21))
  20. - **nitro,webpack:** include hosts the CLI allows after loading the config ([`8c11d965d`](https://github.com/nuxt/nuxt/commit/8c11d965d))
  21. - **webpack:** skip hot middleware for forbidden dev requests ([`3c9645326`](https://github.com/nuxt/nuxt/commit/3c9645326))
  22. - **rspack,webpack:** reject unexpected Host headers in dev middleware ([`f8d64c9aa`](https://github.com/nuxt/nuxt/commit/f8d64c9aa))
  23. - **schema,nitro,vite:** add `devServer.allowedHosts` ([`3e1c7964e`](https://github.com/nuxt/nuxt/commit/3e1c7964e))
  24. - **nitro,nuxt:** match route rules for paths with encoded slashes ([`084396b10`](https://github.com/nuxt/nuxt/commit/084396b10))
  25. - **schema:** only widen workspace dir to a declared workspace root ([`89d3306d1`](https://github.com/nuxt/nuxt/commit/89d3306d1))
  26. - **nitro:** only trust `x-forwarded-proto` in when opted-in (#36818)
  27. - **nitro:** stream the body read through a `nuxt/server` handler (#36817)
  28. - **kit:** suggest the specific fix when loading falls back to jiti ([`24d75659d`](https://github.com/nuxt/nuxt/commit/24d75659d))
  29. - **vite:** use a single type checker (#36774)
  30. - **nitro,vite:** remove windows + virtual dev ssr css links after hydration (#36765)
  31. - **nitro,vite:** dedupe dev css by module node (#36420)
  32. - **nuxt:** avoid hoisting setup-only values from `definePageMeta` (#36751)
  33. - **nuxt:** only match hydration modifiers after lazy prefix (#36750)
  34. - **kit,nitro,nuxt:** make emitted tsconfig/types stable across reruns (#36747)
  35. - **nuxt:** render inlined component styles after stylesheet links (#36714)
  36. - **webpack:** use valid devtool for hidden client sourcemaps in dev (#36555)
  37. ### 📖 Documentation
  38. - clarify template dependency regeneration (#36766)
  39. - revise README structure and headings (#36772)
  40. - link the Nuxt DevTools docs on nuxt.com (#36769)
  41. - warn against spreading untrusted objects onto server components ([`1225ca7ff`](https://github.com/nuxt/nuxt/commit/1225ca7ff))
  42. - update anchors for flat heading ids (#36664)
  43. ### 🏡 Chore
  44. - add 1000-row listing routes to the benchmark ([`c852d871f`](https://github.com/nuxt/nuxt/commit/c852d871f))
  45. - add client page weight and browser timing suites (#36788)
  46. ### ✅ Tests
  47. - update bundle size snapshot ([`7528c3ce6`](https://github.com/nuxt/nuxt/commit/7528c3ce6))
  48. - list new main-only diagnostic codes ([`545b5934c`](https://github.com/nuxt/nuxt/commit/545b5934c))
  49. - tolerate node 26 proxy inspect output ([`40f72b40b`](https://github.com/nuxt/nuxt/commit/40f72b40b))
  50. - normalise rolldown comment ([`861e153dd`](https://github.com/nuxt/nuxt/commit/861e153dd))
  51. - improve benchmark tests (#36745)
  52. ### 🤖 CI
  53. - check unversioned docs links against branch docs version ([`d093c88b1`](https://github.com/nuxt/nuxt/commit/d093c88b1))
  54. - skip unneeded checks for release prs ([`4b90681bd`](https://github.com/nuxt/nuxt/commit/4b90681bd))
  55. - skip benchmarks in merge groups ([`6428070e0`](https://github.com/nuxt/nuxt/commit/6428070e0))
  56. - re-enable codspeed ⚡ ([`bc17c03d1`](https://github.com/nuxt/nuxt/commit/bc17c03d1))
  57. ### ❤️ Contributors
  58. - Daniel Roe (@danielroe)
  59. - Max (@onmax)
  60. - Sébastien Chopin (@atinux)
  61. - saini-25 (@saini-25)
  62. - Baptiste Leproux (@larbish)

vedi su githubdetected 2026-11-03 via npm