Skip to content

chore(release): bump to 8.0.0-rc.9 - #30239

Merged
SevInf merged 5 commits into
mainfrom
release/8.0.0-rc.9
Sep 9, 2026
Merged

SevInf merged 5 commits into
mainfrom
release/8.0.0-rc.9

Conversation

@StevenMcClankerton

@StevenMcClankerton StevenMcClankerton commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Linked issue

n/a — routine RC release.

Summary

Prepare 8.0.0-rc.8 → 8.0.0-rc.9, keeping workspace versions, internal dependency specifiers, and the shipped prisma-8 skill version in lockstep. The curated release notes are mirrored in CHANGELOG.md.

See the versioning policy. Merging this PR ships the release: Publish to npm publishes 8.0.0-rc.9 under latest, creates a matching GitHub pre-release using the committed notes, and then publishes the new base's dev build under dev.

Testing performed

  • Validated all 113 bump files: only package versions, internal workspace specifiers, and the shipped skill version stamp changed; no external resolution churn.
  • pnpm install --lockfile-only --frozen-lockfile --ignore-scripts
  • pnpm lint:skills
  • pnpm check:upgrade-coverage --mode pr
  • pnpm check:upgrade-coverage --mode publish
  • pnpm check:release-notes --mode pr
  • pnpm check:release-notes --mode publish
  • git diff --check
  • pnpm build — 85 tasks passed.
  • pnpm fixtures:check — passed after regenerating eight Supabase contract fixtures to record rc.9.
  • No implementation changes; test suites are left to CI.

Skill update

The release script stamps skills/prisma-8/SKILL.md with library_version: '8.0.0-rc.9'. No new behavior is introduced by the release preparation itself.

Checklist

  • All commits are signed off (git commit -s).
  • Read CONTRIBUTING.md; scoped to one release.
  • Generated contract fixtures refreshed and verified; no implementation behavior changes.
  • Title follows the release-specific chore(release): bump to <version> convention.
  • Skill update described above.

Notes for the reviewer

Review the release notes for user-facing changes since v8.0.0-rc.8, especially migration requirements. The version bump and release notes are separate commits. This PR is not auto-merged; merge is the human approval gate for publishing.

Summary by CodeRabbit

  • New Features

    • Added reusable SQL filtering capabilities, including composable predicates.
    • Added PostgreSQL numeric-enum validation constraints.
    • Added upgrade guidance for re-emitting Supabase extension contracts.
  • Bug Fixes

    • Improved attribute diagnostics, enum ordering, numeric default comparisons, codec behavior, schema-validation messages, and naming consistency.
  • Breaking Changes

    • PostgreSQL text-backed enum ordering now follows stored values.
    • MongoDB uses native index values and rejects previously ignored attributes.
    • SQL ORM inputs enforce stricter relation-callback validation.
    • Language-server support requires an explicit schema directive.
    • Reusable SQL filter types now require a namespace argument.

@StevenMcClankerton
StevenMcClankerton requested a review from a team as a code owner September 9, 2026 16:05
@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Advanced

Run ID: e14a9488-32f1-4ff6-8bbc-1d33460f4999

📥 Commits

Reviewing files that changed from the base of the PR and between 22ad83a and 3a0d187.

📒 Files selected for processing (1)
  • skills/prisma-8/upgrading/app/upgrades/8.0.0-rc.8-to-8.0.0-rc.9/instructions.md

Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review.


📝 Walkthrough

Walkthrough

The release updates v8.0.0-rc.9 documentation, synchronizes workspace package versions and dependencies, updates generated Supabase contracts, and adds upgrade instructions.

Changes

v8.0.0-rc.9 release

Layer / File(s) Summary
Release documentation and upgrade metadata
CHANGELOG.md, docs/releases/v8.0.0-rc.9.md, skills/prisma-8/*
Documents breaking changes, features, fixes, the new library version, and the Supabase contract re-emission step.
Workspace version alignment
package.json, apps/*, examples/*, packages/*, test/*
Updates package versions and workspace dependency references from 8.0.0-rc.8 to 8.0.0-rc.9.
Generated contract alignment
examples/supabase/src/contract.*, packages/3-extensions/supabase/test/fixtures/*/contract.*
Updates Supabase extension version metadata in generated contract artifacts.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 3a0d1

This release aligns package versions, dependency references, release documentation, and regenerated Supabase contracts for 8.0.0-rc.9. No concrete current-head merge risk remains.

Suggested reviewers: aqrln

🚥 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 clearly and concisely describes the primary change: releasing version 8.0.0-rc.9.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 4…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/8.0.0-rc.9

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

@pkg-pr-new

pkg-pr-new Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-extension-arktype-json

npm i https://pkg.pr.new/@prisma/orm-extension-arktype-json@30239

@prisma/orm-extension-middleware-cache

npm i https://pkg.pr.new/@prisma/orm-extension-middleware-cache@30239

@prisma/orm-extension-paradedb

npm i https://pkg.pr.new/@prisma/orm-extension-paradedb@30239

@prisma/orm-extension-pgvector

npm i https://pkg.pr.new/@prisma/orm-extension-pgvector@30239

@prisma/orm-extension-postgis

npm i https://pkg.pr.new/@prisma/orm-extension-postgis@30239

@prisma/orm-extension-supabase

npm i https://pkg.pr.new/@prisma/orm-extension-supabase@30239

@prisma/orm-family-mongo

npm i https://pkg.pr.new/@prisma/orm-family-mongo@30239

@prisma/orm-family-sql

npm i https://pkg.pr.new/@prisma/orm-family-sql@30239

@prisma/orm-framework

npm i https://pkg.pr.new/@prisma/orm-framework@30239

@prisma/orm-mongo

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

@prisma/orm-postgres

npm i https://pkg.pr.new/@prisma/orm-postgres@30239

@prisma/orm-sqlite

npm i https://pkg.pr.new/@prisma/orm-sqlite@30239

@prisma/orm-target-mongo

npm i https://pkg.pr.new/@prisma/orm-target-mongo@30239

@prisma/orm-target-postgres

npm i https://pkg.pr.new/@prisma/orm-target-postgres@30239

@prisma/orm-target-sqlite

npm i https://pkg.pr.new/@prisma/orm-target-sqlite@30239

@prisma/orm-toolchain

npm i https://pkg.pr.new/@prisma/orm-toolchain@30239

commit: 3a0d187

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 180.17 KB (0%)
postgres / emit 153.72 KB (0%)
mongo / no-emit 106.41 KB (0%)
mongo / emit 90.95 KB (0%)
cf-worker / no-emit 204.57 KB (0%)
cf-worker / emit 175.13 KB (0%)

Comment thread docs/releases/v8.0.0-rc.9.md Resolved
Comment thread docs/releases/v8.0.0-rc.9.md Resolved
Comment thread docs/releases/v8.0.0-rc.9.md Resolved
Comment thread docs/releases/v8.0.0-rc.9.md Resolved
@SevInf
SevInf enabled auto-merge September 9, 2026 16:30
@SevInf
SevInf added this pull request to the merge queue Sep 9, 2026
Merged via the queue into main with commit f889eeb Sep 9, 2026
26 checks passed
@SevInf
SevInf deleted the release/8.0.0-rc.9 branch September 9, 2026 17:01
github-merge-queue Bot pushed a commit that referenced this pull request Sep 14, 2026
…ed contract artefacts (#30282)

## At a glance

What a release cut looks like after this PR, compared with rc.9 and
rc.10:

```text
before: pnpm bump-version                     → Fixtures job fails on 8 Supabase artefacts
        hand-edit 8 version stamps            → check:upgrade-coverage fails: no recipe entry
        hand-write a recipe entry             → green

after:  pnpm bump-version                     → green (the 8 stamps move with the bump)
```

## Why

The Supabase extension writes its own package version into every
contract it emits. The tracked example and fixture artefacts therefore
go stale on every bump, `fixtures:check` diffs them, and the coverage
check then insists the bump PR declare the "re-emit" in the upgrade
recipe. It is a version move, not a consumer-facing change, and both
rc.9 (#30239) and rc.10 (#30268) paid for it with an extra commit and a
CI round trip.

## What changes

- `scripts/set-version-utils.ts` gains `restampExtensionVersion`, which
moves only the `version` that directly follows an extension entry's
`targetId`, in both the JSON and the `.d.ts` shape, and leaves every
other `version` field alone. Tests cover both shapes, the no-op case,
and idempotence.
- `scripts/set-version.ts` reads the previous root version before
rewriting and applies the helper to every tracked `contract.json` /
`contract.d.ts` outside `migrations/snapshots/` (those are
content-addressed and must never change). A dry run against `main`
touches exactly the eight Supabase files, one line each, and nothing
else among the 531 tracked artefacts.
- `scripts/check-upgrade-coverage.mjs` treats an artefact whose only
difference is that stamp as translation-irrelevant, alongside the
existing version-only `package.json` and `$schema` cases. Two new tests:
a stamp-only sweep passes without a fresh declaration; an artefact whose
shape also changed still fails.
- The `publish-npm-version` skill's sanity-check step now expects the
restamp from the bump instead of describing the manual follow-up added
in #30271.

## Validation

- `node --test scripts/set-version-utils.test.ts`: 22 pass.
- `node --test scripts/check-upgrade-coverage.test.mjs`: 84 pass.
- `pnpm lint` and `pnpm lint:skills` pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Improvements**
- Contract artefacts now automatically receive updated extension version
stamps during release versioning.
- Unrelated version fields remain unchanged, and already-updated
artefacts are skipped.
- Release checks now distinguish version-only contract updates from
substantive contract changes.

- **Bug Fixes**
- Prevented version-only changes in generated contract files from
incorrectly triggering upgrade-coverage requirements.

- **Documentation**
- Updated release guidance to reflect automatic contract version updates
and streamlined validation steps.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants