Skip to content

Commit 5c09fa2

Browse files
committed
v0.2.2
1 parent 366a3de commit 5c09fa2

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
# Changelog
22

3+
## 0.2.2 - 2025-08-18
4+
5+
This release is a significant rewrite of the `samod_core` crate to not use
6+
async/await syntax internally. It introduces no changes to `samod` but there
7+
are breaking changes in `samod_core`:
8+
9+
### Breaking Changes to `samod_core`
10+
11+
* `samod_core::ActorResult` is now called `samod_core::DocActorResult` and has
12+
an additional `stopped` field
13+
* `Hub::load` no longer takes a `rand::Rng` or `UnixTimestamp` argument
14+
* `SamodLoader::step` takes an additional `rand::Rng` argument
15+
* `SamodLoader::provide_io_result` no longer takes a `UnixTimestamp` argument
16+
* `Hub::handle_event` takes an additional `rand::Rng` argument
17+
318
## 0.2.1 - 2025-08-08
419

520
### Fixed
621

7-
* Fix a deadlock
22+
* Fix a deadlock
823

924
## 0.2.0 - 2025-08-06
1025

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samod-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "samod-core"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
edition = "2024"
55
repository = "https://github.com/alexjg/samod"
66
authors = ["Alex Good <alex@patternist.xyz>"]

samod/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "samod"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2024"
55
authors = ["Alex Good <alex@patternist.xyz>"]
66
description = "A rust library for managing automerge documents, compatible with the js automerge-repo library"
@@ -21,7 +21,7 @@ chrono = "0.4.41"
2121
futures = "0.3.31"
2222
rand = "0.9.1"
2323
rayon = "1.10.0"
24-
samod-core = { path = "../samod-core", version = "0.2.0" }
24+
samod-core = { path = "../samod-core", version = "0.3.0" }
2525
tokio = { version = "1.46.0", features = ["rt", "time", "fs"], optional = true }
2626
tokio-tungstenite = { version = "0.27.0", optional = true }
2727
tokio-util = { version = "0.7.15", features = [

0 commit comments

Comments
 (0)