Skip to content

docs: point SPA production guidance at ADR 036 instead of @zitadel/edge-proxy - #561

Open
fforootd wants to merge 7 commits into
mainfrom
docs/adr036-docs-truth
Open

docs: point SPA production guidance at ADR 036 instead of @zitadel/edge-proxy#561
fforootd wants to merge 7 commits into
mainfrom
docs/adr036-docs-truth

Conversation

@fforootd

@fforootd fforootd commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

Validation

  • grep -rn "edge-proxy" apps/cli/src packages/sdk-*/README.md apps/docs/content — zero matches after the change.
  • Prose-only change; no build or test commands run.

Release notes / changeset

  • Changeset: .changeset/sdk-readme-adr036-docs.md — patch for the six SPA SDK packages (published README content changed; no shipped behavior changed).

Notes

…ge-proxy

The edge-proxy package was decided against in ADR 036 (#552) and its PR
closed (#56); main still documented it as the production path in patcher
docs, SDK package READMEs (with import examples of a package that does
not exist on npm), and the docs site. Point everything at the decided
model — platform rewrite or minimal worker plus the publishable key —
and the tracking issue #560, stating clearly that until that work lands
the dev proxy covers local development only.
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nextgen Ready Ready Preview Aug 4, 2026 10:21am
nextgen-docs Ready Ready Preview Aug 4, 2026 10:21am
nextgen-mock-zitadel Ready Ready Preview Aug 4, 2026 10:21am

Request Review

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: 7033284

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 20 packages
Name Type
@zitadel/sdk-react Patch
@zitadel/sdk-vue Patch
@zitadel/sdk-angular Patch
@zitadel/sdk-solid Patch
@zitadel/sdk-svelte Patch
@zitadel/sdk-qwik Patch
@zitadel/cli Patch
@zitadel/server Patch
@zitadel/server-linux-x64 Patch
@zitadel/server-linux-arm64 Patch
@zitadel/server-darwin-x64 Patch
@zitadel/server-darwin-arm64 Patch
@zitadel/server-win32-x64 Patch
@zitadel/api Patch
@zitadel/config Patch
@zitadel/components Patch
@zitadel/sdk-core Patch
@zitadel/sdk-next Patch
@zitadel/sdk-nuxt Patch
@zitadel/testing Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates SPA production proxy guidance across the SDK READMEs, docs site, and CLI patcher docs to align with ADR 036 (credential planes) and remove references to the abandoned/nonexistent @zitadel/edge-proxy package.

Changes:

  • Replace @zitadel/edge-proxy production guidance in SPA SDK READMEs with ADR 036’s model (platform rewrite/minimal worker; no secrets on the platform).
  • Update the docs site to link production SPA proxy guidance to the “SDK proxy” concept page and add an explicit “SPAs in production” section there.
  • Add a changeset to publish the updated README content for the six SPA SDK packages.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
packages/sdk-vue/README.md Remove @zitadel/edge-proxy example; point production guidance at ADR 036 + #560.
packages/sdk-svelte/README.md Same as above for Svelte SDK README.
packages/sdk-solid/README.md Same as above for Solid SDK README.
packages/sdk-react/README.md Same as above for React SDK README.
packages/sdk-qwik/README.md Same as above for Qwik SDK README.
packages/sdk-angular/README.md Update Angular SDK README production proxy guidance to ADR 036 model.
apps/docs/content/docs/sdks/react.mdx Update production step to point to SDK proxy concept page.
apps/docs/content/docs/concepts/sdk-proxy.mdx Add “SPAs in production” section describing platform rewrite/worker approach and current tracking status.
apps/cli/src/lib/orca/patchers/rule/vue/README.md Update patcher documentation to remove edge-proxy guidance and reference ADR 036 + #560.
apps/cli/src/lib/orca/patchers/rule/svelte/README.md Same update for Svelte patcher docs.
apps/cli/src/lib/orca/patchers/rule/svelte/index.ts Update inline comment to remove edge-proxy mention and reference ADR 036 + #560.
apps/cli/src/lib/orca/patchers/rule/solid/README.md Same update for Solid patcher docs.
apps/cli/src/lib/orca/patchers/rule/solid/index.ts Update inline comment to remove edge-proxy mention and reference ADR 036 + #560.
apps/cli/src/lib/orca/patchers/rule/react/README.md Same update for React patcher docs.
apps/cli/src/lib/orca/patchers/rule/react/index.ts Update inline comment to remove edge-proxy mention and reference ADR 036 + #560.
apps/cli/src/lib/orca/patchers/rule/qwik/README.md Same update for Qwik patcher docs.
apps/cli/src/lib/orca/patchers/rule/qwik/index.ts Update inline comment to remove edge-proxy mention and reference ADR 036 + #560.
apps/cli/src/lib/orca/patchers/rule/angular/README.md Same update for Angular patcher docs.
apps/cli/src/lib/orca/patchers/rule/angular/index.ts Update inline comment to remove edge-proxy mention and reference ADR 036 + #560.
.changeset/sdk-readme-adr036-docs.md Patch changeset for the six SPA SDK packages so README updates publish to npm.

Comment thread packages/sdk-react/README.md Outdated
Comment thread packages/sdk-vue/README.md Outdated
Comment thread packages/sdk-solid/README.md Outdated
Comment thread packages/sdk-svelte/README.md Outdated
Comment thread packages/sdk-qwik/README.md Outdated
Comment thread apps/docs/content/docs/concepts/sdk-proxy.mdx Outdated
Comment thread packages/sdk-angular/README.md
…m-neutral wording

Add an explicit 'until that work lands, production SPA deployment is
not yet supported' caveat to all six SDK package READMEs, and make the
docs-site credential wording mechanism-neutral: docs/design/api/
credentials.md specifies an origin-bound challenge nonce where ADR 036
says publishable key, and public docs should not take sides while that
divergence is arbitrated (flagged on #560).
# Conflicts:
#	apps/cli/src/lib/orca/patchers/rule/angular/README.md
#	apps/cli/src/lib/orca/patchers/rule/qwik/README.md
#	apps/cli/src/lib/orca/patchers/rule/react/README.md
#	apps/cli/src/lib/orca/patchers/rule/solid/README.md
#	apps/cli/src/lib/orca/patchers/rule/svelte/README.md
#	apps/cli/src/lib/orca/patchers/rule/vue/README.md
PR #719 scoped the dev-proxy secret to POST /sessions/exchange (recorded
as an interim note in ADR 036); three docs-site lines still described
the old attach-on-every-request behavior.
@fforootd
fforootd marked this pull request as ready for review August 3, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants