Zero 1.6

PlanetScale Failover Support

Installation

npm install @rocicorp/zero@1.6

Upgrading

PlanetScale 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 register the full range of slots in PlanetScale's failover configuration, then do a resync. See High Availability and Failover for the full setup.

Features

Performance

Fixes

Breaking Changes

None.