Skip to content

Commit baab99f

Browse files
committed
Updated docs
1 parent 64303a1 commit baab99f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Diff for: docs/UPGRADING.md

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

55
## 0.29.0
66

7+
### Removed gRPC API: `cc.arduino.cli.commands.v1.UpdateCoreLibrariesIndex`, `Outdated`, and `Upgrade`
8+
9+
The following gRPC API have been removed:
10+
11+
- `cc.arduino.cli.commands.v1.UpdateCoreLibrariesIndex`: you can use the already available gRPC methods `UpdateIndex`
12+
and `UpdateLibrariesIndex` to perform the same tasks.
13+
- `cc.arduino.cli.commands.v1.Outdated`: you can use the already available gRPC methods `PlatformList` and `LibraryList`
14+
to perform the same tasks.
15+
- `cc.arduino.cli.commands.v1.Upgrade`: you can use the already available gRPC methods `PlatformUpgrade` and
16+
`LibraryUpgrade` to perform the same tasks.
17+
18+
The golang API implementation of the same functions has been removed as well, so the following function are no more
19+
available:
20+
21+
```
22+
github.com/arduino/arduino-cli/commands.UpdateCoreLibrariesIndex(...)
23+
github.com/arduino/arduino-cli/commands/outdated.Outdated(...)
24+
github.com/arduino/arduino-cli/commands/upgrade.Upgrade(...)
25+
```
26+
27+
you can use the following functions as a replacement to do the same tasks:
28+
29+
```
30+
github.com/arduino/arduino-cli/commands.UpdateLibrariesIndex(...)
31+
github.com/arduino/arduino-cli/commands.UpdateIndex(...)
32+
github.com/arduino/arduino-cli/commands/core.GetPlatforms(...)
33+
github.com/arduino/arduino-cli/commands/lib.LibraryList(...)
34+
github.com/arduino/arduino-cli/commands/lib.LibraryUpgrade(...)
35+
github.com/arduino/arduino-cli/commands/lib.LibraryUpgradeAll(...)
36+
github.com/arduino/arduino-cli/commands/core.PlatformUpgrade(...)
37+
```
38+
739
### Changes in golang functions `github.com/arduino/arduino-cli/cli/instance.Init` and `InitWithProfile`
840

941
The following functions:

0 commit comments

Comments
 (0)