- 16 Mar, 2026 5 commits
-
-
nextjs-bot authored
-
Zack Tanner authored
* fix: patch http-proxy to prevent request smuggling in rewrites (#65) * namespace temp files (#50) * fix: patch http-proxy to prevent request smuggling in rewrites * ncc (cherry picked from commit e9a0b6dd0a27d07c0526b1d8d1b71c13ad4951dd) * block hop-by-hop TE rewrite smuggling bypass (#70) * block hop-by-hop TE rewrite smuggling bypass * more hardening * chore: minimize lockfile delta for http-proxy patch
-
Sebastian "Sebbie" Silbermann authored
* Current behavior * Disallow Server Action submissions from privacy-sensitive contexts by default * Remove endpoints used for manual testing Was only used to design the test
-
Sebastian "Sebbie" Silbermann authored
-
Zack Tanner authored
Backports: - #89963 Co-authored-by:Steven <steven@ceriously.com>
-
- 27 Feb, 2026 1 commit
-
-
Joseph authored
## Summary Backports documentation fixes and improvements from canary to the `next-16-1` branch. ### Included commits: - `757ab17e` In-Depth Explanation of React Version Handling Doc (#89426) - `fe0bb2fc` Next.js sticky scroll standards (#90197) - `d13d1ba2` docs: improve form guide consistency and validation examples (#90361) - `c23f3434` docs: fixes typo in manifest.mdx regarding Route Handler note (#90394) - `dcf11d11` docs: clarify that next upgrade is for 16.1.x+ (#90435) - `da0cbcce` Add not-found.js / notFound() links to Status Codes section (#88332) - `ae79ae55` docs: add Docker Standalone and Docker Export examples to Deploying page (#90386) - `bb813afd` docs(deploying): add Hostinger Web Apps Hosting to Node.js deployment options (#90246) - `15fcfb9c` docs: fix navigationType value and variable name in useReportWebVitals (#90599) - `080e1b3c` docs: Accept header content negotiation (#90607) --------- Co-authored-by:
Abhishek Mardiya <97448460+abhishekmardiya@users.noreply.github.com> Co-authored-by:
vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by:
Jimmy Lai <laijimmy0@gmail.com> Co-authored-by:
Cursor Agent <cursoragent@cursor.com> Co-authored-by:
Mary Lavanitha <lavanitha.officialdesk@gmail.com> Co-authored-by:
Tyler Arthur <46767044+tdarthur@users.noreply.github.com> Co-authored-by:
Karl Horky <karl.horky@gmail.com> Co-authored-by:
Kristiyan Velkov <40764277+kristiyan-velkov@users.noreply.github.com> Co-authored-by:
Wyatt Johnson <accounts+github@wyattjoh.ca> Co-authored-by:
kristiyan.velkov <kristiyan.velkov@ffw.com> Co-authored-by:
agneliutkiene <agne.liutkiene@hostinger.com> Co-authored-by:
Mimori <mimorimori256@gmail.com> Co-authored-by:
Joseph <icyJoseph@users.noreply.github.com>
-
- 25 Feb, 2026 1 commit
-
-
Zack Tanner authored
Backports: - #90060
-
- 20 Feb, 2026 1 commit
-
-
Joseph authored
Trying out a new way to publish updates. We won't always backport this many docs updates. Typos and other minor fixes can wait until a new minor release. This is more about keeping the docs in sync with the latest release, while still being able to still or publish content (new guides, etc), without having to wait for a patch release. Merging to the backport branch is enough to get the document published automatically. --------- Co-authored-by:
Sebastian "Sebbie" Silbermann <sebastian.silbermann@vercel.com> Co-authored-by:
Cursor Agent <cursoragent@cursor.com> Co-authored-by:
Deni Mintsaev <cube327@tuta.io> Co-authored-by:
Pavan Shinde <pavann97@gmail.com> Co-authored-by:
Jan Amann <jan@amann.work> Co-authored-by:
Rhys Evans <wheresrhys@gmail.com> Co-authored-by:
Eric Rabinowitz <ericrabinowitz@me.com> Co-authored-by:
Thomas Schrödinger <tomas.computer.guy@gmail.com> Co-authored-by:
Abhishek Mardiya <97448460+abhishekmardiya@users.noreply.github.com> Co-authored-by:
Vasiliy Vanchuk <v.vanchuk@tut.by> Co-authored-by:
Jimmy Lai <laijimmy0@gmail.com> Co-authored-by:
freek-boon-greenberry <freek.boon@greenberry.nl> Co-authored-by:
vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by:
Allen Zhou <46854522+allenzhou101@users.noreply.github.com> Co-authored-by:
Jinsoo Lee <binary01@kakao.com> Co-authored-by:
Andrew D'Amelio <dev@andrewdamel.io> Co-authored-by:
Andrew Damelio <andrewdamelio@users.noreply.github.com> Co-authored-by:
Swarnava Sengupta <swarnava.sengupta@vercel.com> Co-authored-by:
Jude Gao <jude.gao@vercel.com>
-
- 02 Feb, 2026 1 commit
-
-
Hendrik Liebau authored
Backports: - #89316
-
- 29 Jan, 2026 3 commits
-
-
Hendrik Liebau authored
Backports: - #89171
-
Hendrik Liebau authored
The warnings from `baseline-browser-mapping` about outdated data fail some tests that don't expect the CLI output. By updating the dependency we avoid showing the warning for now, and by setting the environment variable `BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA` we should silence any future warnings as well. related: - #86625 - #86653
-
Hendrik Liebau authored
Specifically, the `lint` job is currently failing in CI for `apps/bundle-analyzer/next-env.d.ts`, e.g.: https://github.com/vercel/next.js/actions/runs/21444929031/job/61758061793?pr=89175
-
- 27 Jan, 2026 6 commits
-
-
nextjs-bot authored
-
Sebastian "Sebbie" Silbermann authored
Backports https://github.com/vercel/next.js/pull/89098 Part of Closes https://linear.app/vercel/issue/NAR-753/
-
Joseph authored
Backport new guide and glossary update. --------- Co-authored-by:
Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> Co-authored-by:
Eng Zer Jun <engzerjun@gmail.com>
-
Zack Tanner authored
We originally prefixed the TTL sentinel with the null-byte separator to avoid collisions with real invocation IDs, but that makes `extractInvocationID` return "ttl" instead of undefined for TTL-mode keys. This switches to a reserved magic string sentinel so TTL-mode entries are correctly treated as “no invocation ID”.
-
Zack Tanner authored
Backports: - #88509 Co-authored-by:Wyatt Johnson <accounts+github@wyattjoh.ca>
-
Niklas Mischkulnig authored
Backports #88207 For this issue https://github.com/vercel/next.js/issues/88822 Also includes https://github.com/vercel/next.js/pull/89066/changes/df12b894f9e7d9a15b8b159d260793b8f810ed68 to get CI working
-
- 26 Jan, 2026 7 commits
-
-
nextjs-bot authored
-
Wyatt Johnson authored
Adds a configurable `experimental.maxPostponedStateSize` limit for PPR postponed state body parsing to prevent OOM/DoS attacks. The postponed state body was read entirely without size limits, creating a potential denial-of-service vector through unbounded memory allocation. Enforces a 10 MB default limit (configurable via next.config.js) with byte counting during body parsing. Returns HTTP 413 when exceeded with a helpful error message directing users to increase the limit if needed. <!-- Closes NEXT- --> <!-- Fixes # -->
-
Steven authored
Based on our metrics, the P99.9 for a source image is 47 MB so we can adjust the default setting to be much lower (by changing from from 300 MB to 50 MB) in favor of reducing memory.
-
Steven authored
Add `images.maximumResponseBody` configuration to exit early when attempting to optimize large source images.
-
Hendrik Liebau authored
-
Sebastian "Sebbie" Silbermann authored
Backports https://github.com/vercel/next.js/pull/88647 --- [Slack Thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1768574003809109?thread_ts=1768574003.809109&cid=C03S8ED1DKM) <a href="https://cursor.com/background-agent?bcId=bc-57689c0b-287b-43f1-87ca-756ee7754a69"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a> <a href="https://cursor.com/agents?id=bc-57689c0b-287b-43f1-87ca-756ee7754a69"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>
-
Joseph authored
A handful of PRs to sync w/ next patch release --------- Co-authored-by:
Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> Co-authored-by:
vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by:
Hanzala Sohrab <sorb.hanzala@gmail.com>
-
- 23 Jan, 2026 1 commit
-
-
Joseph authored
Back porting docs updates into 16-1 (canary now contains changes that shouldn't show in 16.1) --------- Co-authored-by:
Eng Zer Jun <engzerjun@gmail.com> Co-authored-by:
Rich Haines <hello@richardhaines.dev> Co-authored-by:
Tim Neutkens <tim@timneutkens.nl> Co-authored-by:
vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by:
Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com> Co-authored-by:
Luke Sandberg <lukesandberg@users.noreply.github.com> Co-authored-by:
graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> Co-authored-by:
Jiachi Liu <inbox@huozhi.im> Co-authored-by:
Vercel <vercel[bot]@users.noreply.github.com>
-
- 19 Jan, 2026 2 commits
-
-
nextjs-bot authored
-
JJ Kasper authored
Backports https://github.com/vercel/next.js/pull/88733Co-authored-by:
Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
-
- 16 Jan, 2026 3 commits
-
-
nextjs-bot authored
-
Zack Tanner authored
Backports: - https://github.com/vercel/next.js/pull/87991/changes/4b46a382b77b89cb3a23a00888e5563c06b93f4cCo-authored-by:
Andrew Clark <git@andrewclark.io>
-
Niklas Mischkulnig authored
Backport https://github.com/vercel/next.js/pull/88253 into 16.1 Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
- 14 Jan, 2026 3 commits
-
-
nextjs-bot authored
-
Niklas Mischkulnig authored
Co-authored-by:xusd320 <xusd320@gmail.com>
-
Benjamin Woodruff authored
Co-authored-by:
Jimmy Lai <laijimmy0@gmail.com> Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
- 09 Jan, 2026 1 commit
-
-
Benjamin Woodruff authored
This is a backport of https://github.com/vercel/next.js/pull/87841 to the `next-16-1` branch.
-
- 22 Dec, 2025 3 commits
-
-
nextjs-bot authored
-
Benjamin Woodruff authored
Next 16.1 changed Turbopack's external packaging to use symlinks. Symlinks require elevated privileges on Windows if "Developer Mode" is not enabled. We can work around this by using junction points, which are mostly equivalent, but: - They only work with directories. - They can only point to absolute paths, not relative paths. Fixes #87334 Fixes #87607 Fixes #87603 Fixes #87605 Fixes #87559 Fixes #87604 Fixes #87601 Fixes #87599 Fixes #87598 Fixes #87596 Fixes #87595 Fixes #87592 Fixes #87590 Fixes #87589 Fixes #87473 Fixes #87586 Fixes #87585 Fixes #87584 Fixes #87583 Fixes #87582 Fixes #87576 Fixes #87575 Fixes #87574 Fixes #87573 Fixes #87572 Fixes #87571 Fixes #87568 ... and many more Also: Fixes #69858 (related issue about `output: 'standalone'` on Windows. ## Testing - Disable Developer Mode on Windows, reboot, and then verify that symlink creation fails. - Make a payload app with `pnpx create-payload-app` (just pick sqlite for the database when prompted), and then update the app with `pnpx @next/codemod upgrade 16.1.0`. - Add `output: 'standalone'` to the `next.config.js`. - Try running `pnpm build` --------- Co-authored-by:Tobias Koppers <tobias.koppers@googlemail.com>
-
nextjs-bot authored
-
- 18 Dec, 2025 2 commits
-
-
nextjs-bot authored
-
nextjs-bot authored
-