|
317 | 317 | YAML output format is no more supported
|
318 | 318 | </a>
|
319 | 319 |
|
| 320 | +</li> |
| 321 | + |
| 322 | + <li class="md-nav__item"> |
| 323 | + <a href="#grpc-the-type-field-has-been-renamed-to-types-in-the-ccarduinoclicommandsv1platformrelease-message" class="md-nav__link"> |
| 324 | + gRPC: The type field has been renamed to types in the cc.arduino.cli.commands.v1.PlatformRelease message. |
| 325 | + </a> |
| 326 | + |
| 327 | +</li> |
| 328 | + |
| 329 | + <li class="md-nav__item"> |
| 330 | + <a href="#the-type-field-has-been-renamed-to-types-in-the-json-output-including-a-platform-release" class="md-nav__link"> |
| 331 | + The type field has been renamed to types in the JSON output including a platform release. |
| 332 | + </a> |
| 333 | + |
320 | 334 | </li>
|
321 | 335 |
|
322 | 336 | <li class="md-nav__item">
|
|
2613 | 2627 | YAML output format is no more supported
|
2614 | 2628 | </a>
|
2615 | 2629 |
|
| 2630 | +</li> |
| 2631 | + |
| 2632 | + <li class="md-nav__item"> |
| 2633 | + <a href="#grpc-the-type-field-has-been-renamed-to-types-in-the-ccarduinoclicommandsv1platformrelease-message" class="md-nav__link"> |
| 2634 | + gRPC: The type field has been renamed to types in the cc.arduino.cli.commands.v1.PlatformRelease message. |
| 2635 | + </a> |
| 2636 | + |
| 2637 | +</li> |
| 2638 | + |
| 2639 | + <li class="md-nav__item"> |
| 2640 | + <a href="#the-type-field-has-been-renamed-to-types-in-the-json-output-including-a-platform-release" class="md-nav__link"> |
| 2641 | + The type field has been renamed to types in the JSON output including a platform release. |
| 2642 | + </a> |
| 2643 | + |
2616 | 2644 | </li>
|
2617 | 2645 |
|
2618 | 2646 | <li class="md-nav__item">
|
@@ -3985,6 +4013,31 @@ <h3 id="golang-importing-arduino-cli-as-a-library-now-requires-the-creation-of-a
|
3985 | 4013 | </code></pre></div>
|
3986 | 4014 | <h3 id="yaml-output-format-is-no-more-supported">YAML output format is no more supported<a class="headerlink" href="#yaml-output-format-is-no-more-supported" title="Permanent link">¶</a></h3>
|
3987 | 4015 | <p>The <code>yaml</code> option of the <code>--format</code> flag is no more supported. Use <code>--format json</code> if machine parsable output is needed.</p>
|
| 4016 | +<h3 id="grpc-the-type-field-has-been-renamed-to-types-in-the-ccarduinoclicommandsv1platformrelease-message">gRPC: The <code>type</code> field has been renamed to <code>types</code> in the <code>cc.arduino.cli.commands.v1.PlatformRelease</code> message.<a class="headerlink" href="#grpc-the-type-field-has-been-renamed-to-types-in-the-ccarduinoclicommandsv1platformrelease-message" title="Permanent link">¶</a></h3> |
| 4017 | +<p>Rebuilding the gRPC bindings from the proto files requires to rename all access to <code>type</code> field as <code>types</code>.</p> |
| 4018 | +<p>By the way, the wire protocol is not affected by this change, existing clients should work fine without modification.</p> |
| 4019 | +<h3 id="the-type-field-has-been-renamed-to-types-in-the-json-output-including-a-platform-release">The <code>type</code> field has been renamed to <code>types</code> in the JSON output including a platform release.<a class="headerlink" href="#the-type-field-has-been-renamed-to-types-in-the-json-output-including-a-platform-release" title="Permanent link">¶</a></h3> |
| 4020 | +<p>Since the <code>type</code> field may contain multiple values has been renamed to <code>types</code> to better express this aspect.</p> |
| 4021 | +<p>Previously:</p> |
| 4022 | +<div class="highlight"><pre><span></span><code>$ arduino-cli core list --json | jq '.platforms[4].releases."1.8.13"' |
| 4023 | +{ |
| 4024 | + "name": "Arduino SAMD (32-bits ARM Cortex-M0+) Boards", |
| 4025 | + "version": "1.8.13", |
| 4026 | + "type": [ |
| 4027 | + "Arduino" |
| 4028 | + ], |
| 4029 | + ... |
| 4030 | +</code></pre></div> |
| 4031 | +<p>Now:</p> |
| 4032 | +<div class="highlight"><pre><span></span><code>$ arduino-cli core list --json | jq '.platforms[4].releases."1.8.13"' |
| 4033 | +{ |
| 4034 | + "name": "Arduino SAMD (32-bits ARM Cortex-M0+) Boards", |
| 4035 | + "version": "1.8.13", |
| 4036 | + "types": [ |
| 4037 | + "Arduino" |
| 4038 | + ], |
| 4039 | + ... |
| 4040 | +</code></pre></div> |
3988 | 4041 | <h3 id="the-grpc-ccarduinoclicommandsv1compilerequestexport_binaries-changed-type">The gRPC <code>cc.arduino.cli.commands.v1.CompileRequest.export_binaries</code> changed type.<a class="headerlink" href="#the-grpc-ccarduinoclicommandsv1compilerequestexport_binaries-changed-type" title="Permanent link">¶</a></h3>
|
3989 | 4042 | <p>Previously the field <code>export_binaries</code> was a <code>google.protobuf.BoolValue</code>. We used this type because it expresses this
|
3990 | 4043 | field's optional nature (that is, it could be <code>true</code>, <code>false</code>, and <code>null</code> if not set).</p>
|
|
0 commit comments