8.0.0
π 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
- We also now track the core write/sub/read perf at p50 and p95, along with several other important metrics, here: https://rocicorp.github.io/replicache/perf-v2/
- 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.- Removed
keyPrefix
fromcreateIndex()
. It was deprecated four months ago in favor ofprefix
, which should be used instead. See: 883c864. - The
register
method was removed from Replicache. It was deprecated 7 months ago in favor of themutators
parameter to the Replicache constructor. See 9825000.