File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,23 @@ Here you can find a list of migration guides to handle breaking changes between
4
4
5
5
## Unreleased
6
6
7
+ ### ` commands.Compile ` function change
8
+
9
+ A new argument ` progressCB ` has been added to ` commands.Compile ` , the new function signature is:
10
+
11
+ ``` go
12
+ func Compile (
13
+ ctx context.Context ,
14
+ req *rpc.CompileRequest ,
15
+ outStream, errStream io.Writer ,
16
+ progressCB commands.TaskProgressCB ,
17
+ debug bool
18
+ ) (r *rpc.CompileResponse , e error ) {
19
+ ` ` `
20
+
21
+ if a callback function is provided the ` Compile` command will call it periodically with progress reports
22
+ with the percentage of compile completed otherwise, if the parameter is ` nil ` , no progress reports will be performed.
23
+
7
24
### ` github.com /arduino/arduino-cli/cli/arguments.ParseReferences ` function change
8
25
9
26
The ` parseArch` parameter was removed since it was unused and was always true. This means that the architecture gets
You can’t perform that action at this time.
0 commit comments