Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(changelog): add CHANGELOG entries
Browse files Browse the repository at this point in the history
creberust committed Feb 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3176718 commit 3e0d8d6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,27 @@

# Changelog

## v0.12.0 (unreleased)

- Client: Add new Modbus `Client` API.
- Client: Add `Result` type alias.

```
pub type Result<T> = Result<Result<T, Exception>, std::io::Error>
```

- Example: Update all examples with new `Client` API.

### Breaking Changes

- Client: All the functions signatures in `Client`, `Reader` and `Writer` traits have changed the return type.

```diff
async fn read_coils(&mut self, _: Address, _: Quantity)
- -> Result<Vec<Coil>, std::io::Error>;
+ -> Result<Result<Vec<Coil>, Exception>, std::io::Error>;
```

## v0.11.0 (2024-01-28)

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

0 comments on commit 3e0d8d6

Please sign in to comment.