Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

New in Payload: Postgres Fixes, Relationship Cleanup, and Dependency Updates

New in Payload: Release v3.94.1
New in Payload: Release v3.94.1

Payload 3.94.1 fixes Postgres connection handling, cleans up orphaned relationship rows, and removes a vulnerable dependency, alongside fixes for long database identifiers and Cloudflare D1.

Highlights

This release focuses on database reliability. Postgres now releases the client checked out during connection setup, fixing a connection leak that could prevent shutdown from completing. Drizzle also removes orphaned relationship rows when arrays or blocks lists are shortened.

Also in this release:

  • Postgres: fixes handling of index and foreign key names that exceed the database’s 63-character limit.
  • Cloudflare D1: registers the missing findDistinct method on the SQLite D1 adapter.
  • Dependencies: removes the vulnerable deepmerge dependency.

Before you upgrade

For existing Postgres databases with affected long identifiers, the naming fix causes a one-time drop and recreation of those indexes and foreign keys. Tables and columns retain their names. Review the database naming change when preparing your upgrade.

As always, you can review the complete changelog on GitHub.