Zero 0.4
Compound Filters
Install
npm install @rocicorp/zero@0.4
Breaking changes
The or
changes modified the client/server protocol. You’ll need to restart zero-cache and clear browser data after updating.
Added or
, and
, and not
to ZQL (documentation).
- Added
query.run()
method (documentation).
Fixes
- Use
batch()
method in zero-solid to improve performance when multiple updates happen in same frame. To take advantage of this you must use thecreateZero
helper from@rocicorp/zero/solid
, instead of instantiating Zero directly. See the solid sample app. - Postgres tables that were reserved words in SQLite but not Postgres caused crash during replication.
LIKE
was not matching correctly in the case of multiline subjects.- Upstream database and zero database can now be same Postgres db (don’t need separate ports).
Docs
nothing notable
zbugs
- Use
or
to run text search over both titles and bodies - prevent j/k in emoji
- preload emojis