Commit Graph

3804 Commits

Author SHA1 Message Date
Hamidreza Nateghi d1643b47c4 Fix typo on 03-layouts-and-pages.mdx (#86186)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

### Why?

### How?

Closes NEXT-
Fixes #

-->

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-11-17 15:09:40 +01:00
Bernd Strehl 9dc96c89e5 Remove redundant example code for cacheLife docs (#86043)
Remove redundant example code for overriding cache profiles.

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR. ✅ (no changes)
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide ✅

### What?

Remove a redundant example in the `cacheLife` docs.

### Why?

Because the redundant example is confusing.

### How?

Closes NEXT-
Fixes #

-->
2025-11-13 20:39:08 +00:00
sequencerr ef051ff3dc Update cookies.mdx (#86094)
delete is reserved word

<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

### Why?

### How?

Closes NEXT-
Fixes #

-->

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-11-13 20:20:14 +00:00
Tim Neutkens 589f4684a2 Docs: Mention npm link with Turbopack root (#86075)
## What?

Mention `npm link` case for the Turbopack root for when the package is
outside of the project directory.

Based on feedback here:
https://x.com/stevenaharrison/status/1988781488738070962.

---------

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-11-13 12:07:32 +01:00
Amy Burns 56fa9cd452 Fix typo in documentation (#86054)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?
Corrected a typo in the `redirects.mdx` documentation.

### Why?
The comment for the `x-do-not-redirect` header incorrectly stated
`x-dont-redirect`. This PR updates the comment to match the actual
header name for consistency and clarity.

### How?
Modified line 161 in
`docs/01-app/03-api-reference/05-config/01-next-config-js/redirects.mdx`
from `x-dont-redirect` to `x-do-not-redirect`.

Closes NEXT-
Fixes #
-->

---
[Slack
Thread](https://vercel.slack.com/archives/C09P3BYAD7W/p1762978463766399?thread_ts=1762978463.766399&cid=C09P3BYAD7W)

<a
href="https://cursor.com/background-agent?bcId=bc-eb67e8d3-17fe-4af2-8f74-d93bf659c809"><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>&nbsp;<a
href="https://cursor.com/agents?id=bc-eb67e8d3-17fe-4af2-8f74-d93bf659c809"><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>

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-11-12 21:31:13 +01:00
Joseph 1b113c01be docs: Feedback item on proxy default (#86004) 2025-11-11 13:02:05 +00:00
Joseph 12318ed007 docs: cacheHandlers (#85311) 2025-11-11 13:27:04 +01:00
Georges Farah d5262c7286 Update authentication.mdx: Fix Auth0 Link (#85953)
The `Auth0` link is broken so I fixed it

<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

### Why?

### How?

Closes NEXT-
Fixes #

-->

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-11-11 10:09:20 +01:00
Joseph cb6ee43973 docs: eslint config update (#85969)
Closes: https://github.com/vercel/next.js/issues/85947
2025-11-10 13:44:24 +01:00
Tessa 24cfba6b72 Add Appwrite Sites to supported adapters (#85830)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

Added Appwrite Sites to the list of deployment adapters in the deploying
documentation.

### Why?

Appwrite Sites is a deployment platform that uses an adapter to run
Next.js applications on their infrastructure, similar to other platforms
listed in the Adapters section (Cloudflare, Netlify, AWS Amplify, etc.).
This addition helps developers discover Appwrite Sites as a deployment
option for their Next.js applications.

### How?

Added a link to Appwrite Sites documentation
(https://appwrite.io/docs/products/sites/quick-start/nextjs in the
Adapters section of 17-deploying.mdx

Closes NEXT-
Fixes #

-->

### What?

Added Appwrite Sites to the list of deployment adapters in the deploying
documentation.

### Why?

Appwrite Sites is a deployment platform that uses an adapter to run
Next.js applications on their infrastructure, similar to other platforms
listed in the Adapters section (Cloudflare, Netlify, AWS Amplify, etc.).
This addition helps developers discover Appwrite Sites as a deployment
option for their Next.js applications.

### How?

Added a link to Appwrite Sites documentation
(https://appwrite.io/docs/products/sites/quick-start/nextjs in the
Adapters section of 17-deploying.mdx
2025-11-08 17:49:38 +00:00
Joseph 6080d9c469 docs: keywords in system reqs and add browserslist (#85838)
Adding more searchable keywords
2025-11-06 09:08:44 +01:00
Joseph 6ba8ec8725 docs: getting started updates 01 (#85750) 2025-11-05 23:52:23 +01:00
Joseph 7fef3a0cca docs: fresh up getting started 00 (#85736) 2025-11-05 10:54:34 +01:00
Joseph 531293634a docs: disclosure on path-to-regexp (#85629)
Prepping for a bit more helpful work with these matchers
2025-11-04 18:27:59 +01:00
Joseph 8bfa443b74 docs: generateSitemap passes id as promise (#85767) 2025-11-04 14:13:44 +01:00
Tan Zi Gang 2f8dec2314 docs(next.config): this docs should remove ".mts" is not supported. (#85716)
Fix #85715

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Jiwon Choi <devjiwonchoi@gmail.com>
2025-11-03 22:31:44 +00:00
ajstrongdev 7cfb1488e0 docs: update docs to mention ESLint as default (#85740)
### What?
- Add mention of ESLint being the default linter when specifying `--yes`
flag on `create-next-app`

### Why?

- Adds consistency by calling out the default linter.

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-11-03 21:27:49 +00:00
Joseph 29d28ac3e9 docs: recommend reverse-proxy when self-hosting (#85650) 2025-11-03 16:01:55 +01:00
Jiachi Liu 089ca2c0db docs: update multi sitemap argumenmt type (#85701)
In v16, `id` argument in metadata routes becomes promise which requries
to to unwrap it first to access the value

Follow up of #84491

Closes #85632

---------

Co-authored-by: Joseph Chamochumbi <joseph.chamochumbi@vercel.com>
2025-11-03 11:01:03 +01:00
Marjan Ahmed b350da474b docs: fix generateImageMetadata example to use normal params object (#85658)
### What?

Fixes an inconsistency in the v16 upgrade documentation for
`generateImageMetadata`.

### Why?

In the “Upgrading to Version 16” guide, the example incorrectly awaited
the `params` object inside `generateImageMetadata`, implying that it was
a Promise.
However, according to the API reference, `params` is a normal object.
This PR updates the example to reflect the correct synchronous usage.

### How?

Replaced:
```ts
export async function generateImageMetadata({ params }) {
  const { slug } = await params
  return [{ id: '1' }, { id: '2' }]
}

With
```ts
export async function generateImageMetadata({ params }) {
  // params is a normal object
  return [{ id: '1' }, { id: '2' }]
}

---------

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-11-03 10:28:31 +01:00
Joseph c22f05b94e docs: cache life rework (#85224)
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2025-10-31 14:21:37 +01:00
Zack Tanner 2f052b16f6 fully remove clientSegmentCache flag (#85541)
Turning this flag off would have already caused client-side invariants
because we deleted all the old codepaths. This fully removes the
remaining plumbing that supported the flag.
2025-10-30 19:49:05 -07:00
Swarnava Sengupta 1b9eb60878 [docs] Fix a typo (#85492)
Fix a small typo
2025-10-29 21:22:32 -07:00
Gus Fune b1f455719d Refactor GTM implementation to support google tag gateway (#81011)
### What?

This PR refactors the Google Tag Manager implementation on
`@next/third-parties`, it rewrites the implementation of the script url,
params and types to allow `gtmId` to be optional when a script URL is
provided.

### Why?

Google released [Google Tag Gateway for
Advertisers](https://developers.google.com/tag-platform/tag-manager/gateway/setup-guide?setup=manual)
which allows first-party tracking on GTM. When running GTM using the
current implementation, it doesn't work because the `?id=` is hardcoded
into the implementation as it doesn't consider the possibility of tag
gateway or any other setup where the ID is already part of the url.

### How?

- Expanded the types
- Refactored the initialisation of the script URL
- Updated documentation relevant to GTM

Closes #81009

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2025-10-29 12:03:31 -07:00
Sebastian "Sebbie" Silbermann 1e53071f77 Allow inspecting dev server on default port with next dev --inspect (#85037)
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-10-29 17:19:19 +01:00
Joseph eee419eaf6 docs: revalidateTag requires second argument (#85284)
Closes: https://github.com/vercel/next.js/issues/85281
2025-10-29 14:44:30 +01:00
Joseph 0adb4986a0 docs: GET handler behavior under cache components (#85389) 2025-10-29 13:46:55 +01:00
Joseph 7f503bfe0f docs: Routes are wrapped w/ Activity in Cache Components (#85309) 2025-10-29 13:37:03 +01:00
Joseph ad6907a8a3 docs: example are incorrect async function exports only (#85453) 2025-10-29 09:12:46 +01:00
Jiwon Choi afbdae65c0 [CNA] Do not prompt for Turbopack (#85404) 2025-10-28 23:36:57 +01:00
Swarnava Sengupta abec161a19 Update Proxy docs (#85439)
Looks like `_next/data` is always matched to prevent accidental security
issues with protecting the page but not the data route. Documenting
using this PR
2025-10-28 15:17:25 -07:00
Zack Tanner b55e52f1bd docs: remove inaccuracies from use cache: private (#85425)
There are a lot of things in here that aren't quite fully fleshed out
yet (eg runtime prefetching) as well as some inaccuracies (eg `use
cache: private` is not required for runtime prefetching, it's just
another thing that _can_ be runtime prefetched).

This trims the doc down until we can focus on proper guidance.
2025-10-27 17:22:33 -07:00
Mike Dyer 68e60c33ca Fix grammatical errors in updating data documentation (#85067)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

### Why?

### How?

Closes NEXT-
Fixes #

-->

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2025-10-27 18:16:05 +00:00
Cody Coljee-Gray 2a4737927b Fix typo in Fast Refresh documentation (#85352)
Small grammar fix for fast-refresh.mdx

<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

Small grammer update on page introduction.

### Why?

This makes the sentence more readable.

### How?

N/A

Closes NEXT-
Fixes #

-->

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2025-10-27 18:14:45 +00:00
jesuistuan 777b8fa227 docs: Fix typo in SEO section of loading.mdx (#85301)
The second “used” seems unnecessary.

<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

### Why?

### How?

Closes NEXT-
Fixes #

-->

Co-authored-by: Joseph <joseph.chamochumbi@vercel.com>
2025-10-27 11:08:14 -07:00
Joseph 8cdd4eada7 docs: point out diff in serialization types for arguments and return values (#85338)
Answers, how come I can return JSX from cache components?
2025-10-27 17:30:04 +01:00
Joseph ec0d166105 docs: fix proxy matcher overflow (#85337)
Also closes: https://github.com/vercel/next.js/issues/85344
2025-10-27 17:29:13 +01:00
Jude Gao 69e19895e3 docs: simplify MCP guide to focus on next-devtools-mcp (#85353) 2025-10-27 11:13:51 -04:00
denesbeck d0d946620e docs: regexp removed from middleware config (#85343)
Closes https://github.com/vercel/next.js/issues/84307

It seems that the `regexp` prop is not currently supported in the
matcher object
(./packages/next/src/build/segment-config/middleware/middleware-config.ts
→ MiddlewareMatcherInputSchema). Adjusting docs accordingly.

---------

Co-authored-by: devjiwonchoi <devjiwonchoi@gmail.com>
2025-10-27 15:11:21 +01:00
Joseph a135a7d513 docs: link to MCP guide from upgrade (#85308) 2025-10-24 15:52:16 +02:00
Joseph 3a44c24c98 docs: typegen next-env.d.ts feedback (#85273)
Bringing back some info lost when next lint was removed, and accounting
for `isolatedDevBuild` in v16

---------

Co-authored-by: Ismael <ismael@vercel.com>
2025-10-23 19:50:54 +02:00
Arnab Sen 90a3b82d07 Update command to install babel-plugin-react-compiler as a devDependency (#85235)
Updated command to install babel-plugin-react-compiler as a
devDependency instead of as a dependency, mirroring React's instructions
- https://react.dev/learn/react-compiler/installation
2025-10-23 14:14:32 +00:00
Joseph d1b02c6d93 Docs/v16 feedback (#85259)
Co-authored-by: Rich Haines <hello@richardhaines.dev>
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
2025-10-23 14:18:43 +02:00
Joseph eebff81932 docs: add a note that cache components is opt-in near the top (#85245)
We do mention how to enable this feature, but a little note can go a
long way, specially highlighting that it is opt-in
2025-10-23 13:52:07 +02:00
Joseph 90e41cfb26 chore: cache components feedback (#85241)
Just a couple of mistakes
2025-10-22 22:44:47 +02:00
Jiwon Choi 8ede5d0165 docs: proxy runtime defaults to nodejs (#85204)
Proxy runtime defaults to nodejs and does not allow runtime config since
https://github.com/vercel/next.js/pull/85139
2025-10-22 13:29:54 -07:00
Wyatt Johnson 27a3fa71b6 docs: added use cache: remote docs (#85145) 2025-10-22 10:32:34 -07:00
Joseph 4b45979351 Docs/use cache feedback 2 (#85222)
- [x] Update Error
2025-10-22 16:35:44 +02:00
Joseph 0b9512280c docs: revalidateTag immediate expiration in Route Handlers (#85223)
Further precision to revalidateTag signature, and escape hatch for route
handlers w/ immediate revalidation
2025-10-22 15:39:40 +02:00
Joseph 5ce476a811 docs: stabilize apis in docs (#85219) 2025-10-22 14:12:17 +02:00