Skip to content

Commit 3764118

Browse files
committed
Updated docs
1 parent c7913f9 commit 3764118

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

Diff for: docs/UPGRADING.md

+40
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,46 @@ Here you can find a list of migration guides to handle breaking changes between
44

55
## 0.36.0
66

7+
### The gRPC `cc.arduino.cli.commands.v1.LoadSketchResponse` message has been changed.
8+
9+
Previously the `LoadSketchResponse` containted all the information about the sketch:
10+
11+
```proto
12+
message LoadSketchResponse {
13+
string main_file = 1;
14+
string location_path = 2;
15+
repeated string other_sketch_files = 3;
16+
repeated string additional_files = 4;
17+
repeated string root_folder_files = 5;
18+
string default_fqbn = 6;
19+
string default_port = 7;
20+
string default_protocol = 8;
21+
repeated SketchProfile profiles = 9;
22+
SketchProfile default_profile = 10;
23+
}
24+
```
25+
26+
Now all the metadata have been moved into a specific `Sketch` message:
27+
28+
```proto
29+
message LoadSketchResponse {
30+
Sketch sketch = 1;
31+
}
32+
33+
message Sketch {
34+
string main_file = 1;
35+
string location_path = 2;
36+
repeated string other_sketch_files = 3;
37+
repeated string additional_files = 4;
38+
repeated string root_folder_files = 5;
39+
string default_fqbn = 6;
40+
string default_port = 7;
41+
string default_protocol = 8;
42+
repeated SketchProfile profiles = 9;
43+
SketchProfile default_profile = 10;
44+
}
45+
```
46+
747
### Drop support for `builtin.tools`
848

949
We're dropping the `builtin.tools` support. It was the equivalent of Arduino IDE 1.x bundled tools directory.

0 commit comments

Comments
 (0)