Skip to content

feat(vercel): add support for skew protection - #3850

Merged
pi0 merged 1 commit into
v2from
feat/vercel-skew
Dec 9, 2025
Merged

pi0 merged 1 commit into
v2from
feat/vercel-skew

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

#3802

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ 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 cherry-picks the support for skew protection from #3787 (see #2311), but without manifest.deploymentId (as requested ❤️).

@danielroe
danielroe requested a review from pi0 as a code owner December 9, 2025 19:47
@vercel

vercel Bot commented Dec 9, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
nitro.build Ready Ready Preview Comment Dec 9, 2025 7:47pm

@coderabbitai

coderabbitai Bot commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/vercel-skew

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new

pkg-pr-new Bot commented Dec 9, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/nitrojs/nitro/nitropack@3850

commit: 6885032

@pi0
pi0 merged commit a4b772b into v2 Dec 9, 2025
@pi0
pi0 deleted the feat/vercel-skew branch December 9, 2025 19:50
@andreasgangso

Copy link
Copy Markdown

Great!
@danielroe can we get some documentation on this? I'd love to test it out (nuxt).

@danielroe

Copy link
Copy Markdown
Member Author

This isn't yet released but you could test with npm i https://pkg.pr.new/nitrojs/nitro/nitropack@056ec85 and then enabling it with nitro.vercel.skewProtection: true and enabling skew protection in the vercel dashboard.

@angelocala94

angelocala94 commented Jan 19, 2026 •

Copy link
Copy Markdown

@danielroe is skew protection also available in Nitro v3? (using tanstack start)

@danielroe

Copy link
Copy Markdown
Member Author

@angelocala94 yes. (have a look at the links in the description of this PR)

This branch was successfully deployed

1 active deployment
Preview — 68850329 Deployed Dec 9, 2025 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.

4 participants