Skip to content

Commit 2261009

Browse files
update docs
1 parent 4911f99 commit 2261009

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

Diff for: docs/UPGRADING.md

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

55
## 0.36.0
66

7+
### CLI changed JSON output for some `lib`, `core`, `config`, `board`, and `sketch` commands.
8+
9+
- `arduino-cli lib list` results are wrapped under `installed_libraries` key
10+
11+
```
12+
{ "installed_libraries": [ {...}, {...} ] }
13+
```
14+
15+
- `arduino-cli lib list` results are wrapped under `examples` key
16+
17+
```
18+
{ "examples": [ {...}, {...} ] }
19+
```
20+
21+
- `arduino-cli core search` and `arduino-cli core list` results are wrapped under `platforms` key
22+
23+
```
24+
{ "platforms": [ {...}, {...} ] }
25+
```
26+
27+
- `arduino-cli config init` now correctly returns a json containg the config path
28+
29+
```
30+
{ "config_path": "/home/user/.arduino15/arduino-cli.yaml" }
31+
```
32+
33+
- `arduino-cli core dump` results are wrapped under `config` key
34+
35+
```
36+
{ "config": { ... } }
37+
```
38+
39+
- `arduino-cli board search` results are wrapped under `boards` key
40+
41+
```
42+
{ "boards": [ {...}, {...} ] }
43+
```
44+
45+
- `arduino-cli board list` results are wrapped under `detected_ports` key
46+
47+
```
48+
{ "detected_ports": [ {...}, {...} ] }
49+
```
50+
51+
- `arduino-cli sketch new` now correctly returns a json containing the sketch path
52+
53+
```
54+
{ "sketch_path": "/tmp/my_sketch" }
55+
```
56+
757
### The gRPC `cc.arduino.cli.commands.v1.PlatformRelease` has been changed.
858

959
We've added a new field called `compatible`. This field indicates if the current platform release is installable or not.

0 commit comments

Comments
 (0)