Skip to content

Commit d5da57d

Browse files
github-actions[bot]zxch3n
authored andcommitted
chore: version packages
1 parent d9ddfba commit d5da57d

8 files changed

Lines changed: 55 additions & 40 deletions

File tree

.changeset/multi-head-critical-replay-base.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/register-only-concurrency-import.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

.changeset/richtext-style-table-duplicates.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

crates/loro-wasm-map/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# loro-crdt-map
22

3+
## 1.16.1
4+
5+
### Patch Changes
6+
7+
- 80a0e88: Make imports that are concurrent with the current version only on map/counter
8+
containers as fast as ordinary linear imports.
9+
10+
Previously any concurrency between the new ops and the current version
11+
(for example a single unmerged head from another peer) forced every later
12+
import to retreat to a critical version and replay the whole branch, and the
13+
map diff scanned every key of every touched map. Per-import cost grew with
14+
both the branch length and the map size: 400 small imports on a 2000-note doc
15+
with one stale head took ~2.4s natively; they now take ~70ms, flat per import
16+
(a linear import of the same chain takes ~50ms).
17+
18+
The oplog now proves, per container, whether the concurrent old history
19+
touches anything that needs positional context. When it only touches registers
20+
the import replays from the current version; the affected maps are still
21+
resolved from history so persisted state that drops tombstones (deleted roots,
22+
dead containers) cannot influence the result. Map diffs in the conservative
23+
path are also restricted to the keys the update touched.
24+
325
## 1.16.0
426

527
### Patch Changes

crates/loro-wasm-map/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "loro-crdt-map",
3-
"version": "1.16.0",
3+
"version": "1.16.1",
44
"description": "Source maps for the loro-crdt WebAssembly bundles.",
55
"repository": {
66
"type": "git",

crates/loro-wasm/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Changelog
22

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+
333
## 1.16.0
434

535
### Minor Changes

crates/loro-wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "loro-wasm"
3-
version = "1.16.0"
3+
version = "1.16.1"
44
edition = "2021"
55
publish = false
66
repository = "https://github.com/loro-dev/loro/"

crates/loro-wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "loro-crdt",
3-
"version": "1.16.0",
3+
"version": "1.16.1",
44
"description": "Loro CRDTs is a high-performance CRDT framework that makes your app state synchronized, collaborative and maintainable effortlessly.",
55
"keywords": [
66
"crdt",

0 commit comments

Comments
 (0)