next.js
2469bbf4 - docs: document adapter getCapabilities and Go proxy output (#102743)

Commit
1 day ago
docs: document adapter getCapabilities and Go proxy output (#102743) ### What? Documents the adapter API additions from 16.5: - `getCapabilities` on `NextAdapter`, with `supportsHtmlLimitedBotPrerenders` and `supportsPrerenderMethodBypass`, in the adapter API reference and the interface listing. - `config.bypassFor` on prerender outputs can contain a `{ type: 'method' }` condition when the adapter opts in. - The middleware output for an experimental `proxy.go` uses `runtime: 'go'` and a `/proxy` or `/src/proxy` `sourcePage`. ### Why? #101911 and #101464 changed the adapter types without touching the adapter docs. ### Verification - Checked against `packages/next/src/build/adapter/build-complete.ts` on canary (`NextAdapterCapabilities`, `PrerenderBypassCondition`, `getPrerenderBypassFor`, and the Go proxy branch of the middleware output).
Author
Parents
Loading