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 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