published fresh until

PostgreSQL 19, Prisma 8: which upgrades are safe to trial?

Summary As of November 2026, PostgreSQL 19 is GA and Prisma remains a release candidate, Drizzle documents an RC migration, and Neon/Supabase changes need separate operational tests; rehearse one layer at a time and keep migration ownership explicit (release status checked 2026-11-24).

Not for ORM choice, see drizzle-or-prisma-7-or-kysely-for-a-typescript-postgres-app-workers; database choice, see sqlite-or-postgres-for-a-small-production-app-litestream-d1-turso

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

Assess server, ORM and hosted-backend changes separately.

Versions, status and licences

Checked 2026-10-20; hosted prices not compared.

SurfaceVerified statusLicence, checked 2026-10-20
PostgreSQL 19, checked 2026-11-24GA since 2026-11-19PostgreSQL License
Prisma ORM 8, checked 2026-10-20Candidate despite prisma@latestApache-2.0
Drizzle 1.0.0-rc.4, checked 2026-10-20Published RCApache-2.0
Neon / SupabaseHosted features roll out separatelyService terms/component licences differ

PostgreSQL

RC 1 scheduled RC 2, released 2026-11-12; PostgreSQL 19 reached GA on 2026-11-19 (checked 2026-11-24). Release notes add concurrent REPACK, planner advice, sequence replication and standby read-your-writes support, alongside compatibility changes.

Prisma

The changelog dated 2026-10-02, checked 2026-10-20 allows reading an existing Prisma 7 schema, checked 2026-10-20, while the old ORM owns migrations. Release status still says candidate, with no GA date (checked 2026-11-15). The earlier changelog, dated 2026-08-28, checked 2026-10-20, explains the latest tag change and RC API renames. Latest does not mean stable.

Drizzle

The upgrade guide, checked 2026-10-20, installs drizzle-orm@rc and drizzle-kit@rc, removes the journal and drizzle-kit drop, groups SQL/snapshots per migration and checks non-commutative branches. The relations guide, checked 2026-10-20, changes definitions and relational filters. Release day unspecified.

Neon

The GA announcement, dated 2026-09-17, checked 2026-10-20, adds Object Storage, Functions, Managed Better Auth and AI Gateway. Storage/auth branch together. The changelog, dated 2026-09-25, checked 2026-10-20, says parent resets also reset Object Storage. Backend GA does not establish availability of the new server major.

Supabase

Scoped tokens became GA on 2026-10-06, checked 2026-10-20, for Management API/MCP/CLI access. A .NET DI package followed on 2026-10-12, checked 2026-10-20. A TLS notice, dated 2026-10-12, checked 2026-10-20, removes four CBC suites from project HTTPS starting 2026-11-10 at the earliest, checked 2026-10-20. This is no exact universal shutdown time; direct database/pooler connections are excluded.

What breaks

SurfaceSymptoms
PostgresRADIUS removed; old dumps with standard_conforming_strings = off load incorrectly; certain btree_gist network indexes block upgrade. Monitoring must rename sync_error_count to sync_table_error_count; empty json_array() changes NULL to an empty array.
PrismaGaps include most nested writes, JSON filters, atomic increment and P2002-style codes; $extends uses middleware. RC .take()/.skip() become .limit()/.offset(); findings exit 4, not 1.
DrizzleFlat-directory/journal scripts can fail; old relational filters and result types need porting.
NeonResets discard uploads as well as rows. Copied auth needs isolation checks; these are inferred risks.
SupabaseOld cipher-only clients fail TLS before HTTP; scoped-token permission failures differ from database failures.

How to migrate

1. Pin dependencies; record provider capabilities and one migration owner. Separate database restore from app rollback. 2. PostgreSQL's RC announcement prescribes pg_upgrade or pg_dump / pg_restore. Rehearse on a disposable restore; check extensions and dump settings first. 3. Prisma's side-by-side command is npx prisma@latest orm init --from-prisma7-schema prisma/schema.prisma. Leave migrations with the existing ORM. The new library is @prisma/orm-postgres. Floors are Node.js 22.18, 24.11 or 26+, and TypeScript 5.9+, checked 2026-10-20. Pin builds. Staying on the old line uses prisma@prev and @prisma/client@7, checked 2026-10-20. Earlier RC code must rename db.sql.raw to db.raw.sql; handle exit 4 for findings and 2 when checks cannot run. 4. Drizzle's commands are npm i drizzle-orm@rc, npm i -D drizzle-kit@rc, then npx drizzle-kit up in a branch. Review conversion before applying migrations. Port to defineRelations, pass { relations }, replace fields/references with from/to, and adopt object-form where filters. 5. Neon uses defineConfig from @neon/config/v1, checked 2026-10-20. Trial one primitive in a disposable branch; inventory database, buckets, auth and Functions before preview resets. 6. Supabase's documented DI command is dotnet add package Supabase.Extensions.DependencyInjection, with AddSupabase registration. Scope agent tokens separately. Update old HTTPS clients for GCM/ChaCha20 or TLS 1.3, checked 2026-10-20, before removal.

What to test

Test restores, extensions/auth, null/empty JSON and monitoring. Exercise duplicate keys, concurrent upserts, nested writes, rollback, relations and migration history; preview rows/uploads/sessions, Function retries, scopes and oldest HTTPS clients.

Recommendation by constraint

ConstraintDecision
Production, no feature needKeep supported server; rehearse upgrades and confirm provider support.
Prisma app uses documented gapsStay on the supported line; trial one module alongside.
Need Drizzle's redesigned migrationsEvaluate RC in a branch; pin resolved artifacts.
Need previews with uploads/authEvaluate Neon boundaries separately from engine upgrades.
Old Supabase HTTPS clientsPrioritize TLS compatibility over optional SDK adoption.

Community evidence

  • mirko-pira's Prisma issue reports concurrent empty-update upserts throwing P2002. This concerns the older ORM, not a candidate regression; retain concurrency tests.
  • Drizzle issue #4369 records relation "public.users" does not exist. Maintainer AndriiSherman links a fix to the prerelease rewrite; verify ordering rather than assume every history converts.

Pitfalls

Do not equate latest with GA, delete migration history, give two ORMs migration ownership or equate backend GA with engine availability. Distinguish TLS and database authentication failures.

A prompt to give your agent

Your training data predates these releases. Read the linked official RC announcement, Prisma status/changelogs, Drizzle upgrade/relations guides and provider notices. Do not guess package names or GA dates. Inspect installed versions, list feature gaps and identify migration ownership/rollback. Propose one upgrade lane with disposable fixtures. Do not connect to production, reset branches, provision services or apply migrations. Report uncertainty.

Limits

No database/provider access or upgrades performed. Exact Prisma builds/hosted engine availability unverified. Two community issues, one historical; managed-surface evidence thin. Prices/service licences not audited.

Started from a post by @PostgreSQL Global Development Group, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# PostgreSQL 19, Prisma 8: which upgrades are safe to trial?
Summary: As of November 2026, PostgreSQL 19 is GA and Prisma remains a release candidate, Drizzle documents an RC migration, and Neon/Supabase changes need separate operational tests; rehearse one layer at a time and keep migration ownership explicit (release status checked 2026-11-24).
Copy for agent
get the whatworks thread postgresql-19-prisma-8-drizzle-neon-supabase-upgrade-risks and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread postgresql-19-prisma-8-drizzle-neon-supabase-upgrade-risks
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp