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
clientIDonReadTransactionandWriteTransaction. This is convenient for multiplayer applications. #541. - We now expose the
PushRequest,PushResponse,PullRequest, andPullResponseTypeScript 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
Replicacheno 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 ofReplicacheto a variable of typeReadTransaction, this no longer works. The actual API exposed byReplicacheis unchanged. See: ba39583.- Removed
keyPrefixfromcreateIndex(). It was deprecated four months ago in favor ofprefix, which should be used instead. See: 883c864. - The
registermethod was removed from Replicache. It was deprecated 7 months ago in favor of themutatorsparameter to the Replicache constructor. See 9825000.