Skip to content

Commit e474125

Browse files
committed
v0.4.0
1 parent 77d04e6 commit e474125

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

CHANGELOG.md

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

3+
## 0.4.0 - 2025-09-15
4+
5+
### Added
6+
7+
* It is now possible to use `Storage` and `AnnouncePolicy` implementations which
8+
can't support `Send` futures. This is enabled by implementing the new
9+
`LocalStorage` and `LocalAnnouncePolicy` traits instead of `Storage` and
10+
`AnnouncePolicy`. and loading the repo using a `LocalRuntimeHandle` rather
11+
than a `RuntimeHandle`.
12+
13+
### Breaking Changes
14+
15+
* Use of a `rayon` threadpool to run document actors is now gated behind the
16+
`threadpool` feature flag and the `RepoBuilder::with_concurrency` method.
17+
* `RuntimeHandle` is now much simpler and only requires a `spawn`function
18+
* `StorageKey` no longer implements `FromIterator<String>` or
19+
`From<Vec<String>>`, use `StorageKey::from_parts` instead
20+
321
## 0.3.1 - 2025-08-29
422

523
### Fixed

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.3.1"
3+
version = "0.4.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.3.1"
3+
version = "0.4.0"
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"
@@ -22,7 +22,7 @@ chrono = "0.4.41"
2222
futures = "0.3.31"
2323
rand = "0.9.1"
2424
rayon = { version = "1.10.0", optional = true }
25-
samod-core = { path = "../samod-core", version = "0.3.1" }
25+
samod-core = { path = "../samod-core", version = "0.4.0" }
2626
tokio = { version = "1.46.0", features = ["rt", "time", "fs"], optional = true }
2727
tokio-tungstenite = { version = "0.27.0", optional = true }
2828
tokio-util = { version = "0.7.15", features = [

0 commit comments

Comments
 (0)