Zero 1.4

Performance and Reliability Improvements

Installation

npm install @rocicorp/zero@1.4

Features

  • Kysely Adapter: Added zeroKysely, so Zero server mutators can run against a Kysely transaction.
  • Analyze Query Library: Added @rocicorp/zero/analyze, for easier CLI-based query analysis.
  • Shadow Sync: zero-cache can now periodically test initial sync in the background, to catch schema drift and full-resync failures earlier.
  • Client Log Sink: Added a logSink param to Zero constructor for redirecting Zero client logs.
  • Cloud Zero Ad 🙃: Added a small notice about Cloud Zero in the zero-cache-dev startup output. Disable with ZERO_ENABLE_STARTUP_MESSAGE=0.

Performance

Fixes

Breaking Changes

None.