Skip to content

chore(deps): upgrade nuxt to 4.7.0 and minor dependencies - #1498

Merged
larbish merged 2 commits into
mainfrom
chore/upgrade-nuxt-4-7
Nov 24, 2026
Merged

larbish merged 2 commits into
mainfrom
chore/upgrade-nuxt-4-7

Conversation

@larbish

@larbish larbish commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Nuxt 4.7.0 is out. This upgrades Docus to it and applies the pending minor and patch updates.

  • Upgrade nuxt and @nuxt/kit to 4.7.0 in the root, layer, docs, playground and starters, and dedupe the lockfile so modules no longer pull @nuxt/kit/@nuxt/schema 4.6.4
  • Upgrade @nuxt/ui 4.13.1, @nuxtjs/robots 7.1.0, @nuxtjs/sitemap 9.2.0, nuxt-og-image 7.2.0, nuxt-schema-org 7.1.1, nuxt-agent-discovery 0.8.3, @takumi-rs/core 2.22.1, ai/@ai-sdk/*, iconify sets, vitest and release-it
  • Exclude the exact versions released with Nuxt 4.7 ([email protected], [email protected], unhead/@unhead/*@3.5.0, [email protected]) from minimumReleaseAge
  • Type the runtimeConfig.public.docus.filteredLocales default as locale objects: with Nuxt 4.7, the i18n starter's nuxt typecheck failed with TS2322 on modules/config.ts

Evidence

Locally, with nitro.prerender.failOnError=true:

  • prepare, lint, typecheck and unit tests (184) pass
  • docs build with the vercel (output check passes), static (all expected files generated) and node-server (smoke tests: 18 passed, 2 skipped) presets
  • scripts/test-starter.sh default and scripts/test-starter.sh i18n build on Nuxt 4.7.0 with Nitro 2.14.0 and typecheck; the i18n one exited 2 with the TS2322 error before the filteredLocales fix

Notes

  • h3 2 and typescript 7 are major upgrades and are left out.
  • The minimumReleaseAgeExclude version entries can be removed once those versions are older than 48h.

ELI5

Docus is built on Nuxt, and Nuxt just shipped a new version. This moves Docus and its related packages to the latest compatible versions, and checks that the docs site and starters still build and work.

🤖 Generated with Amp, reviewed by @larbish before opening.

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docus Ready Ready Preview Nov 24, 2026 9:36am UTC

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/create-docus@1498
npm i https://pkg.pr.new/docus@1498

commit: 741ebea

@docus-bundle-report

docus-bundle-report Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Bundle size

Explore the comparison →

Client 774.6 kB $\color{green}\textsf{(-31.9 kB, -4.0}\%\textsf{)}$ · Server 1.59 MB $\color{green}\textsf{(-72.5 kB, -4.3}\%\textsf{)}$

Initial page load PR Δ
/en/:lang?/:slug(.) 239.5 kB −27.4 kB (−10.3%)
/fr/:lang?/:slug(.) 239.5 kB −27.4 kB (−10.3%)
/en/:lang? 231.4 kB −26.3 kB (−10.2%)
/fr/:lang? 231.4 kB −26.3 kB (−10.2%)
/sitemap.xml 219.3 kB −25.7 kB (−10.5%)
Prerendered URL Initial load Δ HTML Δ
/en/essentials/components 261.6 kB
22.0 kB from components
−28.5 kB (−9.8%)
route −27.4 kB, components −1.11 kB
21.7 kB −632 B (−2.8%)
/en/essentials/code-blocks 255.0 kB
15.5 kB from components
−28.0 kB (−9.9%)
route −27.4 kB, components −574 B
22.3 kB −632 B (−2.8%)
/en/getting-started/installation 247.4 kB
7.83 kB from components
−27.8 kB (−10.1%)
route −27.4 kB, components −383 B
17.7 kB −652 B (−3.6%)
/en 456.2 kB
224.8 kB from components
−27.5 kB (−5.7%)
route −26.3 kB, components −1.17 kB
16.4 kB −614 B (−3.6%)
/en/essentials/images-embeds 290.6 kB
51.0 kB from components
−26.6 kB (−8.4%)
route −27.4 kB, components +761 B
16.7 kB −635 B (−3.7%)
Largest changes in the client
Package or file Base PR Δ
[unassigned] 90.1 kB 77.3 kB −12.8 kB (−14.2%)
node_modules/@vue/runtime-core 21.9 kB 16.2 kB −5.78 kB (−26.3%)
node_modules/nuxt 17.8 kB 20.1 kB +2.22 kB (+12.5%)
node_modules/@vueuse/core 6.33 kB 4.60 kB −1.73 kB (−27.3%)
node_modules/reka-ui 60.3 kB 58.7 kB −1.60 kB (−2.7%)
node_modules/@vue/reactivity 5.65 kB 4.19 kB −1.46 kB (−25.8%)
node_modules/tailwind-merge 7.12 kB 5.77 kB −1.34 kB (−18.9%)
node_modules/@vue/runtime-dom 5.03 kB 3.70 kB −1.33 kB (−26.5%)
node_modules/motion-dom 31.5 kB 32.4 kB +908 B (+2.9%)
node_modules/@nuxt/ui 60.5 kB 59.6 kB −905 B (−1.5%)

And 33 more packages or files.

Largest changes in the server
Package or file Base PR Δ
node_modules/@sqlite.org/sqlite-wasm 58.2 kB n/a −58.2 kB (−100.0%)
[unassigned] 338.4 kB 291.1 kB −47.2 kB (−14.0%)
node_modules/@vue/runtime-core 27.6 kB 65.7 kB +38.1 kB (+138.0%)
node_modules/@vue/runtime-dom 9.22 kB 21.9 kB +12.7 kB (+137.3%)
node_modules/@tanstack/virtual-core 10.6 kB n/a −10.6 kB (−100.0%)
node_modules/fuse.js 9.35 kB n/a −9.35 kB (−100.0%)
node_modules/@vue/reactivity 7.20 kB 16.3 kB +9.10 kB (+126.4%)
node_modules/reka-ui 65.7 kB 58.0 kB −7.63 kB (−11.6%)
node_modules/@nuxt/ui 100.2 kB 92.7 kB −7.49 kB (−7.5%)
node_modules/@vue/shared 5.95 kB 13.1 kB +7.12 kB (+119.7%)

And 38 more packages or files.

Brotli sizes. Changes under 100 B are left out of the tables. Initial page load counts the JavaScript and CSS a route loads before it renders. Prerendered URLs count the JavaScript and CSS their HTML preloads (module scripts, modulepreload and stylesheets, not prefetch), and the HTML document. Components are the lazy-loaded components the page rendered: its HTML preloads them, but its route's static imports don't reach them. Measured by nuxt-bundle-analyzer for 741ebea.

@larbish
larbish merged commit d535f44 into main Nov 24, 2026
12 checks passed
@larbish
larbish deleted the chore/upgrade-nuxt-4-7 branch November 24, 2026 09:53

This branch was successfully deployed

1 active deployment
Preview — 741ebeaa Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant