Skip to content

feat: support nuxt v5 - #895

Merged
danielroe merged 2 commits into
mainfrom
feat/nuxt-v5
Nov 25, 2026
Merged

danielroe merged 2 commits into
mainfrom
feat/nuxt-v5

Conversation

@danielroe

@danielroe danielroe commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

this PR moves the dev runtime to a renderer plugin registered with addRendererPlugin, which validates the serialized document from render:document.

the nitro v2 plugin stays as the nitro2 variant, so nuxt 3 and nuxt < 4.7 keep using it. It also drops the externals mutation and updates the redirect matcher for the html nuxt 5 prerenders.

two small changes on nuxt >= 4.7:

  • the html-validator:check hook is called with (result, document: { html }, { event }) instead of a nitro RenderResponse
  • ignore patterns are matched against the pathname, without the query string

@netlify

netlify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for html-validator ready!

Name Link
🔨 Latest commit 9dd5962
🔍 Latest deploy log https://app.netlify.com/projects/html-validator/deploys/6b0752ed2f41e0a314882e0c
😎 Deploy Preview https://deploy-preview-895--html-validator.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.21%. Comparing base (80a447c) to head (9dd5962).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #895       +/-   ##
===========================================
+ Coverage   51.68%   70.21%   +18.52%     
===========================================
  Files           4        5        +1     
  Lines          89       94        +5     
  Branches       29       28        -1     
===========================================
+ Hits           46       66       +20     
+ Misses         43       28       -15     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danielroe
danielroe merged commit 984e333 into main Nov 25, 2026
12 checks passed
@danielroe
danielroe deleted the feat/nuxt-v5 branch November 25, 2026 21:31
@github-actions github-actions Bot mentioned this pull request Nov 25, 2026
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