You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: embedded-io/CHANGELOG.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## Unreleased
9
+
10
+
- Prohibit `Write::write` implementations returning `Ok(0)` unless there is no
11
+
data to write; consequently remove `WriteAllError` and the `WriteAllError`
12
+
variant of `WriteFmtError`. Update the `&mut [u8]` impl to possibly return
13
+
a new `SliceWriteError` if the slice is full instead of `Ok(0)`.
14
+
- Add `WriteZero` variant to `ErrorKind` for implementations that previously
15
+
may have returned `Ok(0)` to indicate no further data could be written.
16
+
-`Write::write_all` now panics if the `write()` implementation returns `Ok(0)`.
17
+
8
18
## 0.5.0 - 2023-08-06
9
19
10
20
- Add `ReadReady`, `WriteReady` traits. They allow peeking whether the I/O handle is ready to read/write, so they allow using the traits in a non-blocking way.
@@ -37,4 +47,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
0 commit comments