You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[breaking] Improved compile report / temporary support for profile creation (#1745)
* [breaking] report platforms installation dir in compile result
* Added platforms and libraries used in the build report
* Report used libraries even in case of unsuccessful build
* Added 3rd party platform url in InstalledPlatofrm grpc response
* Added temporary functionality to support profile creation
It will be probably deprecated and removed once a better UX is implemented.
* Updated documentation
* Use the last part of the FQBN for suggested profile name
* Move DefaultIndexURL under arduino/globals as it should be
* Use global index url
* Output an error if dump-profile is used with json output
Copy file name to clipboardExpand all lines: docs/UPGRADING.md
+15
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,21 @@ but since it has been the default behaviour from a very long time we decided to
13
13
If a compilation fail for a missing bundled library, you can fix it just by installing the missing library from the
14
14
library manager as usual.
15
15
16
+
### gRPC: Changes in message `cc.arduino.cli.commands.v1.PlatformReference`
17
+
18
+
The gRPC message structure `cc.arduino.cli.commands.v1.PlatformReference` has been renamed to
19
+
`cc.arduino.cli.commands.v1.InstalledPlatformReference`, and some new fields have been added:
20
+
21
+
-`install_dir` is the installation directory of the platform
22
+
-`package_url` is the 3rd party platform URL of the platform
23
+
24
+
It is currently used only in `cc.arduino.cli.commands.v1.CompileResponse`, so the field type has been changed as well.
25
+
Old gRPC clients must only update gRPC bindings. They can safely ignore the new fields if not needed.
26
+
27
+
### golang API: `github.com/arduino/arduino-cli/cli/globals.DefaultIndexURL` has been moved under `github.com/arduino/arduino-cli/arduino/globals`
28
+
29
+
Legacy code should just update the import.
30
+
16
31
### golang API: PackageManager.DownloadPlatformRelease no longer need `label` parameter
0 commit comments