Skip to content

Commit 3e0d8d6

Browse files
committed
docs(changelog): add CHANGELOG entries
1 parent 3176718 commit 3e0d8d6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@
33

44
# Changelog
55

6+
## v0.12.0 (unreleased)
7+
8+
- Client: Add new Modbus `Client` API.
9+
- Client: Add `Result` type alias.
10+
11+
```
12+
pub type Result<T> = Result<Result<T, Exception>, std::io::Error>
13+
```
14+
15+
- Example: Update all examples with new `Client` API.
16+
17+
### Breaking Changes
18+
19+
- Client: All the functions signatures in `Client`, `Reader` and `Writer` traits have changed the return type.
20+
21+
```diff
22+
async fn read_coils(&mut self, _: Address, _: Quantity)
23+
- -> Result<Vec<Coil>, std::io::Error>;
24+
+ -> Result<Result<Vec<Coil>, Exception>, std::io::Error>;
25+
```
26+
627
## v0.11.0 (2024-01-28)
728

829
- Server: Remove `Sync` and `Unpin` trait bounds from `Service::call()` future

0 commit comments

Comments
 (0)