Skip to content

fix(deps): update dependency nuxt to v3 - autoclosed

Renovate Bot requested to merge renovate/nuxt-3.x into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
nuxt ^2.15.7 -> ^3.0.0 age adoption passing confidence

Release Notes

nuxt/nuxt

v3.1.2

Compare Source

3.1.2 is a patch release with bug fixes (particularly focusing on performance and DX).

Changelog

compare changes

🔥 Performance
  • nuxt: Simplify generated variable names (#​18629)
  • vite: Use compiled regexp for test (#​18646)
  • nuxt: Cache result of importing styles module (#​18734)
🩹 Fixes
  • nuxt: Provide fallback values for undefined runtime config (#​18586)
  • kit: Don't use default export of defu (#​18589)
  • Use named export from defu in all places (#​18624)
  • nuxt: Dedupe vue-router (#​18626)
  • test-utils: Prevent orphaned processes and use baseURL when loading (#​18623)
  • vite: Ensure __publicAssetsURL set before loading assets (#​18642)
  • kit: Avoid adding already installed modules to internal _installedModules (#​18647)
  • nuxt: Make onNuxtReady safe to run on server-side (#​18706)
  • vite, webpack: Omit magic keys when import of same name is detected (#​18733)
📖 Documentation
  • Update vue-gtag plugin example (#​18528)
  • Mention virtual file system (#​18546)
  • Mention head composable as alternative to useHead (#​18552)
  • Use defineEventHandler() to avoid warnings (#​18557)
  • Remove unnecessary JSON.stringify() (#​18590)
  • Updated unreachable docus url in documentation (#​18618)
  • Add link to pages documentation to routing (#​18602)
  • Add comment about needing to install @types/node manually (6b2bc680b)
  • Add note about directory import (d2c00dc46)
  • Fix array syntax (f14f3815f)
  • Fix buttons width on getting started (#​18643)
  • Add .env to directory structure and improve config docs (#​18594)
  • Mention options api equivalent for head() (#​18650)
  • Fix broken link to esm section (#​18716)
  • Improve routing validate example (#​18728)
🏡 Chore
Tests
  • nuxt: Exclude new internal vue assertNumber helper (aa646f065)
🤖 CI
  • Publish nightly nuxt-edge for nuxt v2 (dd0e2643c)
  • Fix ref for 2.x branch (21badd9f2)
  • Allow manually dispatching nightly nuxt2 build (09114125c)
️ Contributors

v3.1.1

Compare Source

3.1.1 is a bugfix release to address a problem rendering components injected by Vue or Nuxt plugins.

Update notes

There's also a Nitro upgrade to v2.1.0 released shortly after v3.1.1, so when upgrading, please either run nuxt upgrade --force or refresh your lockfile.

Changelog

compare changes

🩹 Fixes
  • nuxt: Do not override inferred type of <NuxtPage> (#​18495)
  • nuxt: Don't render unknown components with placeholder (#​18494)
  • vite: Ensure newly created pages do not return 404 (#​18447)
  • nuxt: Async transform for inline middleware (#​18460)
  • nuxt: Augment interfaces exported from vue (#​18505)
📖 Documentation
  • Remove useNuxtData release alert (#​18488)
  • Simplify the docs directory (#​18506)
  • Add info about server-components async limits (#​18513)
  • Keep app.vue file name consistent (#​18517)
️ Contributors

v3.1.0

Compare Source

3.1.0 is the first minor release after Nuxt 3.0 including bug fixes and enhancements.

💬 Release Discussion

👀 Highlights

  • 📖 Lots of improvements to the documentation and website (you can already see them in nuxt.com)
  • 🏝️ Experimental component Islands and server only components
  • New onNuxtReady, useNuxtData and useSeoMeta composables
  • ﹛ experimental config schema (for module or theme authors)
  • 💪 Upgraded to Nitropack v2
  • ️ Migrated to Vite 4 and Rollup 3.

Changelog

compare changes

🚀 Enhancements
  • nuxt: Experimental server component islands (#​5689)
  • nuxt: Add onNuxtReady composable (#​9478)
  • useNuxtData composable (#​9262)
  • nuxt: Support for extending error.vue in layers (#​9521)
  • vite: Upgrade to vite 4 (#​9238)
  • nuxt: Deep watch useCookie ref value by default (#​9664)
  • vite: Display production build stats (#​9761)
  • nuxt: Server-only components (#​9972)
  • imports: imports:context hook for unimport context (#​9971)
  • vite: Support build.transpile as function (#​7767)
  • nuxt: Prefetch middleware/layouts + await layout loading (#​10155)
  • nuxt: Support server components with extracted payloads (#​10113)
  • kit: Add extendRouteRules method (#​9771)
  • nuxt: Allow disabling color for <NuxtLoadingIndicator> (#​18432)
  • head: useSeoMeta composable (#​18441)
  • Experimental config schema (#​18410)
🔥 Performance
  • nuxt: Use static import of @unhead/ssr (#​9826)
  • nuxt: Add tree-shaken useServerSeoMeta composable (#​18476)
🩹 Fixes
  • Remove postcss.config from schema (#​9181)
  • nuxt: Include missing <NuxtPage> component props (#​9204)
  • nuxt: Allow layouts to receive custom props (#​9395)
  • test-utils: Do not hide vitest output (#​9442)
  • nuxt: useCookie with defaults should return non-null value (#​9449)
  • nuxt: Defer render-blocking prefetches until after load (#​9475)
  • nuxt: Speculation rules should be reactive (#​9472)
  • kit: Support applying .nuxtignore within external layers (#​9599)
  • nuxt: Remove deprecated req/res access (#​9636)
  • nuxt: Await plugin asyncdata promises in nuxt hook (#​9616)
  • schema: Add hookable dependency (#​9648)
  • vite: Skip only vite transform middleware (#​9602)
  • nuxt: Remove absolute paths from routes objects (#​9655)
  • nuxt: Make dev-only regexp less greedy (#​9679)
  • nuxt: Set is loading state for <NuxtLoadingIndicator> after throttle (#​9832)
  • cli: Show an error if no value is supplied for the --template flag (#​9946)
  • vite: Defer to nitro to copy public dir (#​10013)
  • nuxt: Include components runtime dir in build output (#​10046)
  • nuxt: Add build.transpile strings to nitro inline list (#​10094)
  • nuxt: Support deep assign on empty object for app config (#​10087)
  • nuxt: Don't short circuit middleware after validate function (#​9180)
  • nuxt: Don't try to override computed layouts in definePageMeta (#​9161)
  • nuxt: Allow overriding lower layer composables (#​10017)
  • nuxt: Update class prop type for head components (#​9133)
  • nuxt: Avoid injecting url helpers into globalThis (#​9627)
  • nuxt: Name anonymous components in render tree (#​10011)
  • vite: Add additional before skipping vite transform (#​10120)
  • kit: Resolve group syntax of ignore (#​15884)
  • nuxt: Use query for hashing the fetch key (#​18411)
  • cli: Prevent showing stack traces while scaffolding (#​9962)
  • nuxt: Provide types for modules as array (#​18416)
  • vite: Don't skip loading styles in hydration phase (#​18433)
  • vite: Enable css sourcemaps in dev based on sourcemap (#​18446)
  • nuxt: Await async callWithNuxt calls (#​18443)
  • nuxt: Let router handle internal redirects within middleware (#​18445)
  • nuxt: Import onServerPrefetch (629d2c099)
  • Upgrade unimport, close #​15594 (#​15594)
  • Upgrade unimport (#​18475)
💅 Refactors
  • jobs: Remove unused asset (#​9116)
  • nuxt: Fix typo in internal plugin names (#​9201)
  • nuxt: Use pathe.join for layer lookup (#​9540)
  • Split out type imports from value imports (#​9225)
  • nuxt: Remove vue-meta for head support (#​9638)
  • nuxt: Do not add all composable auto-imports to globalThis (#​9630)
  • vite: Show log when client build is starting (#​9759)
  • home: Sections (#​9882)
  • Heros (#​9886)
  • Improve internal type definitions of <NuxtLink> (#​9869)
📖 Documentation
  • Update to 3.0 and upgrade theme (cd2ad7108)
  • Fix paths to migration guides (#​9071)
  • Fix broken paths (#​9076)
  • Set nuxt stability to stable (#​9075)
  • Fix broken link (24c8653b2)
  • Update redirects (f01fc1863)
  • seo: Add robots file (#​9111)
  • Improve images quality (#​9112)
  • Fix broken links in examples (#​9119)
  • Bump website theme version to 0.1.5 (#​9125)
  • Bump nuxt-website-theme to 0.1.6 (71fed589c)
  • Update vercel icon to support dark mode (a4768fd56)
  • Update website-theme version (16117060e)
  • Fix typo in commands/add (#​9206)
  • Remove stable release warning regarding options api (#​9186)
  • Fix typos in modules section (#​9227)
  • Updated info about 404.vue (#​9155)
  • External configuration table (#​9189)
  • homepage: Optimize gem textures (#​9234)
  • Add space between sentences (#​9207)
  • Improve seo titleTemplate and add social images (#​9235)
  • Update link to mdc extension (#​9251)
  • Add missing space (#​9276)
  • partners: Add brain agency partner (#​9277)
  • Bump website theme to 0.1.11 (#​9299)
  • Add warning about .client onMounted hook (#​9263)
  • Use layout in example of definePageMeta (#​9322)
  • schema: Add example and description for imports.dirs (#​9346)
  • Change app-config url to avoid naming conflicts with app.vue (#​9377)
  • Add redirect for app.config to app-config (66efcd59d)
  • installation: Add button to nuxt.new (7c998982f)
  • installation: Typo in sentence (53d5a5a5a)
  • roadmap: Add i18n module to the roadmap (#​9403)
  • Add more social cards (a50855bab)
  • Bump version to 0.1.12 (#​9423)
  • seo: Add sitemap url to robots.txt (#​9309)
  • introduction: Add hero and cards (#​9334)
  • Disable markdownlint on mdc file (#​9428)
  • homepage: Fix typo (#​9426)
  • Add Project name placeholder (#​9421)
  • Update announcements to add stable release (a73a75c39)
  • Theme version 0.1.13 (#​9453)
  • Website theme 0.1.16 (#​9456)
  • Update playwright url (#​9483)
  • Make vite monospace too (#​9490)
  • Update agencies expertises (d36d11552)
  • Add nuxt layers introduction and authoring guide (#​9405)
  • Heading and formatting improvements for layers (c307ee8b5)
  • Update website-theme (cf4e7bf33)
  • Update internal links to bridge overview page (228bc9ce2)
  • Recommend to install non-edge version of @nuxt/test-utils (#​9543)
  • Compress social image to jpg and upgrade website-theme (770cdf90d)
  • agencies: Add liip (#​9552)
  • Fix typo and update theme (d500ac4e3)
  • Update theme version (5fdb7b6f8)
  • rendering: Hide light image in dark mode (#​9620)
  • Update examples link (#​9152)
  • Add docs for preloadRouteComponents (#​9607)
  • Add missing line breaks (#​9671)
  • Indicate navigateTo options are optional (#​9672)
  • Add community page (#​9519)
  • Bump website theme to 0.1.23 (#​9703)
  • community: Fix client-side images display (#​9704)
  • theme: Version 0.1.24 (#​9716)
  • version: Theme 0.1.25 (#​9729)
  • community: Temporary disable newsletter subscription (#​9740)
  • concepts: Add utils/ to directory-based auto-imports (#​9739)
  • Link to nuxt.com instead of v3.nuxtjs.org (#​9786)
  • Version 0.1.27 (#​9788)
  • community: Fix missing image (ce9141285)
  • Improve wording and fix typo (#​9795)
  • getting-started: Improve usage of pnpm (#​9775)
  • index: Fix typo in 'GitHub' (#​9807)
  • Enable hybrid rendering (#​9823)
  • Rename svg asset (dbc31869b)
  • Add docs landing page (#​9706)
  • homepage: Add module cta (#​9591)
  • Fix layouts typo in nuxtignore page (#​9893)
  • Fix url for prettier.io pointing to stylelint.io (#​9892)
  • Fixed typos and improved wording (#​9848)
  • Fix typos and capitalisation (#​9844)
  • Clarify plugins are auto-registered, remove components default (#​9815)
  • Fix markdown (#​9838)
  • Fix typos (#​9919)
  • release: Theme 0.2.2 (#​9920)
  • example: Fix runtimeConfig extension in config-extends example (#​9912)
  • sponsors: Fix hero (#​9941)
  • configuration: Clarify the location of app.config.ts in the source directory (#​9937)
  • support: Update wording (#​9821)
  • Refactor cards (#​9935)
  • guide: Fix the link to deploy in guide/.output (#​9994)
  • Update generate doc to include --dotenv (#​9991)
  • Remove nuxt 2 information from generate schema (#​10002)
  • partners: Fix spacing (#​10025)
  • Fix typo (#​10019)
  • partners: Add macopedia as partner (#​10028)
  • Update testimonials (685cb100f)
  • Add back the newsletter (#​10032)
  • version: 0.3.5 (#​10078)
  • version: 0.3.6 (#​10093)
  • Update link (#​10056)
  • version: Use nuxt edge channel (#​10117)
  • version: Revert back to stable nuxt version (d6c7676f1)
  • Update hooks source line number (#​10102)
  • version: 0.3.8 (#​10127)
  • Update nested router example (#​10115)
  • Add Nuxt: A vision for 2023 post (#​10141)
  • Add link! (02df51dd5)
  • Remove stray parenthesis (#​10144)
  • Add port example in ecosystem.config (#​10076)
  • Add description of returning different status codes (#​10059)
  • Add info about extensions and pathPrefix keys (28a2a91b6)
  • version: 0.3.10 (#​10170)
  • Fix hydration warnings on 2023 vision article (#​10171)
  • Add redirect for workshop (371bc1aff)
  • Remove line break (940720a58)
  • Add buttons slot on PageHero component (#​10139)
  • Rename layer0 to Edgio (#​9900)
  • Update links to nuxt.com (#​18425)
  • examples: Fix error handling example (#​18434)
  • Add nuxt 2 section (ce8ad33ed)
  • partners: Update webreinvent description (#​18473)
  • Add link to config api (#​18474)
  • Update partners (#​18482)
🏡 Chore
Tests
🎨 Styles
️ Contributors

v3.0.0

Compare Source

Official Release Announcenment

💬 Release Discussion

📝 Changelog

Check out release candidate notes for older releases and migration steps if you using an older version of Nuxt 3.

🩹 Fixes
  • nuxt: Removed auto imports (#​9045)
  • schema: Initialise runtimeConfig.public with empty object (#​9050)
  • cli: Upgrade with latest tag (#​9060)
  • nuxt: Allow union type arguments for useAsyncData (#​9061)
📖 Documentation
  • New website design (#​9007)
  • Update website theme version (819deb89)
  • Minor style improvements (9ab069b2)
  • Update website-theme (780b17b1)
  • Add warning about definePageMeta issues with transitions and NuxtLoadingIndicator (#​9055)
  • Add missing agencies (#​9059)
🏡 Chore
️ Contributors

v2.16.0

Compare Source

Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus is mostly on releasing the latest fixes and enhancements that have been present in nuxt-edge for some time.

Highlights

️ Breaking changes

  • In this MR we only support Node 14+. This is mostly an issue for dependencies, which we need to keep updated for security reasons. Going forward until its own EOL, Nuxt 2 will only officially support Node versions that have not reached their EOL.

  • New postcss options format. See https://github.com/nuxt/nuxt/pull/9671 for full details.

  • Dependency upgrades. A number of dependencies have dropped support for earlier node versions. dotenv has changed how it parses .env files in a number of edge cases. glob now requires / instead of \ on windows machines. There may also be other changes that affect your usage, so please do upgrade with care.

  • Vue 2.7 upgrade. Although you can use Vue 2.7 with any release of Nuxt 2, 2.16.0 for the first time includes it as a dependency, which means that you may well encounter some issues associated with upgrading Vue 2.6 -> Vue 2.7.

    This may be a good time to consider using the composition API utilities provided by https://github.com/nuxt/bridge instead, which mirror Nuxt 3's more precisely than @nuxtjs/composition-api. (You can opt-in to just these utilities by disabling the other bridge modules individually.)

Changelog

compare changes

🚀 Enhancements
  • config: Support nuxtrc in dist directory (#​9280)
  • generator: Add ignoreEnv generate option during ensureBuild(cmd) (#​8955)
  • server: Allow disabling serve-static middleware (#​9365)
  • types: Add asyncData return types to component instance type (#​9239)
  • vue-app: context.beforeSerialize method (#​9332)
  • vue-app: Pass store to createRouter (#​9629)
  • Default to core-js version 3 (#​9987)
  • webpack: ️ Update postcss to v8 (#​9671)
🩹 Fixes
  • vue-app: Respect scroll-margin-top when navigating with hash (#​9187)
  • webpack: Use javascript/auto for js rule (#​9180)
  • server: Unregister error event listener (#​9245)
  • babel-preset-app: Respect explicit options.targets for modern preset (#​9337)
  • types: Add nuxt.config alias type (#​9424)
  • vue-app: Check whether route exists within nuxt app before replacing (#​9431)
  • vue-renderer: Decode route path for payload.js (#​9494)
  • vue-app: Don't normalise route path if it's valid (#​9460)
  • vue-app: Redirect to external url replaces current history entry (#​9500)
  • utils: trailingSlash causes error with dynamic nuxt-child routes (#​9505)
  • types: Add onNuxtLoaded and onNuxtReady types (#​9510)
  • vue-app: Re-register components construtor in HMR (#​9539)
  • types: Add typing for build.stats options (#​9555)
  • babel: Loose option for babel private-property-in-object (#​9631)
  • vue-app: Serialize route meta to allow functions (#​9634)
  • vue-app: null check for $root access (#​9150)
  • generator: Allow passing builder to getGenerator (#​9574)
  • generator: Throw an error when Builder is missing (#​9663)
  • vue-app: Use correct $config for finding basePath (#​9706)
  • vue-renderer: Ensure custom build indicator preserves some whitespace (#​9705)
  • 'npm run test' fails because the last command lacks 'yarn' (#​9761)
  • generator: Decode path with ufo (#​9739)
  • cli: Ensure nuxt instance is closed when skipping build (3e9d7e3)
  • Nuxt-child-key in web-types.json (#​9792)
  • types: Return type of $fetch (#​9854)
  • deps: Update ua-parser-js to 1.x (#​9979)
  • deps: Update ya-parser-js to latest 0.7.x (#​9979)
  • vue-app: Call ssrContext.unsetMutationObserver only if it exists (#​10132)
  • webpack: Allow files with .cjs extension to be transpiled (#​10340)
  • vue-app: Preview mode fetch (#​10489)
  • webpack: Resolve .wasm extension with lower priority (#​10676)
  • vue-app: Clear hide timeout when calling clear() (#​10086)
📦 Build
🌊 Types
  • Add prefetchPayloads to router options (#​9715)
🏡 Chore
  • release: V2.15.6 (a53fd32)
  • pkg: Build for es2019 target (#​9328)
  • types: Add types for new false option for render.static (#​9372)
  • Update error tests (d4e5998)
  • test: Revert jest and babel-jest to 26 (#​9377)
  • Ignore audit 1754,1755 (39f7859)
  • Fix vetur extension syntax for GitPod (#​9572)
  • Ignore globby > 12 upgrade as needs native esm (e0968a3)
  • Update rollup plugins (5614399)
  • Fix code formatting (17bbb21)
  • utils: Improve stripWhitespace utility (#​9668)
  • Update license year to present (#​9682)
  • Add separate file with security disclosure info (#​9738)
  • Update logo (#​9796)
  • doc: Fix link to contribution guide (#​9815)
  • test: Fix external redirect link (#​9816)
  • Update funding.yml (1f85137)
  • Update lockfile (7614360)
  • Update audit list (6f73c36)
  • Update lockfile and audit (1878b26)
  • Update issue template with nuxt 3 (#​9948)
  • Enable blank issues (54542c1)
  • radme: Fix browserstack and saucelabs icons (#​10068)
  • Update dependencies (#​10510)
  • Update repo (773d292)
  • Ignore vue and vuex major updates (bafc814)
  • Update README.md (#​10831)
  • Update pull request template (0db7e7b)
  • Update issue templates (f36fb9c)
  • Rename 2.x bug template (ba966cf)
  • Move nuxt 2 report to bottom (ce7b1a9)
  • Bump ua-parser-js version (1cedad5)
  • Bump test/dev dependencies (#​18672)
  • Upgrade unjs dependencies (#​18670)
  • Use named export from defu (#​18679)
Tests
🤖 CI
️ Breaking Changes
  • webpack: ️ Update postcss to v8 (#​9671)
️ Contributors

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 MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports