loro-crdt 1.13.7 → 1.13.8
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 +21 -0
- package/base64/index.js +76 -76
- package/base64/loro_wasm.d.ts +19 -19
- package/browser/index.js +4 -4
- package/browser/loro_wasm.d.ts +19 -19
- package/browser/loro_wasm.js +12 -12
- package/browser/loro_wasm_bg.js +71 -71
- package/browser/loro_wasm_bg.wasm +0 -0
- package/browser/loro_wasm_bg.wasm.d.ts +2 -2
- package/bundler/index.js +4 -4
- package/bundler/loro_wasm.d.ts +19 -19
- package/bundler/loro_wasm_bg.js +71 -71
- package/bundler/loro_wasm_bg.wasm +0 -0
- package/bundler/loro_wasm_bg.wasm.d.ts +2 -2
- package/nodejs/loro_wasm.d.ts +19 -19
- package/nodejs/loro_wasm.js +71 -71
- package/nodejs/loro_wasm_bg.wasm +0 -0
- package/nodejs/loro_wasm_bg.wasm.d.ts +2 -2
- package/package.json +3 -2
- package/web/loro_wasm.d.ts +21 -21
- package/web/loro_wasm.js +70 -70
- package/web/loro_wasm_bg.wasm +0 -0
- package/web/loro_wasm_bg.wasm.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.13.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ac1feb6: Reduce peak memory across large snapshot import, `toJSON`, update import, and
|
|
8
|
+
snapshot export by preserving lazy state, bounding the decompressed SSTable
|
|
9
|
+
block cache by bytes, and preallocating the snapshot output exactly. Snapshot
|
|
10
|
+
import now validates every embedded SSTable block checksum before accepting
|
|
11
|
+
external bytes.
|
|
12
|
+
|
|
13
|
+
Full snapshot export no longer walks the alive-container graph: store entries
|
|
14
|
+
for referenced containers are created when the creating op or imported diff is
|
|
15
|
+
applied, so a cold export after a large import is a flush plus KV export
|
|
16
|
+
instead of re-reading every container from compressed blocks. As part of this,
|
|
17
|
+
full export round-trips imported state bytes faithfully (inconsistent
|
|
18
|
+
alive-container parent metadata is now rejected by shallow export, which still
|
|
19
|
+
walks, rather than by full export), and an ensured-but-empty mergeable child is
|
|
20
|
+
no longer materialized into the KV store by a full export — importers resolve
|
|
21
|
+
it from its parent map marker. First `toJSON` after import also avoids decoding
|
|
22
|
+
each lazy container twice.
|
|
23
|
+
|
|
3
24
|
## 1.13.7
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|