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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^3.0.0-rc.12
->^3.0.0-rc.13
^3.0.0-rc.12
->^3.0.0-rc.13
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 `Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.