Skip to content

fix: support Nuxt 5 and Nitro 3 runtimes - #651

Merged
harlan-zw merged 2 commits into
mainfrom
fix/nitro-3-runtime-compatibility
Aug 4, 2026
Merged

fix: support Nuxt 5 and Nitro 3 runtimes#651
harlan-zw merged 2 commits into
mainfrom
fix/nitro-3-runtime-compatibility

Conversation

@harlan-zw

@harlan-zw harlan-zw commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Resolves #605

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

Nitro 3 no longer exposes the nitropack/runtime and H3 entrypoints used by sitemap handlers. Server imports, route rule matching, and generated Nitro types now use nuxtseo-shared 5.3.8. Event scoped source requests use fetchWithEvent, and the module aliases its own ofetch dependency so strict pnpm installs can bundle the shared runtime bridge. A packed Nuxt 5 fixture builds and serves the generated sitemap.

@pkg-pr-new

pkg-pr-new Bot commented Aug 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxtjs/sitemap@651

commit: 95d066d

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

📦 Package Size

⚠️ 5 size metrics grew

Package output Gzipped Δ
@nuxtjs/sitemap · dependency nuxt-site-config 9.4 kB → 9.8 kB 🔴 +489 B (+5.2%)
@nuxtjs/sitemap · dependency nuxtseo-shared 14 kB → 16 kB 🔴 +1.6 kB (+11.0%)
@nuxtjs/sitemap · export . 13 kB → 13 kB 🔴 +90 B (+0.7%)
@nuxtjs/sitemap · published payload 52 kB → 53 kB 🔴 +186 B (+0.4%)
@nuxtjs/sitemap · server runtime 32 kB → 32 kB 🔴 +96 B (+0.3%)
All tracked output (11)
Package output Gzipped Raw
@nuxtjs/sitemap · dependency nuxt-site-config 9.8 kB 24 kB 🔴
@nuxtjs/sitemap · dependency nuxtseo-shared 16 kB 50 kB 🔴
@nuxtjs/sitemap · dependency radix3 4.3 kB 16 kB
@nuxtjs/sitemap · dependency sitemapd 13 kB 53 kB
@nuxtjs/sitemap · export . 13 kB 55 kB 🔴
@nuxtjs/sitemap · export ./content 1.3 kB 4.3 kB
@nuxtjs/sitemap · export ./utils 2.3 kB 8.4 kB
@nuxtjs/sitemap · published payload 53 kB 182 kB 🔴
@nuxtjs/sitemap · server runtime 32 kB 101 kB 🔴
sitemapd · dependency fast-xml-parser 122 kB 383 kB
sitemapd · published payload 13 kB 53 kB
Runtime dependencies (13)
Package Dependency Requested Resolved Cost
@nuxtjs/sitemap @nuxt/kit ^4.5.1 4.5.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap consola ^3.4.2 3.4.2 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap defu ^6.1.7 6.1.7 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap nuxt-site-config ^4.1.4 4.1.4 📦 9.8 kB gzip
@nuxtjs/sitemap nuxtseo-shared ^5.3.8 5.3.8 📦 16 kB gzip
@nuxtjs/sitemap ofetch ^1.5.1 1.5.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap pathe ^2.0.3 2.0.3 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap pkg-types ^2.3.1 2.3.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap radix3 ^1.1.2 1.1.2 📦 4.3 kB gzip
@nuxtjs/sitemap sitemapd workspace:^ 0.2.1 📦 13 kB gzip
@nuxtjs/sitemap ufo ^1.6.4 1.6.4 ♻️ free via Nuxt 4.5.1
@nuxtjs/sitemap ultrahtml ^1.7.0 1.7.0 ♻️ free via Nuxt 4.5.1
sitemapd fast-xml-parser ^5.10.1 5.10.1 📦 122 kB gzip

Baseline: main_@_20d1192___2026-08-03 · gzip is the comparison metric · changes below 16 B gzip are ignored

@harlan-zw
harlan-zw merged commit 54a74c1 into main Aug 4, 2026
11 checks passed
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.

Nuxt v5 / Nitro v3: unresolved imports for nitropack/runtime during build

1 participant