Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
^3.0.0-rc.6
^3.0.0-rc.9
^6.0.0
^6.1.0
^16.0.1
^16.0.2
^9.1.0
^9.1.1
^3.1.1
^3.2.1
This PR contains the following updates:
^3.0.0-rc.6
->^3.0.0-rc.9
^6.0.0
->^6.1.0
^16.0.1
->^16.0.2
^9.1.0
->^9.1.1
^3.0.0-rc.6
->^3.0.0-rc.9
^3.1.1
->^3.2.1
Release Notes
nuxt/framework
### [`v3.0.0-rc.9`](https://togithub.com/nuxt/framework/releases/tag/v3.0.0-rc.9) [Compare Source](https://togithub.com/nuxt/framework/compare/v3.0.0-rc.8...v3.0.0-rc.9) 💬 Join the [release discussion](https://togithub.com/nuxt/framework/discussions/7186) #### Highlights - ✅ `app.config.ts` with HMR and Reactivity support - ✅ Updated to [nitropack@0.5.x](https://togithub.com/unjs/nitro/releases/tag/v0.5.0) - ✅ Vite-Node enabled by default ([#6217](https://togithub.com/nuxt/framework/pull/6217)) - ⚠️ `autoImports` option and hooks is deprecated and renamed to `imports` ([#6864](https://togithub.com/nuxt/framework/pull/6864)) ([#7158](https://togithub.com/nuxt/framework/pull/7158)) - ⚠️ Vue dependency is now externalized ([#6868](https://togithub.com/nuxt/framework/pull/6868)) - ⚠️ Handle prerelease constraint ([#7116](https://togithub.com/nuxt/framework/pull/7116)) ### Changelog ([all commits](https://togithub.com/nuxt/framework/compare/v3.0.0-rc.8...v3.0.0-rc.9)) ##### 🚀 Enhancements - **webpack, vite:** Default to `.js` extension for client ([#6505](https://togithub.com/nuxt/framework/pull/6505)) - **schema, vite:** ⚠️ Enable `vite-node` by default ([#6217](https://togithub.com/nuxt/framework/pull/6217)) - **vite:** Allow disabling entry warmup ([#6647](https://togithub.com/nuxt/framework/pull/6647)) - **nuxt:** Exclude page chunks from being prefetched ([#6662](https://togithub.com/nuxt/framework/pull/6662)) - **cli:** Auto cleanup with project manifest changes ([#6672](https://togithub.com/nuxt/framework/pull/6672)) - **nuxt:** `app.config` with HMR and reactivity support ([#6333](https://togithub.com/nuxt/framework/pull/6333)) - **nuxt:** Allow `getRouteFromPath` to use objects ([#5900](https://togithub.com/nuxt/framework/pull/5900)) - **nuxt:** Add warning in dev mode if layouts/pages do not have a single root node ([#5469](https://togithub.com/nuxt/framework/pull/5469)) - **nuxt:** Config options for default keepalive, page & layout transitions ([#5859](https://togithub.com/nuxt/framework/pull/5859)) - **nuxt:** Allow programmatically prefetching global components ([#6661](https://togithub.com/nuxt/framework/pull/6661)) - **cli:** Support mode flags for `add` command ([#3921](https://togithub.com/nuxt/framework/pull/3921)) - **nuxt:** `imports.autoImport` option to disable auto-imports ([#6768](https://togithub.com/nuxt/framework/pull/6768)) - **nuxt:** `navigateTo` supports external redirects ([#5022](https://togithub.com/nuxt/framework/pull/5022)) - **nuxt:** `app.config` improvements ([#6905](https://togithub.com/nuxt/framework/pull/6905)) - **nuxt:** Add `setPageLayout` utility ([#6826](https://togithub.com/nuxt/framework/pull/6826), [#7075](https://togithub.com/nuxt/framework/pull/7075)) - **cli:** Display nuxt and nitro versions for dev and build commands ([#7118](https://togithub.com/nuxt/framework/pull/7118)) - **kit, schema:** Allow extending with `theme` config ([#7131](https://togithub.com/nuxt/framework/pull/7131)) - **nuxt:** ⚠️ Rename `autoImports` to `imports` ([#6864](https://togithub.com/nuxt/framework/pull/6864)) - **kit, nuxt:** Improve `autoImports` deprecation dx ([#7158](https://togithub.com/nuxt/framework/pull/7158)) - **nuxt:** Pass and format vite-node build errors ([#6683](https://togithub.com/nuxt/framework/pull/6683)) ##### 🔥 Performance - **nuxt:** Tree-shake asyncData client logic from server ([#7056](https://togithub.com/nuxt/framework/pull/7056)) - **nuxt:** Don't prefetch all global components ([#7069](https://togithub.com/nuxt/framework/pull/7069)) ##### 🩹 Fixes - **nuxt:** Remove stray commas in component templates ([#6580](https://togithub.com/nuxt/framework/pull/6580)) - **cli:** Update `server.port` and `server.host` with listener info ([#6595](https://togithub.com/nuxt/framework/pull/6595)) - **nuxt:** Add `#components` alias to tsconfig ([#6634](https://togithub.com/nuxt/framework/pull/6634)) - **vite:** Pass relative url as default base ([#6637](https://togithub.com/nuxt/framework/pull/6637)) - **nuxt:** Don't set asyncData to existing payload on CSR if `initialCache` is disabled ([#6640](https://togithub.com/nuxt/framework/pull/6640)) - **vite:** Warmup server entries with `ssr` condition ([#6649](https://togithub.com/nuxt/framework/pull/6649)) - **nuxt:** Include tag attrs for non self-closing tags in tree-shake regex ([#6675](https://togithub.com/nuxt/framework/pull/6675)) - **nuxt:** Fallback to static error page on server error ([#6697](https://togithub.com/nuxt/framework/pull/6697)) - **cli:** Ensure `nuxi upgrade` runs in rootDir ([#6707](https://togithub.com/nuxt/framework/pull/6707)) - **cli:** Properly detect hash and tag for upgrade changelog ([#6708](https://togithub.com/nuxt/framework/pull/6708)) - **nuxt:** Use `vue-devtools-stub` to mock `@vue/devtools-api` for both cjs + esm ([#6713](https://togithub.com/nuxt/framework/pull/6713)) - **nuxt:** Pass params to client-only slot ([#6584](https://togithub.com/nuxt/framework/pull/6584)) - **vite:** Improve `vite-node` module invalidation ([#6736](https://togithub.com/nuxt/framework/pull/6736)) - **vite:** Dedupe `vue` in client bundle ([#6735](https://togithub.com/nuxt/framework/pull/6735)) - **nuxt:** Ensure component helper methods do not create side-effects ([#6789](https://togithub.com/nuxt/framework/pull/6789)) - **nuxt:** Use deep assignment for app.config hmr ([#6788](https://togithub.com/nuxt/framework/pull/6788)) - **nuxt:** Throw hard error on initial spa load if aborted ([#6857](https://togithub.com/nuxt/framework/pull/6857)) - **nuxt:** Pass analyze options through to nitro ([#6871](https://togithub.com/nuxt/framework/pull/6871)) - **cli:** Build all types on typecheck command ([#5437](https://togithub.com/nuxt/framework/pull/5437)) - **nuxt:** Lazy composables shouldn't block setup in `ssr: false` ([#6901](https://togithub.com/nuxt/framework/pull/6901)) - **vite:** Remove client `manifest.json` from public dir ([#7021](https://togithub.com/nuxt/framework/pull/7021)) - **kit:** Sort aliases before resolving ([#7018](https://togithub.com/nuxt/framework/pull/7018)) - **nuxt:** Use shared state for asyncData ([#7055](https://togithub.com/nuxt/framework/pull/7055)) - **vite:** Sanitize client asset chunk names ([#7067](https://togithub.com/nuxt/framework/pull/7067)) - **schema:** Sync types of vite v3.x ([#7104](https://togithub.com/nuxt/framework/pull/7104)) - **kit:** ⚠️ Handle prerelease constraint ([#7116](https://togithub.com/nuxt/framework/pull/7116)) ##### 💅 Refactors - **nuxt:** Enable strict type checking ([#6368](https://togithub.com/nuxt/framework/pull/6368)) - **vite:** Enable strict type checking ([#6616](https://togithub.com/nuxt/framework/pull/6616)) - **nuxt, kit:** Improve type strictness ([#6685](https://togithub.com/nuxt/framework/pull/6685)) - Enable strict type checking everywhere ([#6943](https://togithub.com/nuxt/framework/pull/6943)) - Apply lints from `@nuxtjs/eslint-config-typescript` v11 ([#7114](https://togithub.com/nuxt/framework/pull/7114)) - **nuxt:** Remove unused `meta:register` hook ([#7130](https://togithub.com/nuxt/framework/pull/7130)) ##### 📖 Documentation - Ensure consistent casing of section headers ([#6578](https://togithub.com/nuxt/framework/pull/6578)) - **components:** Use `fallbackTag` in `ClientOnly` examples ([#6587](https://togithub.com/nuxt/framework/pull/6587)) - Global style imports example ([#6490](https://togithub.com/nuxt/framework/pull/6490)) - **composables:** Add more examples for `autoImports` ([#6615](https://togithub.com/nuxt/framework/pull/6615)) - **server:** Add nitro config and storage examples ([#6507](https://togithub.com/nuxt/framework/pull/6507)) - **data-fetching:** Fix and simplify cookie proxy example ([#5770](https://togithub.com/nuxt/framework/pull/5770)) - Tweaks for data fetching, server routes and composables ([#6653](https://togithub.com/nuxt/framework/pull/6653)) - Update links to nitro.unjs.io ([#6684](https://togithub.com/nuxt/framework/pull/6684)) - Make wording slightly clearer ([#6740](https://togithub.com/nuxt/framework/pull/6740)) - Fix typo in `defineEventHandler` example ([#6741](https://togithub.com/nuxt/framework/pull/6741)) - **api:** Add `