nuxt / telemetry

Nuxt Telemetry
MIT License
205 stars 23 forks source link

chore(deps): update all non-major dependencies #84

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/kit ^3.0.0-rc.11 -> ^3.0.0-rc.13 age adoption passing confidence
chalk ^5.1.1 -> ^5.1.2 age adoption passing confidence
ci-info ^3.5.0 -> ^3.6.1 age adoption passing confidence
defu ^6.1.0 -> ^6.1.1 age adoption passing confidence
destr ^1.1.1 -> ^1.2.1 age adoption passing confidence
inquirer ^9.1.3 -> ^9.1.4 age adoption passing confidence
node-fetch ^3.2.10 -> ^3.3.0 age adoption passing confidence
nuxt ^3.0.0-rc.11 -> ^3.0.0-rc.13 age adoption passing confidence
ohmyfetch ^0.4.19 -> ^0.4.21 age adoption passing confidence
std-env ^3.2.1 -> ^3.3.1 age adoption passing confidence

Release Notes

nuxt/framework ### [`v3.0.0-rc.13`](https://togithub.com/nuxt/framework/releases/tag/v3.0.0-rc.13) [Compare Source](https://togithub.com/nuxt/framework/compare/v3.0.0-rc.12...v3.0.0-rc.13) 👉 **[Release discussion](https://togithub.com/nuxt/framework/discussions/8687)** ##### ⭐ What is New? ##### 🔰 Security Fixes This release contains multiple security related fixes [#​8675](https://togithub.com/nuxt/framework/pull/8675), [#​8674](https://togithub.com/nuxt/framework/pull/8674) and [#​8673](https://togithub.com/nuxt/framework/pull/8673) reported via [huntr.dev](https://huntr.dev/) platform by [OhB00](https://togithub.com/OhB00). We recommend you upgrade to the latest version as soon as possible. If you encounter "The request URL ... is outside of Vite service allow list" issue, try adding path to `vite.server.fs.allow` in `nuxt.config`. [read more](https://togithub.com/nuxt/framework/pull/8674). ##### 🚀 Performance Improvements Using a new method to extract `definePageMeta` improves vite performance and makes lazy compilation of pages possible ([#​8536](https://togithub.com/nuxt/framework/pull/8536)). ##### 💯 Strict Config Schema and Types We have cleaned up the configuration schema ([#​8487](https://togithub.com/nuxt/framework/pull/8487)) so that you no longer would be confused with Nuxt 2 options and also can quickly notice any typos in `nuxt.config` file. Typescript strict mode is also enabled by default with this release as best practice. ([#​8667](https://togithub.com/nuxt/framework/pull/8667)) ##### 🚇 Nitro Development Server Proxy Using `nitro.devProxy` option you can now configure proxies for the development server. ([learn more](https://nitro.unjs.io/config#devproxy)) ##### Changelog [compare changes](https://togithub.com/nuxt/framework/compare/v3.0.0-rc.12...release/3.0.0-rc.13) ##### ⚠️ Breaking Changes - **nuxt:** ⚠️ Use parser to generate page metadata ([#​8536](https://togithub.com/nuxt/framework/pull/8536)) - **schema:** ⚠️ Use strict typescript mode by default ([#​8667](https://togithub.com/nuxt/framework/pull/8667)) - **test-utils:** ⚠️ Update vitest args ([#​8325](https://togithub.com/nuxt/framework/pull/8325)) - **schema:** ⚠️ Disable `app.pageTransition` and `app.layoutTransition` by default ([#​8436](https://togithub.com/nuxt/framework/pull/8436)) - **nuxt:** ⚠️ Cleanup schema and split nuxt 2 types ([#​8487](https://togithub.com/nuxt/framework/pull/8487)) ##### 🚀 Enhancements - **nuxt:** Default router scroll behavior ([#​3851](https://togithub.com/nuxt/framework/pull/3851)) - **nuxt:** Make `useFetch` options reactive ([#​8374](https://togithub.com/nuxt/framework/pull/8374)) - **kit:** Add `updateTemplates` utility ([#​8413](https://togithub.com/nuxt/framework/pull/8413)) - **nuxt:** Add dev warnings when `setPageLayout` is used incorrectly ([#​8464](https://togithub.com/nuxt/framework/pull/8464)) - Add `` component ([#​7950](https://togithub.com/nuxt/framework/pull/7950)) - **nuxt:** Allow setting `name` and `path` for a route in `definePageMeta` ([#​8633](https://togithub.com/nuxt/framework/pull/8633)) - **kit:** Add `addServerPlugin` utility ([#​8635](https://togithub.com/nuxt/framework/pull/8635)) - **kit, nuxt:** Support `prerender:routes` and `addPrerenderRoutes` ([#​8670](https://togithub.com/nuxt/framework/pull/8670)) ##### 🩹 Fixes - **nuxt:** Don't use or assignment ([#​8299](https://togithub.com/nuxt/framework/pull/8299)) - **nuxt:** Pass original request headers to the error page ([#​7340](https://togithub.com/nuxt/framework/pull/7340)) - **nuxt:** Scroll to top on dynamic routes with different params ([#​8327](https://togithub.com/nuxt/framework/pull/8327)) - **nuxt:** Router defaults overwrite custom options always ([#​8334](https://togithub.com/nuxt/framework/pull/8334)) - **cli:** Update analzye main handler ([#​8339](https://togithub.com/nuxt/framework/pull/8339)) - **nuxt:** RouterBehavior comparison for hash block ([#​8383](https://togithub.com/nuxt/framework/pull/8383)) - **nuxt:** Don't load payloads for external urls ([#​8370](https://togithub.com/nuxt/framework/pull/8370)) - **vite:** Invalidate virtual modules with `vite-node` ([#​8389](https://togithub.com/nuxt/framework/pull/8389)) - **nuxt:** Avoid directly importing `vue-router` inside `` ([#​8421](https://togithub.com/nuxt/framework/pull/8421)) - **webpack:** Print build errors ([#​8388](https://togithub.com/nuxt/framework/pull/8388)) - **kit:** Use `pathe` to resolve aliases ([#​8453](https://togithub.com/nuxt/framework/pull/8453)) - **test-utils:** Override `NITRO_PORT` as well ([#​8458](https://togithub.com/nuxt/framework/pull/8458)) - **nuxt:** Call data refresh hook in parallel ([#​8470](https://togithub.com/nuxt/framework/pull/8470)) - **nuxt:** Allow responding with custom headers from `error.vue` ([#​8469](https://togithub.com/nuxt/framework/pull/8469)) - **schema:** Disable early hints by default ([#​8486](https://togithub.com/nuxt/framework/pull/8486)) - **kit:** Don't require nuxt context when resolving path ([#​8504](https://togithub.com/nuxt/framework/pull/8504)) - **nuxt, nuxi:** Improve `pages` creation and removal DX ([#​8502](https://togithub.com/nuxt/framework/pull/8502)) - **nuxt:** Add `vue-router` to optimized deps ([#​8544](https://togithub.com/nuxt/framework/pull/8544)) - **vite:** Handle all vite middleware routes ([#​8601](https://togithub.com/nuxt/framework/pull/8601)) - **nuxt:** Pass async-data errors through to client ([#​8521](https://togithub.com/nuxt/framework/pull/8521)) - **nuxt:** Check before appending comma in composable keys ([#​8529](https://togithub.com/nuxt/framework/pull/8529)) - **nuxt:** ⚠️ Use parser to generate page metadata ([#​8536](https://togithub.com/nuxt/framework/pull/8536)) - **kit:** Normalize handler paths ([#​8626](https://togithub.com/nuxt/framework/pull/8626)) - **nuxt:** Don't force prerender `/` if user doesn't have that route ([#​8639](https://togithub.com/nuxt/framework/pull/8639)) - **nuxt:** Do not inline global styles in html response ([#​8666](https://togithub.com/nuxt/framework/pull/8666)) - **schema:** ⚠️ Use strict typescript mode by default ([#​8667](https://togithub.com/nuxt/framework/pull/8667)) - **nuxt:** Disallow directly rendering error page ([#​8673](https://togithub.com/nuxt/framework/pull/8673)) - Resolve ids to support pnpm ([#​8671](https://togithub.com/nuxt/framework/pull/8671)) - **vite:** Enable fs strict mode ([#​8674](https://togithub.com/nuxt/framework/pull/8674)) - **nuxt:** Ensure payload url has no protocol ([#​8675](https://togithub.com/nuxt/framework/pull/8675)) ##### 💅 Refactors - **test-utils:** ⚠️ Update vitest args ([#​8325](https://togithub.com/nuxt/framework/pull/8325)) - **schema:** ⚠️ Disable `app.pageTransition` and `app.layoutTransition` by default ([#​8436](https://togithub.com/nuxt/framework/pull/8436)) - **nuxt:** ⚠️ Cleanup schema and split Nuxt 2 types ([#​8487](https://togithub.com/nuxt/framework/pull/8487)) ##### 📖 Documentation - Add route rules to concepts > rendering ([#​8292](https://togithub.com/nuxt/framework/pull/8292)) - Fix broken link ([#​8319](https://togithub.com/nuxt/framework/pull/8319)) - Fix link to documentation guide ([#​8322](https://togithub.com/nuxt/framework/pull/8322)) - Update website-theme to 0.1.7 ([dbc2c8ce](https://togithub.com/nuxt/framework/commit/dbc2c8ce)) - Add missing opening `` tag in a code sample ([#​8349](https://togithub.com/nuxt/framework/pull/8349)) - Update links for external tools ([#​8382](https://togithub.com/nuxt/framework/pull/8382)) - Update for clarity and fix typos ([#​8375](https://togithub.com/nuxt/framework/pull/8375)) - Add missing `app` key for transitions ([#​8385](https://togithub.com/nuxt/framework/pull/8385)) - **api:** Add `` to API docs ([#​8400](https://togithub.com/nuxt/framework/pull/8400)) - Fix typo ([#​8427](https://togithub.com/nuxt/framework/pull/8427)) - Disable transitions by default as hotfix ([#​8434](https://togithub.com/nuxt/framework/pull/8434)) - Add note about runtime config serialization ([#​8432](https://togithub.com/nuxt/framework/pull/8432)) - Change required node version to be above 16.11 ([#​8408](https://togithub.com/nuxt/framework/pull/8408)) - Use `LinkExample` as block component ([#​8459](https://togithub.com/nuxt/framework/pull/8459)) - Add note about early hints and nginx ([#​8485](https://togithub.com/nuxt/framework/pull/8485)) - Updated bridge migration guide ([#​8471](https://togithub.com/nuxt/framework/pull/8471)) - Mention use case for `` in `definePageMeta` ([#​8491](https://togithub.com/nuxt/framework/pull/8491)) - Update stability edge banners ([#​8498](https://togithub.com/nuxt/framework/pull/8498)) - Generate docs for unversioned schema ([#​8535](https://togithub.com/nuxt/framework/pull/8535)) - Fix transition wording to include layouts ([#​8600](https://togithub.com/nuxt/framework/pull/8600)) - Add information about type checking to `typescript.typeCheck` config. ([#​8632](https://togithub.com/nuxt/framework/pull/8632)) ##### 📦 Build - **pkg:** Support Node.js 19 ([#​8324](https://togithub.com/nuxt/framework/pull/8324)) ##### 🏡 Chore - **renovate:** Ignore monorepo dependency upgrades ([f934343b](https://togithub.com/nuxt/framework/commit/f934343b)) - Upgrade vitest to 0.24 ([#​6764](https://togithub.com/nuxt/framework/pull/6764)) - **nuxt:** Add type for headers ([#​8326](https://togithub.com/nuxt/framework/pull/8326)) - **examples:** Add missing dependency and script for testing example ([#​8457](https://togithub.com/nuxt/framework/pull/8457)) - Reenable auto-upgrades for vueuse/head ([#​8506](https://togithub.com/nuxt/framework/pull/8506)) - Update nitropack to 0.6.1 ([5a43e68e](https://togithub.com/nuxt/framework/commit/5a43e68e)) ##### ✅ Tests - Add bundle size test ([#​8133](https://togithub.com/nuxt/framework/pull/8133)) - Update type test for strict mode ([#​8669](https://togithub.com/nuxt/framework/pull/8669)) ##### ❤️ Contributors - Adewale Adeyemi - Anthony Fu - Christian Burkhart - Clément Ollivier - Damian Głowala - Daniel Roe - David Stack - Dawid Stefanko - Dmitriy - Farnabaz - Joel - Joel Wenzel - Johann Schopplich - Johnson Chu - Josh Deltener - Julien Huang - Nils - Ondřej Misák - Pascal Sthamer - Pooya Parsa - Rajendra - Sacha STAFYNIAK - Sébastien Chopin - Zecka ### [`v3.0.0-rc.12`](https://togithub.com/nuxt/framework/releases/tag/v3.0.0-rc.12) [Compare Source](https://togithub.com/nuxt/framework/compare/v3.0.0-rc.11...v3.0.0-rc.12) > [**💬 Release Discussion**](https://togithub.com/nuxt/framework/discussions/8296) #### 🚀 How to Upgrade > **Note** > Make sure to recreate the lock file in the project in case of any issues after the upgrade. - **Automated:** `npx nuxi@latest upgrade --force` - **Manual:** Bump `nuxt` dependency to `3.0.0-rc.12` and then use `npx nuxi@latest cleanup` to cleanup any local caches #### ⭐ What is New? ##### 📍 Route Rules RC.12 comes with the first public beta for route rules and hybrid rendering support. Using route rules you can define rules for a group of nuxt routes, change rendering mode or assign a cache strategy based on route! Nuxt server will automatically register corresponding middleware and wrap routes with cache handlers using Nitro caching layer. Whenever possible, route rules will be automatically applied to the deployment platform's native rules (currently Netlify and Vercel are supported). 👉 See docs for [examples and more info](https://v3.nuxtjs.org/guide/concepts/rendering/#route-rules). ##### ⚗️ Nitropack 0.6 Nitropack upgraded to 0.6 ([Release Notes](https://togithub.com/unjs/nitro/releases/tag/v0.6.0)) and h3 upgraded to 0.8 ([Release Notes](https://togithub.com/unjs/h3/releases/tag/v0.8.0)) **⚠️ Breaking changes:** Using `defineEventHandler()` or `eventHandler()` is now required. If you were previously using a Node.js middleware with `(req, res, next?)` syntax you need to wrap them with `fromNodeMiddleware()` to convert it into an h3 handler. ##### 👦 `useHead` updates This release brings a brand-new version of `@vueuse/head` with some significant performance improvements and bug fixes. Check out [https://github.com/nuxt/framework/pull/8000](https://togithub.com/nuxt/framework/pull/8000) for more details, but in particular: - Fully-typed usage of `useHead` - No more flickering when transitioning between routes - Support *ordering* of head metadata - Faster head hydration and deduping **⚠️ Breaking changes:** The shortcuts `viewport` and `charset` can only be used within `nuxt.config` and not within `useHead` directly. For more information on how to update, see [https://github.com/nuxt/framework/pull/8000](https://togithub.com/nuxt/framework/pull/8000). ##### ⚡ Page Meta New router options `validate` and `redirect` are now supported directly in `definePageMeta` - so you can perform additional validation for dynamic routes, or implement route redirects directly within pages. ```ts definePageMeta({ // redirect: '/admin', validate: async (route) => { const nuxtApp = useNuxtApp() // Check if the id is made up of digits return /^\d+$/.test(params.id) } }) ``` ##### 🌅 Early Hints Nuxt's node server renderer will now respond with 103 Early Hints before the server renders the app, meaning that you should see a decreased TTFB and earlier resource loading in a [supported environment](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103#browser_compatibility) - which at the moment is Chrome with your Nuxt app served over HTTPS with newer than HTTP/1.1. ##### 📖 Nuxt 3 Docs Nuxt's documentation is now written with Nuxt 3's new theming system and the latest Docus and Content module versions. Check it out at https://v3.nuxtjs.org! Expect more coming soon!

nuxt 3 docs

#### Changelog [compare changes](https://togithub.com/nuxt/framework/compare/v3.0.0-rc.11...release/3.0.0.rc.12) ##### 🚀 Enhancements - **nuxt:** Support `redirect` within page metadata ([#​7746](https://togithub.com/nuxt/framework/pull/7746)) - **cli:** Support `--dotenv` for `dev`, `build` and `preview` commands ([#​7660](https://togithub.com/nuxt/framework/pull/7660)) - **nuxt:** Allow configuring plugins directory ([#​7981](https://togithub.com/nuxt/framework/pull/7981)) - **nuxt:** Add default slot to `` ([#​7128](https://togithub.com/nuxt/framework/pull/7128)) - **pages:** Add `validate` hook for `definePageMeta` ([#​7870](https://togithub.com/nuxt/framework/pull/7870)) - **nuxt:** Refresh override for data fetching composables ([#​7864](https://togithub.com/nuxt/framework/pull/7864)) - **schema, nuxt:** Allow user-configurable `serverDir` ([#​7868](https://togithub.com/nuxt/framework/pull/7868)) - **nuxt:** Parse html to treeshake client-only components ([#​7527](https://togithub.com/nuxt/framework/pull/7527)) - **nuxt:** Wrap `#components` client exports with createClientOnly ([#​7412](https://togithub.com/nuxt/framework/pull/7412)) - **nuxt:** Add `ssr: false` route rule to enable SPA mode ([#​7938](https://togithub.com/nuxt/framework/pull/7938)) - **nuxt:** Migrate to latest `@vueuse/head` ([#​8000](https://togithub.com/nuxt/framework/pull/8000)) - **nuxt:** ⚠️ Add `` to `#components` ([#​8145](https://togithub.com/nuxt/framework/pull/8145)) - **nuxt:** Add hook debug mode ([#​7690](https://togithub.com/nuxt/framework/pull/7690)) - **cli:** Add `nuxi build-module` command ([#​7610](https://togithub.com/nuxt/framework/pull/7610)) - **schema:** Add experimental `routesRules` shortcut ([#​7954](https://togithub.com/nuxt/framework/pull/7954)) - **kit:** Support plugin array for `addVitePlugin` and `addWebpackPlugin` ([#​8270](https://togithub.com/nuxt/framework/pull/8270)) ##### 🔥 Performance - **nitro:** Respond with early hints in node-based environments ([#​7893](https://togithub.com/nuxt/framework/pull/7893)) - **nuxt:** ⚠️ Use component loader to add meta components ([#​8167](https://togithub.com/nuxt/framework/pull/8167)) - **nuxt:** Remove `vue-router` dependency from minimal app ([#​8188](https://togithub.com/nuxt/framework/pull/8188)) - **nuxt:** Improve link prefetching ([#​8225](https://togithub.com/nuxt/framework/pull/8225)) ##### 🩹 Fixes - **nuxt:** Export and auto-import `clearNuxtData` ([#​7710](https://togithub.com/nuxt/framework/pull/7710)) - **test-utils:** Support vitest v0.20.x ([#​7712](https://togithub.com/nuxt/framework/pull/7712)) - **cli:** Include `workspaceDir` in tsconfig include ([#​7726](https://togithub.com/nuxt/framework/pull/7726)) - **cli:** Stub `defineNuxtConfig` for `nuxi info` ([#​7728](https://togithub.com/nuxt/framework/pull/7728)) - **nuxt:** Do not warn for non-existent default layout ([#​7748](https://togithub.com/nuxt/framework/pull/7748)) - **nuxt:** Respect immediate option in `useFetch` ([#​7720](https://togithub.com/nuxt/framework/pull/7720)) - **nuxt:** Respect `baseURL` when rendering payload path ([#​7809](https://togithub.com/nuxt/framework/pull/7809)) - **nuxt:** Don't disable scripts in dev mode with experimental `noScripts` ([#​7745](https://togithub.com/nuxt/framework/pull/7745)) - Downgrade Node.js `^16.11.0` requirement to `^16.10.0` ([#​7865](https://togithub.com/nuxt/framework/pull/7865)) - **nuxt:** Handle schema types for relative module paths ([#​7946](https://togithub.com/nuxt/framework/pull/7946)) - **vite:** Add type-checker to client build for `ssr: false` ([#​7930](https://togithub.com/nuxt/framework/pull/7930)) - **nuxt:** Allow auto-import component with same filename ([#​7713](https://togithub.com/nuxt/framework/pull/7713)) - **test-utils:** Respect `setupTimeout` ([#​7866](https://togithub.com/nuxt/framework/pull/7866)) - **nuxt:** Fix lazy import of `.client` components ([#​7422](https://togithub.com/nuxt/framework/pull/7422)) - **nuxt:** Remove fragment from `createClientOnly` ([#​7774](https://togithub.com/nuxt/framework/pull/7774)) - **head:** Allow using the default slot for script content like noscript ([#​7858](https://togithub.com/nuxt/framework/pull/7858)) - **nuxt:** Don't prerender `index.html` with a server ([#​7831](https://togithub.com/nuxt/framework/pull/7831)) - **docs:** Link to api config reference ([#​8038](https://togithub.com/nuxt/framework/pull/8038)) - **docs:** Link to installation section ([#​8040](https://togithub.com/nuxt/framework/pull/8040)) - **nuxt:** Page hydration and double load ([#​7940](https://togithub.com/nuxt/framework/pull/7940)) - **schema:** Declare `untyped` dependency ([#​8064](https://togithub.com/nuxt/framework/pull/8064)) - **nuxt:** Use correct cache and add baseURL to payload ([#​7984](https://togithub.com/nuxt/framework/pull/7984)) - **cli:** Replace `lazyHandle` with `defineLazyHandler` ([#​8049](https://togithub.com/nuxt/framework/pull/8049)) - **schema:** Evaluate environment variables when resolving values ([#​8079](https://togithub.com/nuxt/framework/pull/8079)) - **vite:** Prevent overlap between vite assets and app routes ([#​7989](https://togithub.com/nuxt/framework/pull/7989)) - **nuxt:** Don't inline styles for per-request `ssr: false` ([#​8106](https://togithub.com/nuxt/framework/pull/8106)) - **nuxt:** ⚠️ `refresh` to override previous requests by default ([#​8190](https://togithub.com/nuxt/framework/pull/8190)) - **nuxt:** Enable router when `app/router.options.ts` file is present ([#​8193](https://togithub.com/nuxt/framework/pull/8193)) - **kit:** Log module id to the console when import fails ([#​8198](https://togithub.com/nuxt/framework/pull/8198)) - **nuxt:** Avoid head dom update on same route click ([#​8206](https://togithub.com/nuxt/framework/pull/8206)) - **webpack:** Add global to new line ([#​8226](https://togithub.com/nuxt/framework/pull/8226)) - **schema:** RouteRules config ([#​8252](https://togithub.com/nuxt/framework/pull/8252)) - **cli:** Don't include`workspaceDir` in tsconfig by default ([#​8256](https://togithub.com/nuxt/framework/pull/8256)) - **nuxt:** Avoid preloading external routes ([#​8255](https://togithub.com/nuxt/framework/pull/8255)) - **nuxt:** Allow disabling early hints ([#​8264](https://togithub.com/nuxt/framework/pull/8264)) - **nuxt:** Lazy-load entry CSS ([#​8278](https://togithub.com/nuxt/framework/pull/8278)) - **nuxt:** Ignore cache rules for middleware and errors ([#​8291](https://togithub.com/nuxt/framework/pull/8291)) ##### 💅 Refactors - **nuxt:** Use `unref` in `layout.ts` ([#​7818](https://togithub.com/nuxt/framework/pull/7818)) - **nuxt:** Use `unref` in `fetch.ts` ([#​7813](https://togithub.com/nuxt/framework/pull/7813)) - **nuxt:** Deprecate ` Githubissues.
  • Githubissues is a development platform for aggregating issues.