8.0 beta 0
This beta release does not yet upgrade stored data from 7.0. This will be addressed before 8.0 stable.
🎁 Features
- Our internal map data structure is now implemented using a B+ Tree, which improves performance throughout, but especially on the core write/sub/read loop which improves 13x (😂) in this release at 4MB cache size. Populate takes a hit, but we plan to fix that before the real 8.0. #596
- Expose
clientID
onReadTransaction
andWriteTransaction
. This is convenient for multiplayer applications. #541. - We now expose the
PushRequest
,PushResponse
,PullRequest
, andPullResponse
TypeScript types for convenience when implementing servers. #459.
🔨 Fixes
- There was a significant perf issues during pull where indexes were incorrectly recomputed. This has been resolved. #601.
🚨 Breaking Changes
Replicache
no longer implementsReadTransaction
. This is very minor and you'd be unlikely to notice it, but it is technically a breaking change. If you were assigning an instance ofReplicache
to a variable of typeReadTransaction
, this no longer works. The actual API exposed byReplicache
is unchanged. See: ba39583.