Skip to content

Commit 2c378bb

Browse files
committed
Updated docs
1 parent ab7d149 commit 2c378bb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/UPGRADING.md

+19
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
Here you can find a list of migration guides to handle breaking changes between releases of the CLI.
44

5+
## 0.25.0
6+
7+
### go-lang function `github.com/arduino/arudino-cli/utils/FeedStreamTo` has been changed
8+
9+
The function `FeedStreamTo` has been changed from:
10+
11+
```go
12+
func FeedStreamTo(writer func(data []byte)) io.Writer
13+
```
14+
15+
to
16+
17+
```go
18+
func FeedStreamTo(writer func(data []byte)) (io.WriteCloser, context.Context)
19+
```
20+
21+
The user must call the `Close` method on the returned `io.WriteClose` to correctly dispose the streaming channel. The
22+
context `Done()` method may be used to wait for the internal subroutines to complete.
23+
524
## 0.24.0
625

726
### gRPC `Monitor` service and related gRPC calls have been removed

0 commit comments

Comments
 (0)