note: no summary for this digest release
Digest releases are listed without a summary. The original release notes for this version are below.
release-notesgithub.com/nuxt/nuxt Β· 101 lines
- > v4.7.1 is the next patch release.
- ## π Changelog
- [compare changes](https://github.com/nuxt/nuxt/compare/v4.7.0...v4.7.1)
- ### π₯ Performance
- - **nuxt:** look up island client teleports once (#37300)
- - **nuxt:** reuse precomputed static app head across requests (#37274)
- - **vite-server,vite,kit:** build vite environments concurrently (#37265)
- - **nuxt:** drop identity map from `vforToArray` (#37273)
- ### π©Ή Fixes
- - **kit,nuxt,nitro:** match trailing slashes in speculation rules (#37314)
- - **nuxt:** share `useCookie` refs created outside components (#37318)
- - **vite:** shim `require` calls left in the server build (#37319)
- - **nitro:** copy public assets before prerendering (#37312)
- - **nuxt,vite:** reference the `vite/client` and `rollup` types (#37310)
- - **nitro:** mount v2 middleware on `/` for every path (#37296)
- - **nitro:** keep nitro v2 `swr` default for compat cached functions (#37298)
- - **nitro:** give the in-process `event.node.res` `write` and `end` (#37263)
- - **nitro:** don't report route-less v2 handlers with `middleware: true` (#37247)
- - **nuxt:** keep the unset keys on the resolved options ([`4204a2a58`](https://github.com/nuxt/nuxt/commit/4204a2a58))
- - **nuxt:** prerender `generate.routes` with the Nitro v3 builder ([`cbc600324`](https://github.com/nuxt/nuxt/commit/cbc600324))
- - **nuxt:** keep the build directory name out of virtual module ids (#37308)
- - **nuxt:** preserve empty string `statusText` instead of falling through (#37302)
- - **vite:** ignore empty CSS sources when dropping stylesheet links (#37309)
- - **nuxt:** restore the entry script modulepreload (#37299)
- - **nuxt:** don't throw when `useAsyncData` and `useFetch` addons wrap promise methods on webkit 26 (#37250)
- - **vite-server:** match route rules a module declares a key for (#37297)
- - **vite:** resolve public assets from layer directories without nitro (#37293)
- - **kit:** count queued prerender routes when prerendering starts (#37290)
- - **nitro:** skip the spa index fallback when `/` is prerendered (#37289)
- - **nitro:** drain the previous dev worker on reload (#37255)
- - **nitro:** preserve return type in compat `defineEventHandler` (#37259)
- - **rsbuild,rspack,webpack:** report missing `typescript` + tsconfig for type checking (#37257)
- - **nitro:** expose `matchedRoute.path` to legacy handlers (#37253)
- - **nitro:** drop removed style blocks from dev ssr css (#37248)
- - **nitro:** keep dev server log context alive during streamed renders ([`214107d1a`](https://github.com/nuxt/nuxt/commit/214107d1a))
- - **nuxt:** widen `rolldown` peer range to match `unctx` ([`89b2ec593`](https://github.com/nuxt/nuxt/commit/89b2ec593))
- - **nuxt:** keep array positions when tree-shaking destructured bindings (#37254)
- - **nuxt:** expose `NuxtError` fields on `<NuxtErrorBoundary>` error type (#37256)
- - **nuxt:** drain pending schema watcher writes on close ([`071edfd0e`](https://github.com/nuxt/nuxt/commit/071edfd0e))
- - **nitro:** avoid duplicate prerendering of the SPA index (#37279)
- - **nitro:** limit island `url` dot-segment check to nitropack builder ([`302412661`](https://github.com/nuxt/nuxt/commit/302412661))
- - **nitro:** set `tsBuildInfoFile` in nitro tsconfig (#37283)
- - **vite-server:** serve and render requests relative to `app.baseURL` (#37270)
- - **nitro:** reject dot segments in island `url` ([`0ebdf1b64`](https://github.com/nuxt/nuxt/commit/0ebdf1b64))
- - **nitro:** emit cjs stubs for libraries that `require('vue')` (#37268)
- - **nuxt:** type `nitro.routing` access for nitro v2 ([`627adb36f`](https://github.com/nuxt/nuxt/commit/627adb36f))
- - **nuxt:** sync routing after applying inline route rules ([`21778de14`](https://github.com/nuxt/nuxt/commit/21778de14))
- - **vite-server:** do not pass untrusted error data to the error page ([`66c3f6972`](https://github.com/nuxt/nuxt/commit/66c3f6972))
- - **nuxt:** only treat exact payload urls as payload requests ([`f06c15e3f`](https://github.com/nuxt/nuxt/commit/f06c15e3f))
- ### π Refactors
- - **kit,nuxt,schema:** resolve options in nuxt/config without `untyped` (#37307)
- - **nuxt:** match island teleport markers once (#37285)
- - **nuxt:** drop `uncrypto` dependency (#37258)
- ### π Documentation
- - exclude `appMiddleware` route rules from security scope ([`4c6ef20be`](https://github.com/nuxt/nuxt/commit/4c6ef20be))
- - remove broken `key` anchor in `definePageMeta` (#37275)
- - note that `useRequestFetch` forwards headers to absolute urls ([`fd3d23e9d`](https://github.com/nuxt/nuxt/commit/fd3d23e9d))
- ### π‘ Chore
- - keep eslint off the mirrored nitro v3 builder and kit source ([`dced6e566`](https://github.com/nuxt/nuxt/commit/dced6e566))
- - use full shas for deferred nitro v3 mirror commits ([`daa59be2a`](https://github.com/nuxt/nuxt/commit/daa59be2a))
- - sync nitro v3 server mirror ref with main ([`dc16592d0`](https://github.com/nuxt/nuxt/commit/dc16592d0))
- - allow deferring main commits from the nitro v3 mirror ([`6d5e8cf4d`](https://github.com/nuxt/nuxt/commit/6d5e8cf4d))
- ### β Tests
- - install the duplicate-vue fixture package without racing (#37269)
- - resolve recent fixture and e2e test flakes ([`cb9d7a085`](https://github.com/nuxt/nuxt/commit/cb9d7a085))
- - cover client environment file access in dev error reports ([`f35b2f2f0`](https://github.com/nuxt/nuxt/commit/f35b2f2f0))
- - cover `cache: false` below a wildcard `swr` rule (#37271)
- ### π New Contributors
- - Max Mostovoy (@pont1s)
- - Adam Kasper (@adamkasper)
- - Bryan Lundberg (@bryanlundberg)
- - Marcos Paulo Diniz (@mdiniz97)
- ### β€οΈ Contributors
- - Daniel Roe (@danielroe)
- - Max (@onmax)
- - Jonas Thelemann (@dargmuesli)
- - okxint (@okxint)
- - Ori (@oritwoen)
- - Max Mostovoy (@pont1s)
- - Adam Kasper (@adamkasper)
- - Bryan Lundberg (@bryanlundberg)
- - Dogan Teke (@lafllamme)
- - Marcos Paulo Diniz (@mdiniz97)