Repository navigation
chore(release): v0.35.0 - #389
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
|
✅ Gizmo reviewed f1df831 — posted 0 inline comment(s) this pass. Open findings: none Change walkthroughThis PR is the release bump for v0.35.0: it stamps 0.35.0 on the workspace root and on every workspace package — publishable, private, examples, tests, and website — rewrites every internal How it fits the codebase. The change is exactly what docs/oss/versioning.md prescribes: one lockstep version across all 42 workspace manifests, regenerated via the bump-minor → set-version tooling, with the lockfile kept consistent for CI's |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
commit: |
Brings in ADR-0059 (environment, not stage), the stage-to-environment rename (#390), the node-addressing close-out (#391), v0.35.0 (#389) and prisma dev --environment (#392). The secrets behaviour follows each environment: the dev preflight keeps its fingerprint key in the environment folder, and deletes a leftover secrets.json both there and in the pre-environment folder. Moving pre-environment state into dev no longer moves secrets.json; it deletes it. Tests pass the environment, and our docs say environment where main renamed stage and environment variables where they mean variables. Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Release v0.35.0 (0.34.0 → 0.35.0). Merging this triggers the Publish to npm workflow.
Paste the release notes below into the GitHub Release by hand. The auto-generated notes come from PR titles, and those titles do not carry the upgrade steps.
The bump stamps 0.35.0 on every workspace package, its internal dependencies, the lockfile and the
prisma-composer-core-conceptsskill.check:publish-depspasses.After it publishes, prisma/prisma-cli#371 moves the
prismabinary to 0.35.0 and mountsprisma deploy list.Release notes for v0.35.0
Use Composer 0.35.0 with the first
prismaCLI release that bundles@prisma/composer-cli0.35.0. Earlierprismareleases run the 0.34.0 commands.Breaking: every node's address starts with the app name
A node's address is now its full path from the app name:
shop.catalog.db, notcatalog.db. The same string is itslogicalIdon the platform, the name of every resource Composer creates for it, and the start of its environment variable keys (COMPOSER_SHOP_CATALOG_…).The first deploy with 0.35.0 moves an existing environment to the new names in place. Databases keep their rows, buckets keep their objects, generated secrets keep their values, and custom domains stay. Each database connection and bucket access key Composer made is replaced by a new one with new credentials, and your services receive the new ones in the same deploy. Anything outside the app that copied an old connection string or access key needs the new one.
What you have to change:
serviceOrigin()takes the full address. ChangeserviceOrigin('api')toserviceOrigin('<app>.api').prisma dev urltakes the full address too.One case needs a manual step: an app with a module or service named like the app, directly below the root, can have a new variable key that an older version wrote for another node. The deploy then stops before changing anything, and tells you which variables to delete before deploying again. The steps are in Upgrading to addresses that start with the app name.
Breaking: the entry file is set in
prisma.config.tsprisma deployandprisma devno longer take the entry file as an argument. Set it once in thecomposersection:Then run
prisma deployorprisma dev.--entry <path>overrides it for one run.prisma deploy module.tsnow fails withCLI.INVALID_ARGUMENTS, and running with no entry anywhere fails withCONFIG.ENTRY_MISSING.prisma devruns a service with its own dev serverUnder
prisma dev, a Next.js service now runsnext devinstead of its assembled build, so edits hot-reload and its logs appear in your terminal. Anode()service can name its own dev command withnode({ dev: [...] }). Each dev server gets the same environment a deployment would, on its own port.New:
prisma deploy listIt lists every node an app has deployed on a stage, with its address, kind, platform ID and URL. Without
--stageit lists production, and--jsongives the same rows for scripts. It needs theprismarelease that bundles 0.35.0.Agent: victoria-52
🤖 Generated with Claude Code