cpsoinos / nuxt-svgo

SVGO loader for Nuxt
MIT License
151 stars 13 forks source link

fix(deps): update nuxtjs monorepo to v3.9.3 - abandoned #218

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/kit (source) 3.4.0 -> 3.9.3 age adoption passing confidence
nuxt (source) 3.9.0 -> 3.9.3 age adoption passing confidence

Release Notes

nuxt/nuxt (@​nuxt/kit) ### [`v3.9.3`](https://togithub.com/nuxt/nuxt/releases/tag/v3.9.3) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.9.2...v3.9.3) > 3.9.3 is a hotfix release to address a regression with CSS in development ##### ✅ Upgrading As usual, our recommendation for upgrading is to run: ```sh nuxi upgrade --force ``` This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems. ##### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v3.9.2...v3.9.3) ##### 🩹 Fixes - **nuxt:** Render stylesheets in dev for non-islands ([#​25243](https://togithub.com/nuxt/nuxt/pull/25243)) - **nuxt:** Don't set 2x `data-island-uid` for island children ([#​25245](https://togithub.com/nuxt/nuxt/pull/25245)) - **nuxt:** Don't share object between raw cookie and cookie ref ([#​25255](https://togithub.com/nuxt/nuxt/pull/25255)) ##### 📖 Documentation - Corrects variable name used in comment ([#​25238](https://togithub.com/nuxt/nuxt/pull/25238)) - Deleted an extra character ([#​25248](https://togithub.com/nuxt/nuxt/pull/25248)) - Remove space before colon ([#​25251](https://togithub.com/nuxt/nuxt/pull/25251)) ##### ✅ Tests - Add separate suspense test suite ([#​22947](https://togithub.com/nuxt/nuxt/pull/22947)) ##### ❤️ Contributors - Danila Rodichkin ([@​daniluk4000](https://togithub.com/daniluk4000)) - Anthony Fu ([@​antfu](https://togithub.com/antfu)) - Julien Huang ([@​huang-julien](https://togithub.com/huang-julien)) - Mustafa60x ([@​mustafa60x](https://togithub.com/mustafa60x)) - Александр Дьяконов ([@​Holiden](https://togithub.com/Holiden)) - Flowern ([@​FlorianWerndl](https://togithub.com/FlorianWerndl)) - Daniel Roe ([@​danielroe](https://togithub.com/danielroe)) ### [`v3.9.2`](https://togithub.com/nuxt/nuxt/releases/tag/v3.9.2) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.9.1...v3.9.2) > 3.9.2 is a regularly scheduled patch release. #### ✅ Upgrading As usual, our recommendation for upgrading is to run: ```sh nuxi upgrade --force ``` This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems. #### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v3.9.1...v3.9.2) ##### 🔥 Performance - **nuxt:** Iterate rather than using `Object.fromEntries` ([#​24953](https://togithub.com/nuxt/nuxt/pull/24953)) ##### 🩹 Fixes - **nuxt:** Add missing script blocks before island transform ([#​25148](https://togithub.com/nuxt/nuxt/pull/25148)) - **kit:** Improve types for `options` in `addTemplate` ([#​25109](https://togithub.com/nuxt/nuxt/pull/25109)) - **nuxt:** Apply more import protections for nitro runtime ([#​25162](https://togithub.com/nuxt/nuxt/pull/25162)) - **nuxt:** Sort `pages/` files in `en-US` locale ([#​25195](https://togithub.com/nuxt/nuxt/pull/25195)) - **nuxt:** Check for layout after `nextTick` ([#​25197](https://togithub.com/nuxt/nuxt/pull/25197)) - **nuxt:** Set nitro log level to match nuxt options ([#​25213](https://togithub.com/nuxt/nuxt/pull/25213)) - **nuxt:** Await async payload revivers ([#​25222](https://togithub.com/nuxt/nuxt/pull/25222)) - **nuxt:** Render user-inserted links in island responses ([#​25219](https://togithub.com/nuxt/nuxt/pull/25219)) ##### 💅 Refactors - **nuxt:** Refactor island response + improve rendering ([#​25190](https://togithub.com/nuxt/nuxt/pull/25190)) - **nuxt:** Rename to `data-island-component` ([#​25232](https://togithub.com/nuxt/nuxt/pull/25232)) ##### 📖 Documentation - Correct nuxt image discussion link ([#​25090](https://togithub.com/nuxt/nuxt/pull/25090)) - Fix typo ([#​25100](https://togithub.com/nuxt/nuxt/pull/25100)) - Suggest using `` rather than `` ([#​25106](https://togithub.com/nuxt/nuxt/pull/25106)) - Fix typo ([#​25127](https://togithub.com/nuxt/nuxt/pull/25127)) - Add demo for view transitions api ([3c5ea3457](https://togithub.com/nuxt/nuxt/commit/3c5ea3457)) - Remove reference to `@nuxt/bridge-edge` ([3f09ddc31](https://togithub.com/nuxt/nuxt/commit/3f09ddc31)) - Remove bridge recommendation only relevant Vue <= 2.6.14 ([7bb90f587](https://togithub.com/nuxt/nuxt/commit/7bb90f587)) - Bump nuxt 2 version ([98fb2be07](https://togithub.com/nuxt/nuxt/commit/98fb2be07)) - Remove invalid nuxi aliases ([#​25209](https://togithub.com/nuxt/nuxt/pull/25209)) - Add `--log-level` description ([#​25211](https://togithub.com/nuxt/nuxt/pull/25211)) - Added `immediate: false` in the appropriate example ([#​25224](https://togithub.com/nuxt/nuxt/pull/25224)) - Mention `.global.vue` filename for global components ([#​25144](https://togithub.com/nuxt/nuxt/pull/25144)) - Clarify reactivity in composables directory ([#​23731](https://togithub.com/nuxt/nuxt/pull/23731)) - Remove `lagon` from deployment providers ([#​24955](https://togithub.com/nuxt/nuxt/pull/24955)) - Add eslint setup guide ([#​24976](https://togithub.com/nuxt/nuxt/pull/24976)) - Add information on custom path regexp in `definePageMeta` ([#​25073](https://togithub.com/nuxt/nuxt/pull/25073)) - Fix `addDevServerHandler` API ([#​25233](https://togithub.com/nuxt/nuxt/pull/25233)) - Mention installing `nuxi` for bridge ([637f5622d](https://togithub.com/nuxt/nuxt/commit/637f5622d)) ##### 🏡 Chore - Use `v3` branch sandbox in issue template ([#​25174](https://togithub.com/nuxt/nuxt/pull/25174)) ##### ❤️ Contributors - Daniel Roe ([@​danielroe](https://togithub.com/danielroe)) - Julien Huang ([@​huang-julien](https://togithub.com/huang-julien)) - Larry Williamson ([@​L422Y](https://togithub.com/L422Y)) - Chris Visser ([@​chris-visser](https://togithub.com/chris-visser)) - Maxime Pauvert ([@​maximepvrt](https://togithub.com/maximepvrt)) - Nils Wiesinger ([@​warflash](https://togithub.com/warflash)) - chris-basebone ([@​chris-basebone](https://togithub.com/chris-basebone)) - Alexander Lichter ([@​manniL](https://togithub.com/manniL)) - Bertil Johannes Ipsen ([@​bipsen](https://togithub.com/bipsen)) - Matej Černý ([@​CernyMatej](https://togithub.com/CernyMatej)) - kongmoumou ([@​kongmoumou](https://togithub.com/kongmoumou)) - Yi-Ru Lan ([@​awdr74100](https://togithub.com/awdr74100)) - Kiarttipum Charoenpojvajana ([@​44kia244](https://togithub.com/44kia244)) - Pooya Parsa ([@​pi0](https://togithub.com/pi0)) - Inesh Bose ([@​ineshbose](https://togithub.com/ineshbose)) - Sébastien Chopin ([@​Atinux](https://togithub.com/Atinux)) - Petar Nikolov ([@​petarvnikolov](https://togithub.com/petarvnikolov)) - Michael Brevard ([@​GalacticHypernova](https://togithub.com/GalacticHypernova)) - toto6038 ([@​toto6038](https://togithub.com/toto6038)) - gal-cernilogar ([@​gal-cernilogar](https://togithub.com/gal-cernilogar)) - Shoshana Connack ([@​moshetanzer](https://togithub.com/moshetanzer)) ### [`v3.9.1`](https://togithub.com/nuxt/nuxt/releases/tag/v3.9.1) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.9.0...v3.9.1) > 3.9.1 is a regularly scheduled patch release. ##### ✅ Upgrading As usual, our recommendation for upgrading is to run: ```sh nuxi upgrade --force ``` This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the vue and unjs ecosystems. ##### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v3.9.0...v3.9.1) ##### 🔥 Performance - **nuxt:** Avoid multiple iterations in `useRequestHeaders` ([#​24853](https://togithub.com/nuxt/nuxt/pull/24853)) - **kit,schema,nuxt:** Refactor `startsWith` to array access ([#​24744](https://togithub.com/nuxt/nuxt/pull/24744)) - **nuxt:** Use single iteration when normalising routes ([#​24946](https://togithub.com/nuxt/nuxt/pull/24946)) - **nuxt:** Remove some line breaks when rendering html ([#​24888](https://togithub.com/nuxt/nuxt/pull/24888)) ##### 🩹 Fixes - **nuxt:** Catch error in `NuxtErrorBoundary` with `ssr: false` ([#​24896](https://togithub.com/nuxt/nuxt/pull/24896)) - **kit:** Show correct error when module can't be loaded ([#​24957](https://togithub.com/nuxt/nuxt/pull/24957)) - **nuxt:** Deeply watch island props ([#​24986](https://togithub.com/nuxt/nuxt/pull/24986)) - **nuxt:** Don't show transition on initial page load ([#​24935](https://togithub.com/nuxt/nuxt/pull/24935)) - **nuxt:** Clone cookie to detect changes within object ([#​25007](https://togithub.com/nuxt/nuxt/pull/25007)) - **nuxt:** Do not warn about missing layouts on error page ([#​25008](https://togithub.com/nuxt/nuxt/pull/25008)) - **nuxt:** Ignore plugins typed as `any` in inferred injections ([#​25010](https://togithub.com/nuxt/nuxt/pull/25010)) - **nuxt:** Reuse intermediate setup state in `` ([#​25009](https://togithub.com/nuxt/nuxt/pull/25009)) - **nuxt:** Skip scanning layout/middleware without name ([#​25015](https://togithub.com/nuxt/nuxt/pull/25015)) - **nuxt:** Wrap universal router `currentRoute` in `Ref` ([#​25026](https://togithub.com/nuxt/nuxt/pull/25026)) - **nuxt:** Stop loading indicator if page keys are the same ([#​24931](https://togithub.com/nuxt/nuxt/pull/24931)) ##### 💅 Refactors - **nuxt:** Remove old reference to `nuxt-config-schema` ([#​25067](https://togithub.com/nuxt/nuxt/pull/25067)) ##### 📖 Documentation - Switch `features`/`future` docs ([f5676fba5](https://togithub.com/nuxt/nuxt/commit/f5676fba5)) - Corrected json syntax in 7.esm.md ([#​24937](https://togithub.com/nuxt/nuxt/pull/24937)) - Specify yarn pnp opt-out for install ([#​24923](https://togithub.com/nuxt/nuxt/pull/24923)) - Capitalise hash for `vue-router` docs link ([#​24948](https://togithub.com/nuxt/nuxt/pull/24948)) - Add badge for callOnce utility ([792cf6713](https://togithub.com/nuxt/nuxt/commit/792cf6713)) - Warn about hydration issue with URL fragment ([#​24961](https://togithub.com/nuxt/nuxt/pull/24961)) - Mention `readValidatedBody` and `getValidatedQuery` ([#​24990](https://togithub.com/nuxt/nuxt/pull/24990)) - Add missing imports for nitro examples ([#​25003](https://togithub.com/nuxt/nuxt/pull/25003)) - Add an example of provide with object syntax plugins ([#​24993](https://togithub.com/nuxt/nuxt/pull/24993)) - Update EOL date for Nuxt 2 ([afbc4080b](https://togithub.com/nuxt/nuxt/commit/afbc4080b)) - Add callout for `getValidatedRouterParams` ([#​25057](https://togithub.com/nuxt/nuxt/pull/25057)) - Warn about ref unwrapping when providing refs from plugin ([#​25054](https://togithub.com/nuxt/nuxt/pull/25054)) ##### 🏡 Chore - Add bullet for adding tests in pr template ([2bda817ea](https://togithub.com/nuxt/nuxt/commit/2bda817ea)) ##### ✅ Tests - Add missing payload checks ([#​24899](https://togithub.com/nuxt/nuxt/pull/24899)) - Start listening for requests earlier ([#​24985](https://togithub.com/nuxt/nuxt/pull/24985)) ##### ❤️ Contributors - Pooya Parsa ([@​pi0](https://togithub.com/pi0)) - Julien Huang ([@​huang-julien](https://togithub.com/huang-julien)) - Michael Brevard ([@​GalacticHypernova](https://togithub.com/GalacticHypernova)) - Luke Nelson ([@​luc122c](https://togithub.com/luc122c)) - Alex Liu ([@​Mini-ghost](https://togithub.com/Mini-ghost)) - Daniel Roe ([@​danielroe](https://togithub.com/danielroe)) - Alireza Jahandideh ([@​Youhan](https://togithub.com/Youhan)) - Mateusz Kulpa ([@​mateuszkulpa](https://togithub.com/mateuszkulpa)) - Bernhard Berger ([@​bernhardberger](https://togithub.com/bernhardberger)) - Peter ([@​tada5hi](https://togithub.com/tada5hi)) - Sébastien Chopin ([@​Atinux](https://togithub.com/Atinux)) - heygsc ([@​heygsc](https://togithub.com/heygsc)) - Clément Ollivier ([@​clemcode](https://togithub.com/clemcode)) - Soheil Nazari ([@​s0h311](https://togithub.com/s0h311)) - Alexander Lichter ([@​manniL](https://togithub.com/manniL)) ### [`v3.9.0`](https://togithub.com/nuxt/nuxt/releases/tag/v3.9.0) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.8.2...v3.9.0) > 3.9.0 is the next minor release. #### 👀 Highlights A very merry Christmas to you and yours from all Nuxters involved in this release! 🎁🎄 We have lots of features packed into v3.9.0 and can't wait for you to try them out. ##### ⚡️ Vite 5 This release comes with Vite 5 and Rollup 4 support. Module authors may need to check to ensure that any vite plugins you're creating are compatible with these latest releases. This comes with a whole host of great improvements and bug fixes - check out [the Vite changelog](https://vitejs.dev/guide/migration.html#migration-from-v4) for more info. ##### ✨ Vue 3.4 ready This release is tested with the latest Vue 3.4 release candidate, and has the necessary configuration to take advantage of [new features in Vue 3.4](https://gist.github.com/yyx990803/061593abfbaf1f2e3ddeee9094a6e6bf), including debugging hydration errors in production (just set `debug: true`) in your Nuxt config. 👉 To take advantage, just update your `vue` version once v3.4 is released, or try out the release candidate today: ```json { "dependencies": { "nuxt": "3.9.0", "vue": "3.4.0-rc.1", "vue-router": "latest" } } ``` ##### 🏝️ Interactive Server Components This is a highly-experimental update, but it's now possible to play around with interactive components within Nuxt server components. You'll need to enable this new feature additionally to component islands: ```ts export default defineNuxtConfig({ experimental: { componentIslands: { selectiveClient: true } } }) ``` Now, within a server component, you can specify components to hydrate by using the `nuxt-client` directive: ```vue ``` We're pretty excited about this one - so do let us know how you're using it! 🙏 ##### 🔥 Automatic Server Optimisations We now use Vite's new AST-aware 'define' to perform more accurate replacements on server-side code, meaning code like this will no longer throw an error: ```vue ``` This hasn't been possible until now because we haven't wanted to run the risk of accidentally replacing normal words like `document` within non-JS parts of your apps. But Vite's new `define` functionality is powered by `esbuild` and is syntax-aware, so we feel confident in enabling this functionality. Nevertheless, you can opt out if you need to: ```ts export default defineNuxtConfig({ hooks: { 'vite:extendConfig' (config) { delete config.define!.document } } }) ``` ##### 🚦 Granular Loading API We now have a new hook-based system for ``, including a `useLoadingIndicator` composable that lets you control/stop/start the loading state. You can also hook into `page:loading:start` and `page:loading:end` if you prefer. You can read more [in the docs](https://nuxt.com/docs/api/composables/use-loading-indicator) and in the original PR ([#​24010](https://togithub.com/nuxt/nuxt/pull/24010)). ##### 🏁 Run single events in `callOnce` Sometimes you only want to run code once, no matter how many times you load a page - and you don't want to run it again on the client if it ran on the server. For this, we have a new utility: `callOnce` ([#​24787](https://togithub.com/nuxt/nuxt/pull/24787)). ```vue ``` Note that this utility is context-aware so it *must* be called in component setup function or Nuxt plugin, as with other Nuxt composables. [Read more in the docs](https://nuxt.com/docs/api/utils/call-once). ##### 🚨 Error Types For a while now, errors returned by `useAsyncData` and `useFetch` have been typed pretty generically as `Error`. We've significantly improved the type possibilities for them to make them more accurate in terms of what you'll actually receive. (We normalise errors with the `h3` `createError` utility under the hood, so they can be serialised from server to client, for example.) We've tried to implement the type change in a backwards compatible way, but you might notice that you need to update the generic if you're manually configuring the generics for these composables. See ([#​24396](https://togithub.com/nuxt/nuxt/pull/24396)) for more information, and do let us know if you experience any issues. ##### 🔥 Schema Performance We've taken some time in this release to make some minor performance improvements, so you should notice some things are a bit faster. This is an ongoing project and we have ideas for improving initial load time of the Nuxt dev server. #### ✅ Upgrading As usual, our recommendation for upgrading is to run: ```sh nuxi upgrade --force ``` This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem. #### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v3.8.2...v3.9.0) ##### 🚀 Enhancements - **nuxt:** Warn when page uses a layout without `` ([#​24116](https://togithub.com/nuxt/nuxt/pull/24116)) - **kit:** Support prepend option for `addComponentsDir` ([#​24309](https://togithub.com/nuxt/nuxt/pull/24309)) - **kit:** Allow customising logger options ([#​24243](https://togithub.com/nuxt/nuxt/pull/24243)) - **nuxt:** Allow readonly option for `useCookie` ([#​24503](https://togithub.com/nuxt/nuxt/pull/24503)) - **nuxt:** Add path to `error.data` when throwing 404 errors ([#​24674](https://togithub.com/nuxt/nuxt/pull/24674)) - **kit:** Load `/module` or `/nuxt` module subpath if it exists ([#​24707](https://togithub.com/nuxt/nuxt/pull/24707)) - **nuxt:** Layers support for spa loading template ([#​24709](https://togithub.com/nuxt/nuxt/pull/24709)) - **nuxt:** Expose `refresh` on islands and server components ([#​24261](https://togithub.com/nuxt/nuxt/pull/24261)) - **nuxt:** Add `dedupe` option for data fetching composables ([#​24564](https://togithub.com/nuxt/nuxt/pull/24564)) - **vite:** Replace browser globals with `undefined` on server ([#​24711](https://togithub.com/nuxt/nuxt/pull/24711)) - **nuxt:** Allow plugins to specify dependencies ([#​24127](https://togithub.com/nuxt/nuxt/pull/24127)) - **kit:** Add new `addServerScanDir` composable ([#​24001](https://togithub.com/nuxt/nuxt/pull/24001)) - **nuxt:** Transform `setup` within `defineComponent` options ([#​24515](https://togithub.com/nuxt/nuxt/pull/24515)) - **nuxt:** Allow customising fallback layout ([#​24777](https://togithub.com/nuxt/nuxt/pull/24777)) - **nuxt:** `useRequestHeader` utility ([#​24781](https://togithub.com/nuxt/nuxt/pull/24781)) - **nuxt:** Move loading api behind hooks ([#​24010](https://togithub.com/nuxt/nuxt/pull/24010)) - **nuxt:** Add `callOnce` util to allow running code only once ([#​24787](https://togithub.com/nuxt/nuxt/pull/24787)) - **nuxt:** Allow client components within `NuxtIsland` ([#​22649](https://togithub.com/nuxt/nuxt/pull/22649)) - **schema:** Default to `bundler` module resolution ([#​22821](https://togithub.com/nuxt/nuxt/pull/22821)) - **kit,nuxt,vite,webpack:** Add `toArray` util ([#​24857](https://togithub.com/nuxt/nuxt/pull/24857)) ##### 🔥 Performance - **vite:** Avoid duplicate `resolve` operation ([#​24736](https://togithub.com/nuxt/nuxt/pull/24736)) - **nuxt:** Avoid duplicate iterations over layers ([#​24730](https://togithub.com/nuxt/nuxt/pull/24730)) - **kit:** Avoid duplicate `join` operation ([#​24717](https://togithub.com/nuxt/nuxt/pull/24717)) - **vite:** Simplify manifest property acccess ([#​24715](https://togithub.com/nuxt/nuxt/pull/24715)) - **nuxt:** Don't dedupe fewer than two middleware/plugins ([#​24718](https://togithub.com/nuxt/nuxt/pull/24718)) - **schema:** Avoid duplicate `get` operations ([#​24734](https://togithub.com/nuxt/nuxt/pull/24734)) - **schema:** Use parallel promises ([#​24771](https://togithub.com/nuxt/nuxt/pull/24771)) - **nuxt:** Avoid duplicate `useRuntimeConfig` call ([#​24843](https://togithub.com/nuxt/nuxt/pull/24843)) - **vite:** Avoid duplicate `JSON.stringify` operation ([#​24848](https://togithub.com/nuxt/nuxt/pull/24848)) ##### 🩹 Fixes - **nuxt:** Avoid recursive ssr errors ([#​24399](https://togithub.com/nuxt/nuxt/pull/24399)) - **nuxt:** Improve path resolve for `import.d.ts` ([#​24413](https://togithub.com/nuxt/nuxt/pull/24413)) - **nuxt:** Remove experimental `reactivityTransform` (vue 3.4) ([#​24477](https://togithub.com/nuxt/nuxt/pull/24477)) - **nuxt:** Ignore manifest when prerendering ([#​24504](https://togithub.com/nuxt/nuxt/pull/24504)) - **nuxt:** Don't strip literals from template in `` ([#​24511](https://togithub.com/nuxt/nuxt/pull/24511)) - **vite:** Use `isBuiltin` polyfill for greater node support ([#​24512](https://togithub.com/nuxt/nuxt/pull/24512)) - **nuxt:** Island components with number prefix ([#​24469](https://togithub.com/nuxt/nuxt/pull/24469)) - **nuxt:** Use consistent annotations for tree-shaking ([#​24514](https://togithub.com/nuxt/nuxt/pull/24514)) - **nuxt:** Skip prerendering all pages in hash mode ([#​24517](https://togithub.com/nuxt/nuxt/pull/24517)) - **nuxt:** Skip router middleware/redirections for islands ([#​24421](https://togithub.com/nuxt/nuxt/pull/24421)) - **nuxt:** Remove trailing slash before checking if prerendered ([#​24516](https://togithub.com/nuxt/nuxt/pull/24516)) - **nuxt:** Skip check for `` usage in islands ([#​24529](https://togithub.com/nuxt/nuxt/pull/24529)) - **vite,webpack:** Don't add type checker/analyzer when testing ([#​24608](https://togithub.com/nuxt/nuxt/pull/24608)) - **nuxt:** Do not try auto-install outside of a Nuxt context ([#​24605](https://togithub.com/nuxt/nuxt/pull/24605)) - **nuxt:** Merge and apply layer hooks ([#​24639](https://togithub.com/nuxt/nuxt/pull/24639)) - **nuxt:** Only add/remove trailing slash for http protocols ([#​23296](https://togithub.com/nuxt/nuxt/pull/23296)) - **nuxt:** Ensure `error` in `useAsyncData` has correct type ([#​24396](https://togithub.com/nuxt/nuxt/pull/24396)) - **nuxt:** Add `appManifest` middleware after modules run ([#​24786](https://togithub.com/nuxt/nuxt/pull/24786)) - **nuxt:** Revert async transform of `setup` within `defineComponent` ([#​24784](https://togithub.com/nuxt/nuxt/pull/24784)) - **nuxt:** Eager load island components map ([#​24584](https://togithub.com/nuxt/nuxt/pull/24584)) - **nuxt:** Register override hooks separately ([#​24833](https://togithub.com/nuxt/nuxt/pull/24833)) - **nuxt:** Add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` ([#​24836](https://togithub.com/nuxt/nuxt/pull/24836)) - **kit:** Auto-detect `mode` from `filePath` for `addComponent` ([#​24835](https://togithub.com/nuxt/nuxt/pull/24835)) - **schema:** Revert `bundler` module resolution due to lack of support ([22ce98d61](https://togithub.com/nuxt/nuxt/commit/22ce98d61)) - **kit:** Don't add local `~/modules` dirs to `modulesDir` ([#​24457](https://togithub.com/nuxt/nuxt/pull/24457)) ##### 💅 Refactors - **nuxt:** Use `defineComponent` to infer prop types for router-link stub ([dc0e8347b](https://togithub.com/nuxt/nuxt/commit/dc0e8347b)) - **nuxt:** Opt-in to future `jiti.import` for schema ([#​24526](https://togithub.com/nuxt/nuxt/pull/24526)) - **nuxt:** Remove `process.*` usage in nuxt vue app ([#​24749](https://togithub.com/nuxt/nuxt/pull/24749)) - **schema:** Introduce `future` and `features` namespace ([#​24880](https://togithub.com/nuxt/nuxt/pull/24880)) ##### 📖 Documentation - Fix typo ([#​24395](https://togithub.com/nuxt/nuxt/pull/24395)) - Update code to show how to enable `typedPages` ([#​24436](https://togithub.com/nuxt/nuxt/pull/24436)) - Add `defineNuxtConfig` to deployment example ([#​24451](https://togithub.com/nuxt/nuxt/pull/24451)) - Update link to more info about key/keepalive ([1b1cc4f4e](https://togithub.com/nuxt/nuxt/commit/1b1cc4f4e)) - Update Nuxt 2 EOL date in roadmap ([#​24602](https://togithub.com/nuxt/nuxt/pull/24602)) - Prefer `~` to `@` alias in examples ([#​24574](https://togithub.com/nuxt/nuxt/pull/24574)) - Fix typo ([6a1c05401](https://togithub.com/nuxt/nuxt/commit/6a1c05401)) - Warn about using differently names env variables ([#​24612](https://togithub.com/nuxt/nuxt/pull/24612)) - **commands:** Add tunnel option ([50d46f068](https://togithub.com/nuxt/nuxt/commit/50d46f068)) - Add file name to code block ([#​24620](https://togithub.com/nuxt/nuxt/pull/24620)) - Remove linking to nuxt-themes org ([6f44e9470](https://togithub.com/nuxt/nuxt/commit/6f44e9470)) - Update yarn `-o` option to `--open` ([#​24644](https://togithub.com/nuxt/nuxt/pull/24644)) - Add alt text for roadmap img tags ([1f1049858](https://togithub.com/nuxt/nuxt/commit/1f1049858)) - Add missing props for `` ([#​24675](https://togithub.com/nuxt/nuxt/pull/24675)) - Add more info about custom serialize/revive ([#​24680](https://togithub.com/nuxt/nuxt/pull/24680)) - Fix grammar ([#​24737](https://togithub.com/nuxt/nuxt/pull/24737)) - Add documentation on `getCachedData` option ([#​24697](https://togithub.com/nuxt/nuxt/pull/24697)) - Fix `addServerScanDir` example ([7cd02e290](https://togithub.com/nuxt/nuxt/commit/7cd02e290)) - Add panda css to styling guide ([#​24178](https://togithub.com/nuxt/nuxt/pull/24178)) - Highlight the possibility of middleware to return nothing ([#​24241](https://togithub.com/nuxt/nuxt/pull/24241)) - Setting middleware at build time ([#​23480](https://togithub.com/nuxt/nuxt/pull/23480)) - Remove deprecated `loadNuxt` options ([#​24201](https://togithub.com/nuxt/nuxt/pull/24201)) - Improvements on data-fetching ([6d50b4744](https://togithub.com/nuxt/nuxt/commit/6d50b4744)) - Add documentation for `nuxi module` ([#​24790](https://togithub.com/nuxt/nuxt/pull/24790)) - Update return for `useFetch` and `useAsyncData` [#​24407](https://togithub.com/nuxt/nuxt/issues/24407) ([#​24775](https://togithub.com/nuxt/nuxt/pull/24775), [#​24407](https://togithub.com/nuxt/nuxt/issues/24407)) - Add docs for runtime test environment ([#​24658](https://togithub.com/nuxt/nuxt/pull/24658)) - Update example test snapshots to remove escapes ([5de779a7d](https://togithub.com/nuxt/nuxt/commit/5de779a7d)) - Add `addComponentsDir` example to modules author guide ([#​24876](https://togithub.com/nuxt/nuxt/pull/24876)) ##### 🏡 Chore - Update variable in release scripts ([258b8a706](https://togithub.com/nuxt/nuxt/commit/258b8a706)) - Import types from '#app' ([#​24418](https://togithub.com/nuxt/nuxt/pull/24418)) - Update markdownlintignore ([1abb5479c](https://togithub.com/nuxt/nuxt/commit/1abb5479c)) - Update vitest dependencies ([#​24659](https://togithub.com/nuxt/nuxt/pull/24659)) - Pin rollup to v4 ([#​24814](https://togithub.com/nuxt/nuxt/pull/24814)) - **nuxt:** Add return type for entry ([#​24821](https://togithub.com/nuxt/nuxt/pull/24821)) - Use `dev:prepare` instead of `build:stub` ([802b3e28c](https://togithub.com/nuxt/nuxt/commit/802b3e28c)) ##### ✅ Tests - Re-enable accidentally disabled unit tests 🙈 ([b443de230](https://togithub.com/nuxt/nuxt/commit/b443de230)) - Add basic benchmark tests ([#​24846](https://togithub.com/nuxt/nuxt/pull/24846)) - Update vitest coverage exclusions ([a46b0c876](https://togithub.com/nuxt/nuxt/commit/a46b0c876)) ##### 🤖 CI - Don't skip releases based on commit body ([#​24554](https://togithub.com/nuxt/nuxt/pull/24554)) - Label pull requests based on their target branch ([#​24468](https://togithub.com/nuxt/nuxt/pull/24468)) - Update options for GitHub app token generation ([#​24565](https://togithub.com/nuxt/nuxt/pull/24565)) - Notify `nuxt/bridge` when composables change ([#​24752](https://togithub.com/nuxt/nuxt/pull/24752)) - Don't run benchmark on main commits by default ([064615e8c](https://togithub.com/nuxt/nuxt/commit/064615e8c)) - Temporarily disable codspeed ([a39d311d3](https://togithub.com/nuxt/nuxt/commit/a39d311d3)) ##### ❤️ Contributors - Daniel Roe ([@​danielroe](https://togithub.com/danielroe)) - Damian Głowala ([@​DamianGlowala](https://togithub.com/DamianGlowala)) - Isaac Qadri ([@​pmnzt](https://togithub.com/pmnzt)) - Michael Brevard ([@​GalacticHypernova](https://togithub.com/GalacticHypernova)) - Bobbie Goede ([@​BobbieGoede](https://togithub.com/BobbieGoede)) - Becem ([@​becem-gharbi](https://togithub.com/becem-gharbi)) - Julien Huang ([@​huang-julien](https://togithub.com/huang-julien)) - Sébastien Chopin ([@​Atinux](https://togithub.com/Atinux)) - Harlan Wilton ([@​harlan-zw](https://togithub.com/harlan-zw)) - Victor Akintunde ([@​akintoluvic](https://togithub.com/akintoluvic)) - Nathanaël Labreuil ([@​IonianPlayboy](https://togithub.com/IonianPlayboy)) - Ryota Watanabe ([@​wattanx](https://togithub.com/wattanx)) - Michael Cole ([@​MichaelJCole](https://togithub.com/MichaelJCole)) - Kekeocha Justin Chetachukwu ([@​justinkekeocha](https://togithub.com/justinkekeocha)) - Ewen Quimerc'h ([@​EwenQuim](https://togithub.com/EwenQuim)) - Abraham ([@​anubra266](https://togithub.com/anubra266)) - Luke Nelson ([@​luc122c](https://togithub.com/luc122c)) - Eugen Guriev ([@​theguriev](https://togithub.com/theguriev)) - Chris Bailey ([@​chris-bailey](https://togithub.com/chris-bailey)) - Alper Doğan ([@​doganalper](https://togithub.com/doganalper)) - Jamie Trip ([@​Jamie4224](https://togithub.com/Jamie4224)) - Alexander Lichter ([@​manniL](https://togithub.com/manniL)) - Idorenyin Udoh ([@​idorenyinudoh](https://togithub.com/idorenyinudoh)) - Phojie Rengel ([@​phojie](https://togithub.com/phojie)) - GJSSSS ([@​gjssss](https://togithub.com/gjssss)) - Xxhls ([@​xxhls](https://togithub.com/xxhls)) - Marco Solazzi ([@​dwightjack](https://togithub.com/dwightjack)) - Lehoczky Zoltán ([@​Lehoczky](https://togithub.com/Lehoczky)) - RoiLeo ([@​RoiLeo](https://togithub.com/RoiLeo)) - Daniel Acuña ([@​DaniAcu](https://togithub.com/DaniAcu)) - Sadegh Barati ([@​sadeghbarati](https://togithub.com/sadeghbarati)) - Anthony Fu ([@​antfu](https://togithub.com/antfu)) - Kostis Maninakis ([@​maninak](https://togithub.com/maninak)) - Pooya Parsa ([@​pi0](https://togithub.com/pi0)) - MaxMonteil ([@​MaxMonteil](https://togithub.com/MaxMonteil)) ### [`v3.8.2`](https://togithub.com/nuxt/nuxt/releases/tag/v3.8.2) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.8.1...v3.8.2) > 3.8.2 is a patch release focusing on bug fixes ##### 👀 Highlights 3.8.2 is a patch release and we've deferred some exciting features in our next release (3.9.0, expected in December) but it does bring a significant [Nitro minor release: v2.8.0](https://togithub.com/unjs/nitro/releases/tag/v2.8.0). It's well worth checking out the release notes. 👉 Note that as Nitro has updated to rollup v4, but as Nuxt's vite dependency is still on rollup v3 until v3.9, you may experience type mismatches in modules or your projects if you are dependent on particular rollup plugins or plugin types. ##### ✅ Upgrading As usual, our recommendation for upgrading is to run: ```sh nuxi upgrade --force ``` This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem. ##### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v3.8.1...v3.8.2) ##### 🩹 Fixes - **vite:** Skip warming up node builtins ([#​24162](https://togithub.com/nuxt/nuxt/pull/24162)) - **vite:** Provide default values for `transformAssetUrls` ([#​24173](https://togithub.com/nuxt/nuxt/pull/24173)) - **nuxt:** Wrap caught asyncData error in `createError` ([#​24093](https://togithub.com/nuxt/nuxt/pull/24093)) - **nuxt:** Include plugin templates in `plugins.d.ts` if they will be written ([#​23943](https://togithub.com/nuxt/nuxt/pull/23943)) - **nuxt:** Handle multi-line slots in islands ([#​24212](https://togithub.com/nuxt/nuxt/pull/24212)) - **nuxt:** Fix replace regex used for slots in islands SSR ([#​24255](https://togithub.com/nuxt/nuxt/pull/24255)) - **vite:** Use rollup replace plugin for `typeof` optimisations ([#​23903](https://togithub.com/nuxt/nuxt/pull/23903)) - **nuxt:** Provide route component names to `KeepAlive` cache ([#​24024](https://togithub.com/nuxt/nuxt/pull/24024)) - **schema:** Use scule types for `runtimeConfig` type hints ([#​23696](https://togithub.com/nuxt/nuxt/pull/23696)) - **nuxt:** Deeply unwrap headers/query for `useFetch` key ([#​24307](https://togithub.com/nuxt/nuxt/pull/24307)) - **nuxt:** Split component name case in each segment ([#​24318](https://togithub.com/nuxt/nuxt/pull/24318)) - **nuxt:** Do not compute `useFetch` key from headers ([#​23462](https://togithub.com/nuxt/nuxt/pull/23462), [#​24333](https://togithub.com/nuxt/nuxt/pull/24333)) - **nuxt:** Set framework info for nitro ([#​24340](https://togithub.com/nuxt/nuxt/pull/24340)) - **schema:** Add type for `ignoreOptions` ([#​24337](https://togithub.com/nuxt/nuxt/pull/24337)) - **nuxt:** Log errors rendering islands ([#​24356](https://togithub.com/nuxt/nuxt/pull/24356)) - **nuxt:** Respect custom timeout in `useFetch` ([#​24364](https://togithub.com/nuxt/nuxt/pull/24364)) - **nuxt:** Use max length + iterations for `useCookie` timeout ([#​24253](https://togithub.com/nuxt/nuxt/pull/24253)) - **nuxt:** Handle errors when booting app with `app:error` ([#​24376](https://togithub.com/nuxt/nuxt/pull/24376)) ##### 📖 Documentation - Remove unused import from example ([#​24168](https://togithub.com/nuxt/nuxt/pull/24168)) - Create a page explaining `import.meta` ([#​24186](https://togithub.com/nuxt/nuxt/pull/24186)) - Remove link to `.nuxtrc` in `nuxt/starter` ([56147b4a8](https://togithub.com/nuxt/nuxt/commit/56147b4a8)) - Correct spelling from "opiniated" to "opinionated" ([#​24248](https://togithub.com/nuxt/nuxt/pull/24248)) - Mention new `defineNuxtPlugin` syntax in bridge migration ([#​23036](https://togithub.com/nuxt/nuxt/pull/23036)) - Mention `nuxt3-vuex-module` in migration guide ([#​24260](https://togithub.com/nuxt/nuxt/pull/24260)) - Fix links to other auto-imports pages ([#​24269](https://togithub.com/nuxt/nuxt/pull/24269)) - Remove only ([#​24295](https://togithub.com/nuxt/nuxt/pull/24295)) - Update link to deno deploy provider docs ([88ee7b7ea](https://togithub.com/nuxt/nuxt/commit/88ee7b7ea)) - Typos and wording tweaks for getting started section ([#​24319](https://togithub.com/nuxt/nuxt/pull/24319)) - Update `.gitignore` in directory structure ([#​24338](https://togithub.com/nuxt/nuxt/pull/24338)) - Add hint about `app.config` placement with custom `srcDir` ([#​24252](https://togithub.com/nuxt/nuxt/pull/24252)) - Typos and wording tweaks for guide section ([#​24323](https://togithub.com/nuxt/nuxt/pull/24323)) - Remove path for `` in example ([#​24244](https://togithub.com/nuxt/nuxt/pull/24244)) - Mention changing directory in installation guide ([#​23680](https://togithub.com/nuxt/nuxt/pull/23680)) - Use `@nuxt/kit-nightly` in example ([bdedc3207](https://togithub.com/nuxt/nuxt/commit/bdedc3207)) - Update `nuxi-edge` to `nuxi-nightly` ([#​24347](https://togithub.com/nuxt/nuxt/pull/24347)) - Minor wording & formatting tweaks ([#​24349](https://togithub.com/nuxt/nuxt/pull/24349)) - Add AWS Amplify Hosting to hosting providers ([#​24371](https://togithub.com/nuxt/nuxt/pull/24371)) - Fix typo ([#​24375](https://togithub.com/nuxt/nuxt/pull/24375)) - Simplify to deployments page ([13b93237e](https://togithub.com/nuxt/nuxt/commit/13b93237e)) - Update to /deploy url ([751dad7d7](https://togithub.com/nuxt/nuxt/commit/751dad7d7)) - Improve readme ([07ab072bc](https://togithub.com/nuxt/nuxt/commit/07ab072bc)) ##### 🏡 Chore - Extract `@nuxt/test-utils` to separate repo ([#​24146](https://togithub.com/nuxt/nuxt/pull/24146)) - Remove stray router.options file ([7fbcaf290](https://togithub.com/nuxt/nuxt/commit/7fbcaf290)) - Fix `repository` fields in `package.json` ([54529c17d](https://togithub.com/nuxt/nuxt/commit/54529c17d)) - Add homepage and repo directory to `package.json`s ([#​24189](https://togithub.com/nuxt/nuxt/pull/24189)) - Update to use `@nuxt/eslint-config` ([#​24209](https://togithub.com/nuxt/nuxt/pull/24209)) - Revert coverage provider version ([b90b631df](https://togithub.com/nuxt/nuxt/commit/b90b631df)) ##### ✅ Tests - Add route-provider e2e test ([#​24195](https://togithub.com/nuxt/nuxt/pull/24195)) - **nuxt:** Add additional unit tests for composables ([#​24289](https://togithub.com/nuxt/nuxt/pull/24289)) ##### ❤️ Contributors - Anthony Fu ([@​antfu](https://togithub.com/antfu)) - Sébastien Chopin ([@​Atinux](https://togithub.com/Atinux)) - Christian Gil ([@​ChrisGV04](https://togithub.com/ChrisGV04)) - Clément Ollivier ([@​clemcode](https://togithub.com/clemcode)) - Luke Nelson ([@​luc122c](https://togithub.com/luc122c)) - Siegerts ([@​siegerts](https://togithub.com/siegerts)) - Julien Huang ([@​huang-julien](https://togithub.com/huang-julien)) - Joe Hawes ([@​morehawes](https://togithub.com/morehawes)) - Alexander Lichter ([@​manniL](https://togithub.com/manniL)) - Daniel Roe ([@​danielroe](https://togithub.com/danielroe)) - Damian Głowala ([@​DamianGlowala](https://togithub.com/DamianGlowala)) - Pooya Parsa ([@​pi0](https://togithub.com/pi0)) - Boby Tiwari ([@​Boby900](https://togithub.com/Boby900)) - Sita ([@​Pitabread8](https://togithub.com/Pitabread8)) - Nils Wiesinger ([@​warflash](https://togithub.com/warflash)) - Webfansplz ([@​webfansplz](https://togithub.com/webfansplz)) - Aaron_Zhou ([@​Clarkkkk](https://togithub.com/Clarkkkk)) - 56 ([@​Nationalcat](https://togithub.com/Nationalcat)) - Adrien Zaganelli ([@​adrienZ](https://togithub.com/adrienZ)) - Alonge Akintomide ([@​tomidealonge](https://togithub.com/tomidealonge)) - Nasser BOUKEHIL ([@​nasrob](https://togithub.com/nasrob)) - Passionate-bram ([@​passionate-bram](https://togithub.com/passionate-bram)) - Maxime Pauvert ([@​maximepvrt](https://togithub.com/maximepvrt)) - Dario Ferderber ([@​darioferderber](https://togithub.com/darioferderber)) - Brendan Mulholland ([@​bmulholland](https://togithub.com/bmulholland)) ### [`v3.8.1`](https://togithub.com/nuxt/nuxt/releases/tag/v3.8.1) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.8.0...v3.8.1) > 3.8.1 is a patch release focused on bug fixes and performance improvements. #### 👉 Changelog [compare changes](https://togithub.com/nuxt/nuxt/compare/v3.8.0...v3.8.1) ##### 🔥 Performance - **nuxt:** Set `pages` on nuxt app and deduplicate calls ([#​24032](https://togithub.com/nuxt/nuxt/pull/24032)) - **nuxt:** Remove pure annotations plugin ([#​24033](https://togithub.com/nuxt/nuxt/pull/24033)) - **nuxt:** Use granular imports for auto-importing composables ([#​23951](https://togithub.com/nuxt/nuxt/pull/23951)) ##### 🩹 Fixes - **nuxt:** Ensure we add prerender hints to correct event ([#​23799](https://togithub.com/nuxt/nuxt/pull/23799)) - **nuxt:** Close payload object ([#​23817](https://togithub.com/nuxt/nuxt/pull/23817)) - **schema:** Accept single string for `extends` ([#​23795](https://togithub.com/nuxt/nuxt/pull/23795)) - **nuxt:** Resolve internal `target: blank` links with base ([#​23751](https://togithub.com/nuxt/nuxt/pull/23751)) - **nuxt,schema:** Use `std-env` to detect whether app is being tested ([#​23830](https://togithub.com/nuxt/nuxt/pull/23830)) - **nuxt:** Use `.json` extension for server components ([#​23802](https://togithub.com/nuxt/nuxt/pull/23802)) - **nuxt:** Handle relative baseURL in nitro runtime config ([#​23841](https://togithub.com/nuxt/nuxt/pull/23841)) - **nuxt:** Improve watcher logs slightly ([#​23857](https://togithub.com/nuxt/nuxt/pull/23857)) - **nuxt:** Resolve `@unhead/vue` in template code ([#​23858](https://togithub.com/nuxt/nuxt/pull/23858)) - **kit:** Resolve module tsconfig paths relative to dirs ([#​23860](https://togithub.com/nuxt/nuxt/pull/23860)) - **nuxt,schema,vite,webpack:** Analyze w/o overriding config ([#​23856](https://togithub.com/nuxt/nuxt/pull/23856)) - **nuxt:** Don't use local fetch with an external `baseURL` ([#​23884](https://togithub.com/nuxt/nuxt/pull/23884)) - **nuxt:** Only skip refetching errors when hydrating ([#​23889](https://togithub.com/nuxt/nuxt/pull/23889)) - **webpack:** Use lodash `cloneDeep` again ([#​23888](https://togithub.com/nuxt/nuxt/pull/23888)) - **nuxt:** Init `$fetch` at entry start ([#​23906](https://togithub.com/nuxt/nuxt/pull/23906)) - **nuxt:** Render a div when client-only hydrates w/o element ([#​23899](https://togithub.com/nuxt/nuxt/pull/23899)) - **vite:** Remove `postcss-url` and duplicate `postcss-import` ([#​23861](https://togithub.com/nuxt/nuxt/pull/23861)) - **nuxt:** Use route key for loading indicator/view transition ([#​23868](https://togithub.com/nuxt/nuxt/pull/23868)) - **nuxt:** Unset `useCookie` value when it expires ([#​23549](https://togithub.com/nuxt/nuxt/pull/23549)) - **vite:** Use `h3` cors handler for vite routes only ([#​23995](https://togithub.com/nuxt/nuxt/pull/23995)) - **schema:** Correctly set default cssnano config ([#​23980](https://togithub.com/nuxt/nuxt/pull/23980)) - **nuxt:** Use payload url for isPrerendered, not current route ([#​24031](https://togithub.com/nuxt/nuxt/pull/24031)) - **vite:** Don't warm up css deps and normalise urls correctly ([#​23975](https://togithub.com/nuxt/nuxt/pull/23975)) - **kit:** Fix `addServerImportsDir` implementation ([#​24000](https://togithub.com/nuxt/nuxt/pull/24000)) - **nuxt:** Preserve hyphens in component/layout kebab names ([#​23902](https://togithub.com/nuxt/nuxt/pull/23902)) - **nuxt:** Do not register loading indicator hooks on server ([#​24052](https://togithub.com/nuxt/nuxt/pull/24052)) - **nuxt:** Reload nitro when spa loading template updates ([#​24036](https://togithub.com/nuxt/nuxt/pull/24036)) - **nuxt:** Resolve imports from virtual files ([#​24022](https://togithub.com/nuxt/nuxt/pull/24022)) - **vite:** Include more of warmup within try/catch ([#​24072](https://togithub.com/nuxt/nuxt/pull/24072)) - **nuxt:** Use shared `isChangingPage` util in scrollBehavior ([#​24091](https://togithub.com/nuxt/nuxt/pull/24091)) - **nuxt:** Account for delay ≤ 0 in `useCookie` ([#​24043](https://togithub.com/nuxt/nuxt/pull/24043)) - **nuxt:** Handle async children in `ClientFallback` ([#​24086](https://togithub.com/nuxt/nuxt/pull/24086)) - **vite:** Normalise entry id for `typeCheck` plugin ([#​24114](https://togithub.com/nuxt/nuxt/pull/24114)) ##### 💅 Refactors - **nuxt:** Use `useRequestEvent()` internally ([#​23916](https://togithub.com/nuxt/nuxt/pull/23916)) ##### 📖 Documentation - Add example of auto-importing components from npm package ([#​23792](https://togithub.com/nuxt/nuxt/pull/23792)) - Update minimum required Node version ([#​23821](https://togithub.com/nuxt/nuxt/pull/23821)) - **getting-started:** Add schema for server ([6d0f45469](https://togithub.com/nuxt/nuxt/commit/6d0f45469)) - Fix typo in pnpm install command ([#​23851](https://togithub.com/nuxt/nuxt/pull/23851)) - Add missing comma ([#​23870](https://togithub.com/nuxt/nuxt/pull/23870)) - Add missing nitro hooks ([#​23865](https://togithub.com/nuxt/nuxt/pull/23865)) - Fix typo in layout description ([#​23862](https://togithub.com/nuxt/nuxt/pull/23862)) - Fix typo in runtime-config page ([#​23882](https://togithub.com/nuxt/nuxt/pull/23882)) - Fix typo ([#​23912](https://togithub.com/nuxt/nuxt/pull/23912)) - Fix typos ([#​23921](https://togithub.com/nuxt/nuxt/pull/23921)) - Rename 3.nuxt.config.md to 3.nuxt-config.md ([#​23819](https://togithub.com/nuxt/nuxt/pull/23819)) - **composables:** Avoid double read-more in useAppConfig ([5fea17288](https://togithub.com/nuxt/nuxt/commit/5fea17288)) - Skip View Transitions API route middleware on server ([#​23935](https://togithub.com/nuxt/nuxt/pull/23935)) - Clarify that bridge supports definePageMeta ([#​23944](https://togithub.com/nuxt/nuxt/pull/23944)) - Fix small typo in nuxt.config.ts documentation ([#​23961](https://togithub.com/nuxt/nuxt/pull/23961)) - Update link to composables doc ([#​23989](https://togithub.com/nuxt/nuxt/pull/23989)) - Add a more helpful comment ([#​23999](https://togithub.com/nuxt/nuxt/pull/23999)) - Fix `useFetch` key generation logic ([#​24082](https://togithub.com/nuxt/nuxt/pull/24082)) - Fix typo ([#​24099](https://togithub.com/nuxt/nuxt/pull/24099)) - Fix imported `addPrerenderRoutes` name ([#​24102](https://togithub.com/nuxt/nuxt/pull/24102)) - Improve router docs on nuxt-injected options ([#​24126](https://togithub.com/nuxt/nuxt/pull/24126)) ##### 🏡 Chore - Revert pnpm upgrade ([e297368ee](https://togithub.com/nuxt/nuxt/commit/e297368ee)) ##### ✅ Tests - **nuxt:** Test remote islands for `NuxtIsland` ([#​23801](https://togithub.com/nuxt/nuxt/pull/23801)) - Update basic fixture config for vite 5 ([#​23859](https://togithub.com/nuxt/nuxt/pull/23859)) - Await before asserting console logs ([#​24051](https://togithub.com/nuxt/nuxt/pull/24051)) ##### 🤖 CI - Add doc deploy webhook trigger ([#​23828](https://togithub.com/nuxt/nuxt/pull/23828)) - Run nuxt 2 edge release on node 18 ([5b96049d9](https://togithub.com/nuxt/nuxt/commit/5b96049d9)) ##### ❤️ Contributors - Fabian B ([@​madebyfabian](https://togithub.com/madebyfabian)) - Mehdi Lahlou ([@​medfreeman](https://togithub.com/medfreeman)) - Webfansplz ([@​Webfansplz](https://togithub.com/Webfansplz)) - Damian Głowala ([@​DamianGlowala](https://togithub.com/DamianGlowala)) - Andrey Yolkin ([@​AndreyYolkin](https://togithub.com/AndreyYolkin)) - Vasilis Souvatzis ([@​vasisouv](https://togithub.com/vasisouv)) - Daniel Roe ([@​danielroe](https://togithub.com/danielroe)) - Marco Solazzi ([@​dwightjack](https://togithub.com/dwightjack)) - NiJia Lin ([@​louis70109](https://togithub.com/louis70109)) - Hugo Torzuoli ([@​HZooly](https://togithub.com/HZooly)) - Mathieu ALBIN ([@​jaegar-wolf](https://togithub.com/jaegar-wolf)) - Julien Huang ([@​huang-julien](https://togithub.com/huang-julien)) - Jaap Roes ([@​jaap3](https://togithub.com/jaap3)) - Ryota Watanabe ([@​wattanx](https://togithub.com/wattanx)) - Sébastien Chopin ([@​Atinux](https://togithub.com/Atinux)) - Hossein-moghadam ([@​hosseinmoghaddam](https://togithub.com/hosseinmoghaddam)) - Bastien Rossi ([@​bastienrossi](https://togithub.com/bastienrossi)) - Ordago ([@​ordago](https://togithub.com/ordago)) - Jeffrey GONZALES ([@​jgonz3](https://togithub.com/jgonz3)) - Anthony Fu ([@​antfu](https://togithub.com/antfu)) - Leonard Mihalcea ([@​LeVoMihalcea](https://togithub.com/LeVoMihalcea)) - Paulo Pertierra ([@​paulo-pertierra](https://togithub.com/paulo-pertierra)) - Conner ([@​connerblanton](https://togithub.com/connerblanton)) - KeJun ([@​KeJunMao](https://togithub.com/KeJunMao)) - Bjorn Lu ([@​bluwy](https://togithub.com/bluwy)) - Salman Khattak ([@​khattaksd](https://togithub.com/khattaksd)) - Luke Nelson ([@​luc122c](https://togithub.com/luc122c)) - Jianqi Pan ([@​Jannchie](https://togithub.com/Jannchie)) - Matej Černý ([@​CernyMatej](https://togithub.com/CernyMatej)) ### [`v3.8.0`](https://togithub.com/nuxt/nuxt/releases/tag/v3.8.0) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.7.4...v3.8.0) #### 👀 Highlights We have a lot of exciting features in v3.8, and can't wait for you to try it out. ##### 💻 Nuxi improvements Just to remind you, we're now using [the new Nuxt CLI](https://togithub.com/nuxt/cli) which is now versioned separately. There are some exciting improvements there to follow, so do check out the latest releases. (For example, we now share the same port with the Vite websocket, meaning better support for docker containers in development.) ##### 🚨 Built-in Nuxt DevTools Nuxt DevTools v1.0.0 is out and we now think it's ready to be shipped as a direct dependency of Nuxt. 👉 You can check out [the release notes](https://togithub.com/nuxt/devtools/releases/tag/v1.0.0) for more information - and stay tuned for an article detailing our roadmap for the future. ##### 📸 Nuxt Image auto-install We've now made `` and `` first-class built-in components, [documenting them](https://togithub.com/nuxt/nuxt/pull/23741) and auto-installing `@nuxt/image` the first time that they are used ([#​23717](https://togithub.com/nuxt/nuxt/pull/23717)). https://github.com/nuxt/nuxt/assets/28706372/597c9307-5741-4d9c-8eab-aad5bfef2ef2 We would definitely advise using `@nuxt/image` if you're using images in your site; it can apply optimisations to make your site more performant. ##### 📂 Deeper layout scanning 🚨 **This is a behaviour change so do take care with this one:** 🚨 We now support scanning layouts within subfolders in `~/layouts` in the same way as we do with `~/components`. File | Layout name \-- | -- \~/layouts/desktop/default.vue | 'desktop-default' \~/layouts/desktop-base/base.vue | 'desktop-base' \~/layouts/desktop/index.vue | 'desktop' See [#​20190](https://togithub.com/nuxt/nuxt/pull/20190) for more information ##### 📊 App Manifest We now support a built-in app manifest (see [#​21641](https://togithub.com/nuxt/nuxt/pull/21641)), which generates a manifest at `/_nuxt/builds/meta/.json`. Initially this enables loading payloads only for prerendered routes, if a site is static (preventing 404s). It also enables *client-side* route rules. To begin with, only `redirect` route rules will have an effect; they will now redirect when performing client-side navigation. (More coming soon...!) The app manifest also enables future enhancements including detection of outdated deployments by checking `/_nuxt/builds/latest.json`. You can switch off this behaviour if you need to (but do let us know if you have any issues): ```ts export default defineNuxtConfig({ experimental: { appManifest: false } }) ``` ##### 🤝 Scope and context improvements We now define a 'scope' for Nuxt composables executed in plugins ([#​23667](https://togithub.com/nuxt/nuxt/pull/23667)), which allows running synchronous cleanup before navigating away from your site, using the Vue `onScopeDispose` lifecycle method. This should fix an edge case with cookies ([#​23697](https://togithub.com/nuxt/nuxt/pull/23697)) and also improves memory management, for example in Pinia stores ([#​23650](https://togithub.com/nuxt/nuxt/issues/23650)). You can [read more about Vue effect scopes](https://vuejs.org/api/reactivity-advanced.html#effectscope). We also now support **native async context** for the *Vue composition API* ([#​23526](https://togithub.com/nuxt/nuxt/pull/23526)). In case you're unaware, we support native async context on Node and Bun, enabled with `experimental.asyncContext`. This can help address issues with missing a Nuxt instance. But it didn't previously affect missing *Vue* instances. If you experience issues with 'Nuxt instance unavailable', enabling this option may solve your issues, and once we have cross-runtime support we are likely to enable it by default. ```ts export default defineNuxtConfig({ experimental: { asyncContext: true } }) ``` ##### 🔗 NuxtLink defaults We've supported defining your own `NuxtLink` components with the `defineNuxtLink` utility. We now support customising the options for the built-in ``, directly in your `nuxt.config` file ([#​23724](https://togithub.com/nuxt/nuxt/pull/23724)). This can enable you to enforce trailing slash behaviour across your entire site, for example. ```ts export default defineNuxtConfig({ experimental: { defaults: { nuxtLink: { activeClass: 'nuxt-link-active', trailingSlash: 'append' } } } }) ``` ##### ⚡️ Data fetching improvements: deep and caching We have two very significant new features for `useAsyncData` and `useFetch`: 1. You can now set `deep: false` to prevent deep reactivity on the `data` object returned from these composables ([#​23600](https://togithub.com/nuxt/nuxt/pull/23600)). It should be a performance improvement if you are returning large arrays or objects. The object will still update when refetched; it just won't trigger reactive effects if you change a property deep within the `data`. 2. You can now use the `getCachedData` option to handle custom caching for these composables ([#​20747](https://togithub.com/nuxt/nuxt/pull/20747)) ```ts const nuxtApp = useNuxtApp() const { data } = await useAsyncData(() => { /* fetcher */ }, { // this will not refetch if the key exists in the payload getCachedData: key => nuxtApp.payload.static[key] ?? nuxtApp.payload.data[key] }) ``` We also support configuring some default values for these composables in an app-wide way ([#​23725](https://togithub.com/nuxt/nuxt/pull/20747)): ```ts export default defineNuxtConfig({ experimental: { defaults: { useAsyncData: { deep: false }, useFetch: { retry: false, retryDelay: 100, retryStatusCodes: [500], timeout: 100 } } } }) ``` ##### 🔢 Layer improvements We now more carefully load layer plugins ([#​22889](https://togithub.com/nuxt/nuxt/pull/22889) and [#​23148](https://togithub.com/nuxt/nuxt/pull/23148)) and middleware ([#​22925](https://togithub.com/nuxt/nuxt/pull/22925) and [#​23552](https://togithub.com/nuxt/nuxt/pull/23552)) in the order of the layers, always loading your own plugins and middleware last. This should mean you can rely on utilities that layers may inject. We've also added a test suite to cover these layer resolution changes. And probably one of the most significant changes - if you are using remote layers we now clone these within your `node_modules/` folder ([#​109](https://togithub.com/unjs/c12/pull/109)) so layers can use dependencies with your project. See [`c12` release notes](https://togithub.com/unjs/c12/releases/tag/v1.5.1) for full details. ##### 😴 Nightly release channel Every commit to the `main` branch of Nuxt is automatically deployed to a new release, for easier testing before releases. We've renamed this from the 'edge release channel' to the 'nightly release channel' to avoid confusion with *edge deployments*. And probably also with Microsoft Edge (though I haven't heard that anyone was confused with that one!) ➡️ `nuxt3` is now `nuxt-ni

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 10 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

renovate[bot] commented 3 months ago

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.