loro-crdt 1.16.0 → 1.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/base64/index.js +30 -30
- package/browser/index.js +13 -13
- package/browser/loro_wasm.js +39 -39
- package/browser/loro_wasm_bg.js +17 -17
- package/browser/loro_wasm_bg.wasm +0 -0
- package/bundler/index.js +13 -13
- package/bundler/loro_wasm_bg.js +17 -17
- package/bundler/loro_wasm_bg.wasm +0 -0
- package/nodejs/loro_wasm.js +17 -17
- package/nodejs/loro_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/web/loro_wasm.js +16 -16
- package/web/loro_wasm_bg.wasm +0 -0
- /package/browser/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-ea73061980d3ad2c}/inline0.js +0 -0
- /package/bundler/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-ea73061980d3ad2c}/inline0.js +0 -0
- /package/nodejs/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-ea73061980d3ad2c}/inline0.js +0 -0
- /package/web/snippets/{loro-wasm-0dc0eaeaf03de4ab → loro-wasm-ea73061980d3ad2c}/inline0.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.16.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d9ddfba: Make repeated concurrent imports fast: retreat the replay base to the latest
|
|
8
|
+
multi-head critical version instead of the single-head one (which is stuck at
|
|
9
|
+
the initial fork point on criss-cross sync DAGs), and let the text/list diff
|
|
10
|
+
calculators trust a certified-critical base instead of rebuilding their
|
|
11
|
+
trackers from the whole history on every concurrent import.
|
|
12
|
+
- 80a0e88: Make imports that are concurrent with the current version only on map/counter
|
|
13
|
+
containers as fast as ordinary linear imports.
|
|
14
|
+
|
|
15
|
+
Previously any concurrency between the new ops and the current version
|
|
16
|
+
(for example a single unmerged head from another peer) forced every later
|
|
17
|
+
import to retreat to a critical version and replay the whole branch, and the
|
|
18
|
+
map diff scanned every key of every touched map. Per-import cost grew with
|
|
19
|
+
both the branch length and the map size: 400 small imports on a 2000-note doc
|
|
20
|
+
with one stale head took ~2.4s natively; they now take ~70ms, flat per import
|
|
21
|
+
(a linear import of the same chain takes ~50ms).
|
|
22
|
+
|
|
23
|
+
The oplog now proves, per container, whether the concurrent old history
|
|
24
|
+
touches anything that needs positional context. When it only touches registers
|
|
25
|
+
the import replays from the current version; the affected maps are still
|
|
26
|
+
resolved from history so persisted state that drops tombstones (deleted roots,
|
|
27
|
+
dead containers) cannot influence the result. Map diffs in the conservative
|
|
28
|
+
path are also restricted to the keys the update touched.
|
|
29
|
+
|
|
30
|
+
- d9ddfba: Fix the richtext diff calculator's style table growing a duplicate entry for
|
|
31
|
+
every re-replayed style op (e.g. checkout walks after a retreat).
|
|
32
|
+
|
|
3
33
|
## 1.16.0
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|