Zero 1.2
IVM Performance and Bug Fixes
Installation
npm install @rocicorp/zero@1.2Features
- Replica metrics: Added new
replicametrics group to otel, withdb_size,wal_size, andbackup_lagmetrics.
Performance
Optimizations which improve query performance 10–30% in benchmarks:
- Added fast-path to compare-utf8 for BMP-only strings (thanks @Karavil!)
- Replaced closure-based BTree iterators with class instances (thanks @Karavil!)
- Eliminated per-call object allocations in binary search
- Reuse comparators instead of allocating closures
Fixes
- Fix timestamp handling for BC dates and years outside 0-9999
- Fix crash with fractional timestamp values in queries
- Fix "Constraint should match partition key" error`
- Fix custom push URL not being used for
_zero_cleanupResults - Fix "unknown table" error when adding
related()to existing query - Downgrade TTL clock update failure to warning
- Bump litestream to v0.0.9 with S3 retry fixes
Breaking Changes
None.