Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

Bump to version 0.12.0 - #686

Merged
wmadden merged 3 commits into
mainfrom
release/0.12.0
Jun 2, 2026
Merged

wmadden merged 3 commits into
mainfrom
release/0.12.0

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Cuts the next stable minor: 0.11.0 → 0.12.0.

What this PR does

  • Bumps the root package.json version to 0.12.0 and propagates it in lockstep to every workspace package (workspace:0.11.0 → workspace:0.12.0), with pnpm-lock.yaml refreshed to match.
  • Commits the curated release notes for this version: docs/releases/v0.12.0.md (+ a mirrored CHANGELOG.md entry), authored automatically by the new draft-release-notes skill from the 78 merged PRs in v0.11.0..HEAD.

Review surface

docs/releases/v0.12.0.md is the human-review surface — its contents become the GitHub Release body verbatim (gh release create --notes-file). Please review it as the substance of this PR: 11 breaking changes (namespaces public-by-default + symmetric domain plane + explicit cross-namespace references, version-support floors incl. Node ≥24, capabilities removed from defineContract, verifyMarker, closed Mongo validators, migration-manifest labels/hints removal, mongodb peer dep, .distinct collapse, CipherStash extension extraction), 9 features, 6 fixes, 2 new contributors. Breaking entries link tag-pinned 0.11-to-0.12 upgrade recipes where one exists.

The notes were triaged from the full range (78 PRs → 26 surfaced, 52 internal/CI/test/docs/deps/methodology PRs dropped). If any judgment call looks wrong (over- or under-disclosed), edit docs/releases/v0.12.0.md directly on this branch before merging.

Merging this PR ships the release

The merge is the publish trigger. The resulting push to main carries the bumped root version; the Publish to npm workflow detects the change, publishes 0.12.0 under dist-tag latest, and creates a matching GitHub Release whose body is the committed docs/releases/v0.12.0.md. There is no separate dispatch step.

See docs/oss/versioning.md for the full release contract.

Summary by CodeRabbit

  • Chores

    • Released v0.12.0 and bumped internal package versions across the repo and examples.
  • Documentation

    • Added full v0.12.0 release notes and introduced a newest-first rolling changelog starting at v0.12.0.
  • Breaking Changes

    • Postgres default namespace is now public; contract domain/namespace references are explicit.
    • MongoDB validators are closed by default and mongodb is a peer dependency.
    • SQL .distinct() semantics and runtime marker verification changed.
    • Removed the in-repo CipherStash extension.
  • New Features

    • Query builder, migration, rollback, aggregation, and Mongo parameter improvements.
  • Bug Fixes

    • Index handling, referential action, and migration/update fixes.

@wmadden-electric
wmadden-electric requested a review from a team as a code owner June 2, 2026 07:53
@coderabbitai

coderabbitai Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Adds v0.12.0 release notes (CHANGELOG.md and docs/releases/v0.12.0.md) and updates package versions and all workspace-scoped @prisma-next/* dependency pins across the monorepo from 0.11.0 → 0.12.0.

Changes

v0.12.0 Release

Layer / File(s) Summary
Release documentation
CHANGELOG.md, docs/releases/v0.12.0.md
Adds the v0.12.0 changelog and full release notes covering breaking changes, features, fixes, and new contributors.
Monorepo workspace version alignment
package.json, packages/*/*/package.json, examples/*/package.json, apps/*/package.json, test/*/package.json
Bumps root and package manifest version fields to 0.12.0 and updates workspace @prisma-next/* pins from workspace:0.11.0 → workspace:0.12.0 across examples, packages, apps, and tests.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • aqrln

Poem

"I'm a rabbit, nose aglow,\
Hopping through packages, row by row.\
Versions lifted, changelog bright,\
We hop into v0.12.0 tonight! 🐇"

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Bump to version 0.12.0' directly and clearly describes the main objective of the changeset—a version bump across the entire monorepo from 0.11.0 to 0.12.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.12.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new

pkg-pr-new Bot commented Jun 2, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@prisma-next/extension-author-tools

npm i https://pkg.pr.new/@prisma-next/extension-author-tools@686

@prisma-next/mongo-runtime

npm i https://pkg.pr.new/@prisma-next/mongo-runtime@686

@prisma-next/family-mongo

npm i https://pkg.pr.new/@prisma-next/family-mongo@686

@prisma-next/sql-runtime

npm i https://pkg.pr.new/@prisma-next/sql-runtime@686

@prisma-next/family-sql

npm i https://pkg.pr.new/@prisma-next/family-sql@686

@prisma-next/extension-arktype-json

npm i https://pkg.pr.new/@prisma-next/extension-arktype-json@686

@prisma-next/middleware-cache

npm i https://pkg.pr.new/@prisma-next/middleware-cache@686

@prisma-next/mongo

npm i https://pkg.pr.new/@prisma-next/mongo@686

@prisma-next/extension-paradedb

npm i https://pkg.pr.new/@prisma-next/extension-paradedb@686

@prisma-next/extension-pgvector

npm i https://pkg.pr.new/@prisma-next/extension-pgvector@686

@prisma-next/extension-postgis

npm i https://pkg.pr.new/@prisma-next/extension-postgis@686

@prisma-next/postgres

npm i https://pkg.pr.new/@prisma-next/postgres@686

@prisma-next/sql-orm-client

npm i https://pkg.pr.new/@prisma-next/sql-orm-client@686

@prisma-next/sqlite

npm i https://pkg.pr.new/@prisma-next/sqlite@686

@prisma-next/target-mongo

npm i https://pkg.pr.new/@prisma-next/target-mongo@686

@prisma-next/adapter-mongo

npm i https://pkg.pr.new/@prisma-next/adapter-mongo@686

@prisma-next/driver-mongo

npm i https://pkg.pr.new/@prisma-next/driver-mongo@686

@prisma-next/contract

npm i https://pkg.pr.new/@prisma-next/contract@686

@prisma-next/utils

npm i https://pkg.pr.new/@prisma-next/utils@686

@prisma-next/config

npm i https://pkg.pr.new/@prisma-next/config@686

@prisma-next/errors

npm i https://pkg.pr.new/@prisma-next/errors@686

@prisma-next/framework-components

npm i https://pkg.pr.new/@prisma-next/framework-components@686

@prisma-next/operations

npm i https://pkg.pr.new/@prisma-next/operations@686

@prisma-next/ts-render

npm i https://pkg.pr.new/@prisma-next/ts-render@686

@prisma-next/contract-authoring

npm i https://pkg.pr.new/@prisma-next/contract-authoring@686

@prisma-next/ids

npm i https://pkg.pr.new/@prisma-next/ids@686

@prisma-next/psl-parser

npm i https://pkg.pr.new/@prisma-next/psl-parser@686

@prisma-next/psl-printer

npm i https://pkg.pr.new/@prisma-next/psl-printer@686

@prisma-next/cli

npm i https://pkg.pr.new/@prisma-next/cli@686

@prisma-next/cli-telemetry

npm i https://pkg.pr.new/@prisma-next/cli-telemetry@686

@prisma-next/emitter

npm i https://pkg.pr.new/@prisma-next/emitter@686

@prisma-next/migration-tools

npm i https://pkg.pr.new/@prisma-next/migration-tools@686

prisma-next

npm i https://pkg.pr.new/prisma-next@686

@prisma-next/vite-plugin-contract-emit

npm i https://pkg.pr.new/@prisma-next/vite-plugin-contract-emit@686

@prisma-next/mongo-codec

npm i https://pkg.pr.new/@prisma-next/mongo-codec@686

@prisma-next/mongo-contract

npm i https://pkg.pr.new/@prisma-next/mongo-contract@686

@prisma-next/mongo-value

npm i https://pkg.pr.new/@prisma-next/mongo-value@686

@prisma-next/mongo-contract-psl

npm i https://pkg.pr.new/@prisma-next/mongo-contract-psl@686

@prisma-next/mongo-contract-ts

npm i https://pkg.pr.new/@prisma-next/mongo-contract-ts@686

@prisma-next/mongo-emitter

npm i https://pkg.pr.new/@prisma-next/mongo-emitter@686

@prisma-next/mongo-schema-ir

npm i https://pkg.pr.new/@prisma-next/mongo-schema-ir@686

@prisma-next/mongo-query-ast

npm i https://pkg.pr.new/@prisma-next/mongo-query-ast@686

@prisma-next/mongo-orm

npm i https://pkg.pr.new/@prisma-next/mongo-orm@686

@prisma-next/mongo-query-builder

npm i https://pkg.pr.new/@prisma-next/mongo-query-builder@686

@prisma-next/mongo-lowering

npm i https://pkg.pr.new/@prisma-next/mongo-lowering@686

@prisma-next/mongo-wire

npm i https://pkg.pr.new/@prisma-next/mongo-wire@686

@prisma-next/sql-contract

npm i https://pkg.pr.new/@prisma-next/sql-contract@686

@prisma-next/sql-errors

npm i https://pkg.pr.new/@prisma-next/sql-errors@686

@prisma-next/sql-operations

npm i https://pkg.pr.new/@prisma-next/sql-operations@686

@prisma-next/sql-schema-ir

npm i https://pkg.pr.new/@prisma-next/sql-schema-ir@686

@prisma-next/sql-contract-psl

npm i https://pkg.pr.new/@prisma-next/sql-contract-psl@686

@prisma-next/sql-contract-ts

npm i https://pkg.pr.new/@prisma-next/sql-contract-ts@686

@prisma-next/sql-contract-emitter

npm i https://pkg.pr.new/@prisma-next/sql-contract-emitter@686

@prisma-next/sql-lane-query-builder

npm i https://pkg.pr.new/@prisma-next/sql-lane-query-builder@686

@prisma-next/sql-relational-core

npm i https://pkg.pr.new/@prisma-next/sql-relational-core@686

@prisma-next/sql-builder

npm i https://pkg.pr.new/@prisma-next/sql-builder@686

@prisma-next/target-postgres

npm i https://pkg.pr.new/@prisma-next/target-postgres@686

@prisma-next/target-sqlite

npm i https://pkg.pr.new/@prisma-next/target-sqlite@686

@prisma-next/adapter-postgres

npm i https://pkg.pr.new/@prisma-next/adapter-postgres@686

@prisma-next/adapter-sqlite

npm i https://pkg.pr.new/@prisma-next/adapter-sqlite@686

@prisma-next/driver-postgres

npm i https://pkg.pr.new/@prisma-next/driver-postgres@686

@prisma-next/driver-sqlite

npm i https://pkg.pr.new/@prisma-next/driver-sqlite@686

commit: 27032b6

@github-actions

github-actions Bot commented Jun 2, 2026 •

Copy link
Copy Markdown

size-limit report 📦

Path Size
postgres / no-emit 135.93 KB (0%)
postgres / emit 125.59 KB (0%)
mongo / no-emit 75.69 KB (+0.01% 🔺)
mongo / emit 70.68 KB (0%)

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/releases/v0.12.0.md`:
- Line 123: Replace the misspelled word "applyable" in the migration rollback
bullet that currently reads "reverse edges are now plannable and applyable via
`--to`" with "applicable" (or rewrite as "can be applied via `--to`") and make
the identical correction in the corresponding entry in CHANGELOG.md so both
release-note bodies match exactly; ensure the PR reference "[`#635`]" and the
surrounding sentence remain unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: ee061b5f-277e-4c50-af87-2c883d7651ff

📥 Commits

Reviewing files that changed from the base of the PR and between 13b3edb and 27032b6.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • docs/releases/v0.12.0.md

Comment thread docs/releases/v0.12.0.md
- Raw SQL in the typed query builder (`rawSql`) for Postgres and SQLite, so escape-hatch expressions compose with the rest of the builder. ([#594](https://github.com/prisma/prisma-next/pull/594))
- `migration list` rewritten to show the complete migration set, ref/graph context, and multi-space output instead of only the migrations along a single chain. ([#603](https://github.com/prisma/prisma-next/pull/603))
- `migration graph --tree` renders a condensed annotated-tree view of the migration topology. ([#658](https://github.com/prisma/prisma-next/pull/658))
- Roll back migrations without editing contract source: reverse edges are now plannable and applyable via `--to`. ([#635](https://github.com/prisma/prisma-next/pull/635))

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.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix spelling in migration rollback bullet (applyable → applicable).

Please update this word to “applicable” (or “can be applied”) and mirror the same correction in CHANGELOG.md to keep both release-note bodies identical.

🧰 Tools
🪛 LanguageTool

[grammar] ~123-~123: Ensure spelling is correct
Context: ...ce: reverse edges are now plannable and applyable via --to. ([#635](https://github.com/...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/releases/v0.12.0.md` at line 123, Replace the misspelled word
"applyable" in the migration rollback bullet that currently reads "reverse edges
are now plannable and applyable via `--to`" with "applicable" (or rewrite as
"can be applied via `--to`") and make the identical correction in the
corresponding entry in CHANGELOG.md so both release-note bodies match exactly;
ensure the PR reference "[`#635`]" and the surrounding sentence remain unchanged.

wmadden added a commit that referenced this pull request Jun 2, 2026
…ute ref links

Two improvements surfaced by dogfooding the skill on the v0.12.0 cut:

- Add a step instructing the agent to nest a compact before/after code
  example under code-visible breaking entries, sourced from the matching
  upgrade recipe and leading with PSL on the authoring surface. Prose
  alone makes the reader picture the impact; a snippet shows it.
- Require absolute markdown links for PR refs and contributor handles
  (`[#NNN](.../pull/NNN)`, `[@handle](https://github.com/handle)`) instead
  of bare `#NNN` / `@handle`. Bare refs only autolink in the published
  Release body, not when the committed notes file is read as a repo file
  or in PR review — the same fragility already rejected for recipe links.

Mirror both into the docs/releases/README.md convention + template, and
bump the template fences to four backticks so the nested example fences
render. The v0.12.0 notes were already fixed on the release branch (#686).

Refs: TML-2788
Signed-off-by: Will Madden <[email protected]>
@wmadden
wmadden merged commit 5939b8b into main Jun 2, 2026
20 checks passed
@wmadden
wmadden deleted the release/0.12.0 branch June 2, 2026 09:53
@coderabbitai coderabbitai Bot mentioned this pull request Jun 9, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Jun 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants