next.js
69774af7 - docs: clarify Server Actions configuration (#101549)

Commit
23 days ago
docs: clarify Server Actions configuration (#101549) ## Summary Clarify that Server Actions are stable and enabled by default, while both configuration options remain experimental under `experimental.serverActions`. Use the full configuration paths so readers can configure them without having to infer the nesting from examples. Update the `serverActions` config reference to separate host matching from proxy and tunnel setup and distinguish `allowedDevOrigins` from Server Action origin checks. Keep the stability note beside the first configuration example. Update the Server Actions, data security, and multi-zones guides to use the same full option paths. Related: https://next-maintainer-agent.vercel.tools/agent-feedback/7229 ## Verification - Prettier and ESLint pass for all four changed MDX files. - Local links and fragments in changed prose resolve; existing reference section anchors are preserved. - Checked configuration nesting, host matching, dev-resource checks, and body-size enforcement against the implementation. - Ran the original reproduction against `next@16.5.0-canary.47`: `npm run typecheck:experimental` passes; `npm run typecheck` rejects top-level `serverActions` with TS2353, as intended. - No runtime changes or new regression tests; this PR corrects and clarifies documentation. <!-- NEXT_JS_LLM -->
Author
Parents
Loading