Skip to content

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

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

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

Conversation

@harlan-zw

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

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Resolves #293

❓ Type of change

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

📚 Description

Nitro 3 no longer exposes the Nitro 2 and H3 entrypoints used by the server bundle. Route handlers now use nuxtseo-shared 5.3.8, with internal requests going through fetchWithEvent. The module aliases its own ofetch dependency for strict pnpm installs. A packed Nuxt 5 fixture covers route rules, robots.txt generation, and the debug route internal fetch.

@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/robots@311

commit: a7a7b79

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

📦 Package Size

⚠️ 5 size metrics grew

Package output Gzipped Δ
@nuxtjs/robots · dependency nuxt-site-config 9.4 kB → 9.8 kB 🔴 +489 B (+5.2%)
@nuxtjs/robots · dependency nuxtseo-shared 14 kB → 16 kB 🔴 +1.6 kB (+11.0%)
@nuxtjs/robots · export . 5.3 kB → 5.3 kB 🔴 +36 B (+0.7%)
@nuxtjs/robots · published payload 34 kB → 34 kB 🔴 +226 B (+0.7%)
@nuxtjs/robots · server runtime 8.1 kB → 8.3 kB 🔴 +171 B (+2.1%)
All tracked output (10)
Package output Gzipped Raw
@nuxtjs/robots · dependency @fingerprintjs/botd 13 kB 55 kB
@nuxtjs/robots · dependency h3 34 kB 146 kB
@nuxtjs/robots · dependency nuxt-site-config 9.8 kB 24 kB 🔴
@nuxtjs/robots · dependency nuxtseo-shared 16 kB 50 kB 🔴
@nuxtjs/robots · export . 5.3 kB 20 kB 🔴
@nuxtjs/robots · export ./content 292 B 503 B
@nuxtjs/robots · export ./util 5.9 kB 23 kB
@nuxtjs/robots · published payload 34 kB 116 kB 🔴
@nuxtjs/robots · app runtime 2.5 kB 6.2 kB
@nuxtjs/robots · server runtime 8.3 kB 21 kB 🔴
Runtime dependencies (11)
Package Dependency Requested Resolved Cost
@nuxtjs/robots @fingerprintjs/botd ^2.0.0 2.0.0 📦 13 kB gzip
@nuxtjs/robots @nuxt/kit ^4.5.0 4.5.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots consola ^3.4.2 3.4.2 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots defu ^6.1.7 6.1.7 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots h3 ^1.15.11 1.15.11 📦 34 kB gzip
@nuxtjs/robots nuxt-site-config ^4.1.4 4.1.4 📦 9.8 kB gzip
@nuxtjs/robots nuxtseo-shared ^5.3.8 5.3.8 📦 16 kB gzip
@nuxtjs/robots ofetch ^1.5.1 1.5.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots pathe ^2.0.3 2.0.3 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots pkg-types ^2.3.1 2.3.1 ♻️ free via Nuxt 4.5.1
@nuxtjs/robots ufo ^1.6.4 1.6.4 ♻️ free via Nuxt 4.5.1

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

@harlan-zw
harlan-zw merged commit da7cf80 into main Aug 4, 2026
11 checks passed
@harlan-zw
harlan-zw deleted the fix/nitro-3-runtime-compatibility branch August 4, 2026 04:02
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