Zero 1.6

Postgres 17 Replication Failover and Performance

Installation

npm install @rocicorp/zero@1.6

Upgrading

PlanetScale Replication Failover

Previous Zero versions lost replication slots after a PlanetScale Postgres failover, forcing resync. Zero 1.6 fixes this problem. To enable support, run zero-cache with ZERO_UPSTREAM_PG_REPLICATION_SLOT_FAILOVER=true. You must then do a resync, and register the full range of slots in PlanetScale's failover configuration. See High Availability and Failover for the full setup.

Features

Performance

Fixes

Breaking Changes

None.