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
Copy file name to clipboardExpand all lines: docs/UPGRADING.md
+42
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,48 @@ message BuilderResult {
140
140
141
141
with a clear distinction on which fields are streamed.
142
142
143
+
### The gRPC response `cc.arduino.cli.commands.v1.UploadUsingProgrammerResponse` and `cc.arduino.cli.commands.v1.BurnBootloaderResponse` has been changed.
144
+
145
+
The old messages:
146
+
147
+
```protoc
148
+
message UploadUsingProgrammerResponse {
149
+
// The output of the upload process.
150
+
bytes out_stream = 1;
151
+
// The error output of the upload process.
152
+
bytes err_stream = 2;
153
+
}
154
+
155
+
message BurnBootloaderResponse {
156
+
// The output of the burn bootloader process.
157
+
bytes out_stream = 1;
158
+
// The error output of the burn bootloader process.
159
+
bytes err_stream = 2;
160
+
}
161
+
```
162
+
163
+
now have the `oneof` clause that makes explicit the streaming nature of the response:
164
+
165
+
```protoc
166
+
message UploadUsingProgrammerResponse {
167
+
oneof message {
168
+
// The output of the upload process.
169
+
bytes out_stream = 1;
170
+
// The error output of the upload process.
171
+
bytes err_stream = 2;
172
+
}
173
+
}
174
+
175
+
message BurnBootloaderResponse {
176
+
oneof message {
177
+
// The output of the burn bootloader process.
178
+
bytes out_stream = 1;
179
+
// The error output of the burn bootloader process.
180
+
bytes err_stream = 2;
181
+
}
182
+
}
183
+
```
184
+
143
185
### The gRPC `cc.arduino.cli.commands.v1.PlatformRelease` has been changed.
144
186
145
187
We've added a new field called `compatible`. This field indicates if the current platform release is installable or not.
0 commit comments