- 25 Jul, 2026 1 commit
-
-
next-js-bot[bot] authored
-
- 23 Jul, 2026 1 commit
-
-
Luke Sandberg authored
Backports the TypeScript 7 support fixes to the `16.2.x` release line to resolve #95801, where `next build` crashes with a silent `SIGSEGV`/`SIGABRT` when `typescript@7` is installed (the legacy TypeScript JavaScript API is unavailable in TS7). Cherry-picks the following, in order: - #92277 — Resolve `compilerOptions.paths` in tsconfigs without `compilerOptions.baseUrl` (prerequisite; source change only) - #95639 — (TypeScript 7 Support) Add experimental TypeScript CLI backend - #95692 — Fix termination handling - #95753 — Better support the CLI spinner when running the TSC CLI Together these add the opt-in `experimental.useTypeScriptCli` backend (runs the project-local `tsc` during `next build`, supporting TS7), preserve the TypeScript API backend as the default with actionable TS7 migration guidance instead of a crash, and fix worker termination and CLI spinner handling. ## Prerequisite: #92277 The TypeScript CLI backend tests exercise a `paths` alias that is inherited from an extended tsconfig and defined **without** a `baseUrl`. Resolving that alias in the **webpack** builder relies on the `load-jsconfig.ts` change from #92277 (compute the effective base URL from `pathsBasePath`), which had not been backported to `next-16-2`. Only the source change from #92277 is included here — its test reorganization is not. ## Test changes The `test/production/ci-missing-typescript-deps` and `test/production/next-server-nft` suites were converted from `createNext` to `nextTestSetup` on `canary` in #93799, which was never backported to `next-16-2`. Because #95639's test diffs were authored against that refactored shape, the `ci-missing-typescript-deps` suite is adapted back to this branch's existing `createNext` / `try‑finally` style rather than pulling in the #93799 refactor. ## Fixes Fixes #95801 ## Verification Automated (both bundlers): - `pnpm --filter=next build` - `pnpm test-start-turbo` and `pnpm test-start-webpack` for: - `test/production/app-dir/typescript-cli/typescript-cli.test.ts` - `test/production/ci-missing-typescript-deps/index.test.ts` - Unit: `runTypeScriptCli.test.ts`, `test/unit/typescript-cli-config-origin/index.test.ts` Against a `typescript@7.0.2` reproduction project, `next build` no longer crashes with an error about how `"id"` should be a string`. It now exits cleanly with actionable guidance: ``` ▲ Next.js 16.2.10 (Turbopack) Creating an optimized production build ... ✓ Compiled successfully in 785ms Running TypeScript .TypeScript 7.0.2 does not provide the compiler API required by Next.js. Enable experimental.useTypeScriptCli in your Next.js config to use the TypeScript CLI, or install TypeScript 6 instead. Next.js build worker exited with code: 1 and signal: null ``` The same clean error is produced under `CI=1` (previously the crash path). Enabling the new opt-in: ```ts experimental: { useTypeScriptCli: true, }, ``` makes the build succeed with TypeScript 7 installed. --------- Co-authored-by:Tim Neutkens <tim@timneutkens.nl>
-
- 22 Jul, 2026 1 commit
-
-
Joseph authored
## Summary - docs: server actions guide x-refs (#95143) - docs: remove unnecessary async from rewrites/headers/redirects examples (#95148) - docs: Update FormEvent to SubmitEvent in form handling example (#95453) - docs: remove incorrect statement that force-cache is the default (#95235) - docs: note default error/not-found UI follows OS color scheme (#95673) - docs: useSearchParams example stray link (#95759) - docs: remove experimental @next/routing note (#94903) - docs: add 'Set up your editor' to the installation guide (#95928) - docs: clarify layout.js nesting behavior in route groups (#95720) - Include examples of static export tools & GitHub Pages template (#95929) - docs: fix unstable_cache syntax error (#96002) - docs: clarify sequential data fetching example (#94930) - docs: Fix broken link to Node.js Debugging Guide (#93958) - docs: fix broken Node.js inspector URL in debugging guide (#94934) - docs(authentication): add Auth and streaming, fix code fences and imports (#95056) --------- Co-authored-by:
thsid <63248890+thsid@users.noreply.github.com> Co-authored-by:
Marco Dotzler <122102508+M4cM4rco@users.noreply.github.com> Co-authored-by:
Pranav <mohnapranav@gmail.com> Co-authored-by:
Tim Neutkens <tim@timneutkens.nl> Co-authored-by:
Aurora Scharff <66901228+aurorascharff@users.noreply.github.com> Co-authored-by:
Ankur Prajapati <91510065+ankurdotio@users.noreply.github.com> Co-authored-by:
WildCharger <46546991+WildChargerTV@users.noreply.github.com> Co-authored-by:
David GG <hola@davidgg.es> Co-authored-by:
Giles Thompson <giles@papaiti.com> Co-authored-by:
Jahanzaib iqbal <78400134+jahanzaib-iqbal-dev@users.noreply.github.com>
-
- 21 Jul, 2026 11 commits
-
-
next-js-bot[bot] authored
-
-
Sebastian "Sebbie" Silbermann authored
https://github.com/vercel/next-js-mirror/pull/128Co-authored-by:
Karim Rahal <karim.rahal@vercel.com>
-
Sebastian "Sebbie" Silbermann authored
https://github.com/vercel/next-js-mirror/pull/126Co-authored-by:
Karim Rahal <karim.rahal@vercel.com>
-
Sebastian "Sebbie" Silbermann authored
https://github.com/vercel/next-js-mirror/pull/122Co-authored-by:
Steven <steven@ceriously.com>
-
-
- 16 Jul, 2026 1 commit
-
-
Sebastian "Sebbie" Silbermann authored
-
- 10 Jul, 2026 1 commit
-
-
Benjamin Woodruff authored
-
- 01 Jul, 2026 1 commit
-
-
next-js-bot[bot] authored
-
- 30 Jun, 2026 1 commit
-
-
Sebastian "Sebbie" Silbermann authored
Co-authored-by:Steven <steven@ceriously.com>
-
- 23 Jun, 2026 1 commit
-
-
Joseph authored
Includes: - e519ede9 docs: less aggressive AI agent hint for an experimental API (#93811) - 22fc63da docs: fix typos and links (#92541) - dc3a7ebf docs: rework dynamic segments intro section (#94126) - 48d3ab5c Remove extra word (#94160) - ae76532c docs: transpilePackages usage (#93602) - b14d9a42 docs: fix code examples in getting-started guides (#93273) - 57ddbf81 docs: point deployment docs to the new Docker official guide (#94185) - 16e862ae docs: correct custom server optimization guidance (#94229) - 13847b2e docs: bodySizeLimit measures raw HTTP body (#94137) - bc384860 docs: accuracy and papercuts (#94299) - 044e25ac docs: clarify rewrites execution order (#93765) - d3cd3681 docs: update draftMode guide (#94155) - 2aefd051 docs: fix typos in contribution guide (#94375) - bd9f0eb4 docs: clarify next-env.d.ts regeneration (#94232) - 5c9bc5c8 docs: fix onRequestError error type example (#94518) - ca2a022c docs: fix 'time zone' spelling in FOUC guide (#93244) - 40d08d66 docs: expand the Cache Components migration guide (#94649) - 21a1eafb docs: server actions guide (#93553) - 3691c518 docs: fix capitalization of Server and Client Components (#94891) And additionally, adapts the Cache Components migration guide for the 16.2 release line (instant navigation and the `instant` route config aren't available on 16.2): - docs: remove instant navigation content from the Cache Components migration guide for 16.2 --------- Co-authored-by:
Jude Gao <jude.gao@vercel.com> Co-authored-by:
Ayodele Samuel Adebayo <unclebigbay@gmail.com> Co-authored-by:
Igor Babko <i.i.babko@gmail.com> Co-authored-by:
Stanislav Kozachenko <49488521+StanislavKozachenko@users.noreply.github.com> Co-authored-by:
Kristiyan Velkov <40764277+kristiyan-velkov@users.noreply.github.com> Co-authored-by:
Tim Neutkens <tim@timneutkens.nl> Co-authored-by:
JJ Kasper <jj@jjsweb.site> Co-authored-by:
Razin Shafayet <sumonislamk29@gmail.com> Co-authored-by:
SJvaca30 <122259127+SJvaca30@users.noreply.github.com> Co-authored-by:
Danyal Ahmed <58849388+danyalahmed1995@users.noreply.github.com> Co-authored-by:
Karl Horky <karl.horky@gmail.com> Co-authored-by:
niketchandivade <56070211+niketchandivade@users.noreply.github.com>
-
- 10 Jun, 2026 1 commit
-
-
Sebastian "Sebbie" Silbermann authored
Backports https://github.com/vercel/next.js/pull/93302
-
- 09 Jun, 2026 4 commits
-
-
next-js-bot[bot] authored
-
Sebastian "Sebbie" Silbermann authored
-
next-js-bot[bot] authored
-
Sebastian "Sebbie" Silbermann authored
-
- 03 Jun, 2026 2 commits
-
-
Sebastian "Sebbie" Silbermann authored
Co-authored-by:
Matt Mastracci <matthew@mastracci.com> Co-authored-by:
dagecko <cnyhuis@vigilantnow.com> Co-authored-by:
Benjamin Woodruff <github@benjam.info> Co-authored-by:
Benjamin Woodruff <benjamin.woodruff@vercel.com>
-
Sebastian "Sebbie" Silbermann authored
Backports https://github.com/vercel/next.js/pull/94302 16.x still receives bug fixes so we need to maintain the release workflow. Even if it's just for perf, the less differences, the easier it is to find causes of divergent behavior.
-
- 01 Jun, 2026 1 commit
-
-
Sebastian "Sebbie" Silbermann authored
-
- 31 May, 2026 2 commits
-
-
Luke Sandberg authored
Backports [feat(turbopack): add LocalPathOrProjectPath PostCSS config resolution (#91338)](https://github.com/vercel/next.js/pull/91338) to `next-16-2`. <!-- NEXT_JS_LLM_PR -->
-
Sebastian "Sebbie" Silbermann authored
-
- 28 May, 2026 2 commits
-
-
Tim Neutkens authored
Backports [Propagate adapter preferred regions](https://github.com/vercel/next.js/pull/94123) to `next-16-2`. <!-- NEXT_JS_LLM_PR -->
-
Tim Neutkens authored
Backports [Fix "type: module" in project dir when using standalone or adapters](https://github.com/vercel/next.js/pull/93612) to `next-16-2`. <!-- NEXT_JS_LLM_PR -->
-
- 27 May, 2026 1 commit
-
-
Benjamin Woodruff authored
https://vercel.slack.com/archives/C0B0LKK5QD7/p1779825011578549 > I'm not having any luck reproducing this locally, and there's no useful logs from GitHub Actions. Looking at the timestamps, it successfully completes `pnpm install` and then hangs for 30m until it times out. > I'm not seeing these failures in the `canary` branch, and this only happens with node 24. I'm just going to disable this job on the `next-16-2` branch. The failure doesn't appear to be indicative of any real issue on our end, it's more likely an issue with node or pnpm. Example failure: https://github.com/vercel/next.js/actions/runs/26503905088/job/78051437920
-
- 19 May, 2026 5 commits
-
-
Niklas Mischkulnig authored
Backport of https://github.com/vercel/next.js/issues/91832 For https://github.com/vercel/next.js/issues/93790 and https://github.com/vercel/next.js/issues/92711Co-authored-by:
Tobias Koppers <tobias.koppers@googlemail.com> Co-authored-by:
Tobias Koppers <sokra@users.noreply.github.com> Co-authored-by:
Claude <noreply@anthropic.com>
-
Hendrik Liebau authored
Backports: - #93792 Co-authored-by:
Elisha Greenwald <ejgreenwald@gmail.com> Co-authored-by:
LiamBoz <thisamazingnow@gmail.com> Co-authored-by:
kmaclip <kmartclips@proton.me>
-
Hendrik Liebau authored
Backports: - #93617 - #93601 --------- Co-authored-by:
Swarnava Sengupta <swarnava.sengupta@vercel.com> Co-authored-by:
Or Nakash <ornakash@gmail.com>
-
Hendrik Liebau authored
Backports: - #93294
-
Hendrik Liebau authored
Backports: - #92892 - #93486
-
- 18 May, 2026 1 commit
-
-
Hendrik Liebau authored
Backports: - #93802
-
- 12 May, 2026 1 commit
-
-
Joseph authored
## Summary Backports documentation fixes and improvements from canary to the `next-16-2` branch. ### Included commits: - eddbd54f90 docs: clarify that proxy/middleware matches static assets by default (#92441) - 43d1229d4c docs: clarify serverless runtime behavior for use cache (#92232) - 630d9052c6 docs: add note on React canary version to View transitions guide (#92315) - 08f6f62988 docs: note PPR default in cacheComponents reference (#92378) - 07182b567c docs: clarify cacheLife() cannot be called at module scope (#92326) - 7bb8e7de84 docs: add note on installing `server-only` in data security guide (#92445) - 6440b9e11b docs: update details about `unstable_retry()` behavior (#91827) - 246c5e1f5d docs: link updateTag from cacheTag reference (#92379) - a99d7fd16e docs: native db drivers with sync queries (#92572) - aef9105d1b docs: add Link transitionTypes version history (#92624) - db1d2cc398 docs(cli): clarify that `--debug-build-paths` requires route group folders in paths (#92618) - 82f3f48880 docs: fix broken bun.sh Nextjs documentation link (#92698) - 5a1598608e docs: add migration note for experimental cache flags to cacheComponents (#92318) - d1cf752c5d docs: draftMode alignment (#92794) - ccc6d36578 docs: amends to preserving-ui-state guide (#92270) - 44e3208add docs: link Activity guide from Cache Components migration guide (#92571) - 2217cbaa8c docs: add guide for displaying dates without hydration flash (#92786) - d233d05456 docs: remove broken error-handling overlay screenshot (#93279) - 356644ba06 Update 05-server-and-client-components.mdx (#93374) - ae88a95b5e docs: clarify rendering flow in Server/Client interleaving example (#93381) - b4191904d8 docs: clarify proxy runtime history (#93467) - e41fc92a76 docs: remove unreachable forms and mutations (#93509) - 405a912968 docs: broken link from usePathname compat call out (#93528) - 58ea3325f1 docs: escape literal triple-backticks in contribution guide (#93584) - d98ea7cc67 docs: clarify cacheTag limit - it is per call (#93768) - 7988818441 docs: devIndicators with usage example (#93784) --------- Co-authored-by:
Cursor Agent <cursoragent@cursor.com> Co-authored-by:
Joseph <icyJoseph@users.noreply.github.com> Co-authored-by:
MK <135491799+wwenrr@users.noreply.github.com> Co-authored-by:
wwenrr <wwenrr@users.noreply.github.com> Co-authored-by:
Aurora Scharff <66901228+aurorascharff@users.noreply.github.com> Co-authored-by:
vercel[bot] <35613825+vercel[bot]@users.noreply.github.com> Co-authored-by:
Abhishek Mardiya <97448460+abhishekmardiya@users.noreply.github.com> Co-authored-by:
Jiwon Choi <devjiwonchoi@gmail.com> Co-authored-by:
Hamed <55133282+hamedniroomand@users.noreply.github.com> Co-authored-by:
Jimmy Lai <laijimmy0@gmail.com> Co-authored-by:
christopherkindl <53372002+christopherkindl@users.noreply.github.com> Co-authored-by:
Zana Abdi <zana.abdi@hotmail.com> Co-authored-by:
Armando A. Calderón <armandoandrecalderon@gmail.com>
-
- 07 May, 2026 1 commit
-
-
Sebastian "Sebbie" Silbermann authored
-