note: la synthèse et les notes de version sont en anglais
note: pas de synthèse pour cette release digest
Les releases digest sont listées sans synthèse. Les notes de version originales de cette version sont ci-dessous.
release-notesgithub.com/nuxt/nuxt · 73 lignes
- > 4.2.2 is the next patch release.
- ## ✅ Upgrading
- Our recommendation for upgrading is to run:
- ```sh
- npx nuxt upgrade --dedupe
- ```
- This will deduplicate your lockfile as well, and help ensure that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
- ## 👉 Changelog
- [compare changes](https://github.com/nuxt/nuxt/compare/v4.2.1...v4.2.2)
- ### 🩹 Fixes
- - **nitro:** Do not show pretty error handler when testing ([243261edb](https://github.com/nuxt/nuxt/commit/243261edb))
- - **nuxt:** Generate valid references for component declaration items ([#33388](https://github.com/nuxt/nuxt/pull/33388))
- - **nuxt:** Sync internal route before calling `page:finish` hook ([#33707](https://github.com/nuxt/nuxt/pull/33707))
- - **kit:** Add TypeScript path alias support for test files ([#33672](https://github.com/nuxt/nuxt/pull/33672))
- - **nitro:** Ensure html is a string before injecting error handler ([f70b70c97](https://github.com/nuxt/nuxt/commit/f70b70c97))
- - **nitro:** Include layer server directories in `tsconfig.server.json` ([#33510](https://github.com/nuxt/nuxt/pull/33510))
- - **nuxt:** Ensure deduped async data executions return latest promise ([#33740](https://github.com/nuxt/nuxt/pull/33740))
- - **kit,nuxt:** Type + respect `moduleDependencies` by meta name ([#33774](https://github.com/nuxt/nuxt/pull/33774))
- - **nuxt,schema:** Ignore `.d.vue.ts` declarations ([1c73525a2](https://github.com/nuxt/nuxt/commit/1c73525a2))
- - **kit,nuxt:** Protect against resolved nuxt module subpath ([#33767](https://github.com/nuxt/nuxt/pull/33767))
- - **nuxt:** Re-execute `callOnce` during HMR ([#33810](https://github.com/nuxt/nuxt/pull/33810))
- - **nuxt:** Resolve watch callback after reactive key change in `useAsyncData` ([#33802](https://github.com/nuxt/nuxt/pull/33802))
- - **nuxt:** Escape HTML in development error page stack trace ([#33820](https://github.com/nuxt/nuxt/pull/33820))
- - **kit:** Do not add resolved `rootDir` to cached layer config ([#33779](https://github.com/nuxt/nuxt/pull/33779))
- - **kit,schema:** Add `moduleDependencies` -> `installModule` ([#33689](https://github.com/nuxt/nuxt/pull/33689))
- ### 💅 Refactors
- - **nuxt:** Improve type safety within `callOnce` function ([#33825](https://github.com/nuxt/nuxt/pull/33825))
- ### 📖 Documentation
- - Split directory structure and re-order guides (v4) ([#33691](https://github.com/nuxt/nuxt/pull/33691))
- - Add hints release ([#33701](https://github.com/nuxt/nuxt/pull/33701))
- - Fix link to vitest globals config ([#33702](https://github.com/nuxt/nuxt/pull/33702))
- - Add mcp server and llms.txt ([#33371](https://github.com/nuxt/nuxt/pull/33371))
- - Fix 404 link ([98c2f1397](https://github.com/nuxt/nuxt/commit/98c2f1397))
- - Text consistency ([#33709](https://github.com/nuxt/nuxt/pull/33709))
- - Type `error` as non-optional prop ([#33763](https://github.com/nuxt/nuxt/pull/33763))
- - Reformat tables ([#33813](https://github.com/nuxt/nuxt/pull/33813))
- ### 🏡 Chore
- - Update pnpm to 10.21 and enable trust policy ([d2c9711c0](https://github.com/nuxt/nuxt/commit/d2c9711c0))
- - Revert pnpm trust policy and restore provenance action ([f9d0e0a3d](https://github.com/nuxt/nuxt/commit/f9d0e0a3d))
- - Update markdownlint config to ignore mdc issues ([e7fff7132](https://github.com/nuxt/nuxt/commit/e7fff7132))
- - Pin to single version of unstorage ([ec316eae8](https://github.com/nuxt/nuxt/commit/ec316eae8))
- ### ✅ Tests
- - Add `patchProp` and `nodeOps` to excluded Vue helpers ([#33754](https://github.com/nuxt/nuxt/pull/33754))
- - Use fake timers for watch params test ([08d9d2f3b](https://github.com/nuxt/nuxt/commit/08d9d2f3b))
- ### 🤖 CI
- - Add `--pnpm` flag to correctly publish prerelease ([#33688](https://github.com/nuxt/nuxt/pull/33688))
- - Update action lint config ([#33710](https://github.com/nuxt/nuxt/pull/33710))
- ### ❤️ Contributors
- - Daniel Roe (@danielroe)
- - Florian Heuberger (@Flo0806)
- - Konstantin Telyakov (@kTelyakov)
- - abeer0 (@iiio2)
- - Julien Huang (@huang-julien)
- - Matej Černý (@cernymatej)
- - Robin (@OrbisK)
- - Dheeraj Joshi (@dheeraj3587)
- - Alexander Lichter (@TheAlexLichter)
- - Edwin Samodra (@edwinsamodra)
- - edison (@edison1105)
- - 山吹色御守 (@KazariEX)
- - Sébastien Chopin (@atinux)
- - Hugo (@HugoRCD)
- - pierreoa (@pierreoa)
- - Maxime Pauvert (@maximepvrt)