docs(composer): update for Composer 0.37.0 #8769
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.47) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.47 · 480 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.369
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8769"
general
weight: 0.35
wmadden-electric
A reusable Module in Composer 0.37.0 takes its configuration through one
inputschema. The docs still showed the removed API:This PR brings the Composer docs up to Composer 0.37.0 and fixes older claims that were already wrong. Every change was checked against Composer's own guides and source at the 0.37.0 release commit.
What changed
1. Modules take
input. Apps and Modules now shows theinputschema, a new section on a Module's input,field()for fields bound toserviceOrigin()orgeneratedParam(), and a before-and-after upgrade fromparamsandsecrets.2.
envParamis read on every deploy. The docs said the shell only seeds a platform variable for each stage. In fact the deploy readsenvParamfrom the app configuration on every deploy and writes the value into the service's input. Fixed in Service input, Core concepts and Deploying.3. New configuration sources. Service input documents the
configandsecretslists inprisma.config.ts,dotenv()andenvironmentVariables(), removingimport 'dotenv/config', the root module'sinput,resolve()andenvironment.name, and@prisma/composer/zod.4.
publicUrl(). Deploying has a new "Make a service public" section.5.
--stageis now--environment. Composer 0.36 renamed the flag, and--stagenow fails withCLI.COMMAND_MOVED. The docs still used--stageanddestroy({ target: { kind: 'stage' } }). This is fixed across the Composer pages, thedeployanddevCLI references, the Compute pages, the Prisma Compute quickstart and the Clerk guide.prisma dev --environmentis documented too.6. Older errors. Local development said an unset secret gets a local placeholder;
prisma devactually stops and names the variable. Limitations said theeffectfamily must be pinned in the app; Composer pins it itself. Local development said running a second app in a directory stops the first; both now run at once.cli/error-reference.mdxis generated from prisma/prisma-cli and is untouched.Checks
pnpm lint:linksandcspellpass.Agent: shelob-83
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Documentation
Updated deployment and local development guidance to use environments instead of stages, including CLI commands, environment selection, cleanup, and local resource behavior.
Clarified environment isolation and how configuration and required or optional secrets are loaded, supplied, and redacted.
Expanded guidance on module inputs, validation, adapters, and per-environment values.
Added details on public service URLs, hostname limitations, deployment requirements, and control API configuration; clarified which commands are unavailable in the unified CLI.
Updated the documented Effect version constraint, Prisma ORM version examples, and release status.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->