@@ -7,24 +7,30 @@ Here you can find a list of migration guides to handle breaking changes between
7
7
### The gRPC ` cc.arduino.cli.commands.v1.PlatformRelease ` has been changed.
8
8
9
9
We've added a new field called ` compatible ` . This field indicates if the current platform release is installable or not.
10
- It may happen that a platform doesn't have a dependency available for an OS, in such cases, if we try to install the
11
- platform it will fail. The new field can be used to know upfront if a specific release is installable.
10
+ It may happen that a platform doesn't have a dependency available for an OS/ARCH , in such cases, if we try to install
11
+ the platform it will fail. The new field can be used to know upfront if a specific release is installable.
12
12
13
13
### The gRPC ` cc.arduino.cli.commands.v1.PlatformSummary ` has been changed.
14
14
15
- We've added a new field called ` latest_compatible_version ` . This field indicates the latest version that can be
16
- successfully installed for the current OS. The ` latest_version ` field cannot guarantee such property .
15
+ We've modified the behavior of ` latest_version ` . Now this field indicates the latest version that can be installed in
16
+ the current OS/ARCH .
17
17
18
18
### ` core list ` now returns only the latest version that can be installed.
19
19
20
- Previously, we showed the latest version without checking if all the dependencies were available in the current OS. Now,
21
- the latest version will always point to an installable one even if a newer incompatible one is present.
20
+ Previously, we showed the latest version without checking if all the dependencies were available in the current OS/ARCH.
21
+ Now, the latest version will always point to an installable one even if a newer incompatible one is present.
22
+
23
+ ### ` core search ` now returns the latest installable version of a core.
24
+
25
+ We now show in the ` version ` column the latest installable version. If none are available then we show a ` n/a ` label.
26
+ The corresponding command with ` --format json ` now returns the same output of
27
+ ` arduino-cli core search --all --format json ` .
22
28
23
29
### ` core upgrade ` and ` core install ` will install the latest compatible version.
24
30
25
31
Previously, we'd have tried the installation/upgrade of a core even if all the required tools weren't available in the
26
- current OS. Now we check this upfront, and allowing the installation of incompatible versions only if a user explicitly
27
- provides it like:
` core install arduino:[email protected] `
32
+ current OS/ARCH . Now we check this upfront, and allowing the installation of incompatible versions only if a user
33
+ explicitly provides it like:
` core install arduino:[email protected] `
28
34
29
35
### gRPC service ` cc.arduino.cli.settings.v1 ` has been removed, and all RPC calls have been migrated to ` cc.arduino.cli.commands.v1 `
30
36
0 commit comments