Skip to content

fix(nuxt,nitro): Accept Nitro 3 betas without narrowing peer support - #25815

Merged
msonnb merged 2 commits into
developfrom
ms/nuxt-nitro-peer-range
Oct 28, 2026
Merged

msonnb merged 2 commits into
developfrom
ms/nuxt-nitro-peer-range

Conversation

@msonnb

@msonnb msonnb commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Accept the published Nitro 3 betas so npm can resolve Nuxt 4.6 upgrades without selecting deprecated nitro@3.0.0 and conflicting with Vite 8.

Closes #25761

Co-Authored-By: GPT-6 <codex@openai.com>
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: b7e0ea9 (PR test merge using develop at 3c3d423)

Against: 3c3d423 (develop) · base run #63935

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 30.33 kB - -
@sentry/browser - with treeshaking flags 28.45 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.34 kB - -
@sentry/browser (incl. Tracing) 52.6 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.61 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.54 kB - -
@sentry/browser (incl. Tracing, Replay) 92.8 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 81.42 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 97.53 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 110.51 kB - -
@sentry/browser (incl. Feedback) 47.89 kB - -
@sentry/browser (incl. sendFeedback) 35.4 kB - -
@sentry/browser (incl. FeedbackAsync) 40.51 kB - -
@sentry/browser (incl. Metrics) 31.34 kB - -
@sentry/browser (incl. Logs) 31.62 kB - -
@sentry/browser (incl. Metrics & Logs) 32.3 kB - -
@sentry/react 32.14 kB - -
@sentry/react (incl. Tracing) 54.89 kB - -
@sentry/vue 38.6 kB - -
@sentry/vue (incl. Tracing) 55.49 kB - -
@sentry/svelte 30.36 kB - -
@sentry/remix (Remix 3 client bundle) 57.64 kB - -
CDN Bundle 32.06 kB - -
CDN Bundle (incl. Tracing) 53.09 kB - -
CDN Bundle (incl. Logs, Metrics) 34.26 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 55.04 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 75.68 kB - -
CDN Bundle (incl. Tracing, Replay) 91.22 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 93.16 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 97.36 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.33 kB - -
CDN Bundle - uncompressed 94.29 kB - -
CDN Bundle (incl. Tracing) - uncompressed 157.29 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.84 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 163.26 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 232.34 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 278.92 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 284.87 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.62 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 298.56 kB - -
@sentry/nextjs (client) 57.74 kB - -
@sentry/sveltekit (client) 53.05 kB - -
@sentry/core/server 43.84 kB - -
@sentry/core/browser 13.95 kB - -
@sentry/node 154.57 kB +0.01% +12 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.62 kB - -
@sentry/node - without tracing 95.69 kB +0.01% +6 B 🔺
@sentry/node - without channel injection 135.21 kB +0.01% +8 B 🔺
@sentry/aws-serverless 103.86 kB +0.01% +9 B 🔺
@sentry/cloudflare (withSentry) - minified 197.77 kB - -
@sentry/cloudflare (withSentry) 491.5 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 218.35 kB - -

View base workflow run

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Optional E2E tests

All optional checks were successful. 8 successful. See the run.

Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E nuxt-4 (canary) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Successful in 37s Details
✅ CI: Optional E2E Tests / E2E nuxt-4-static (canary) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Successful in 19s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps Test (optional) Successful in 19s Details
✅ CI: Optional E2E Tests / E2E nuxt-3 (canary) Test (optional) Successful in 52s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 19s Details

Co-Authored-By: GPT-6 <codex@openai.com>
@msonnb msonnb changed the title fix(nuxt,nitro): Correct Nitro peer ranges for Vite 8 fix(nuxt,nitro): Accept Nitro 3 betas without narrowing peer support Oct 28, 2026
@msonnb
msonnb marked this pull request as ready for review October 28, 2026 13:17
@msonnb
msonnb requested a review from a team as a code owner October 28, 2026 13:17
@msonnb
msonnb requested review from chargome, nicohrubec and s1gr1d and removed request for a team October 28, 2026 13:17

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1663383. Configure here.

"peerDependencies": {
"nuxt": ">=3.7.0 || 4.x || 5.x",
"nitro": "2.x || 3.x"
"nitro": "2.x || 3.x || 3.0.260311-beta || 3.0.260415-beta || 3.0.260429-beta || 3.0.260522-beta || 3.0.260603-beta || 3.0.260610-beta || 3.0.260903-beta"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix PR missing regression tests

Low Severity

This fix PR only widens the nitro peer ranges and adds no unit, integration, or E2E test that fails without the new dated betas and passes with them. Existing Nuxt 4 e2e apps use pnpm and would not reproduce the npm peer resolution this change targets. I flagged this because the review rules' Testing Conventions require a regression test on fix PRs.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit 1663383. Configure here.

@msonnb
msonnb merged commit c5c2a3a into develop Oct 28, 2026
84 checks passed
@msonnb
msonnb deleted the ms/nuxt-nitro-peer-range branch October 28, 2026 14:07
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.

@sentry/nuxt 11: optional nitro peer makes npm install fail with ERESOLVE on Vite 8

2 participants