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
// The platform used for the build (if referenced from the board platform)
133
+
InstalledPlatformReference build_platform = 5;
134
+
// Build properties used for compiling
135
+
repeated string build_properties = 7;
136
+
// Compiler errors and warnings
137
+
repeated CompileDiagnostic diagnostics = 8;
138
+
}
139
+
```
140
+
141
+
with a clear distinction on which fields are streamed.
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
+
75
185
### The gRPC `cc.arduino.cli.commands.v1.PlatformRelease` has been changed.
76
186
77
187
We've added a new field called `compatible`. This field indicates if the current platform release is installable or not.
0 commit comments