Skip to content

Commit e6e139d

Browse files
committed
Update CLI version
1 parent 79cc20a commit e6e139d

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

Diff for: arduino-ide-extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"version": {
126126
"owner": "arduino",
127127
"repo": "arduino-cli",
128-
"commitish": "455f39e"
128+
"commitish": "95b21439"
129129
}
130130
}
131131
}

Diff for: arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/common_pb.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ export class Platform extends jspb.Message {
152152
getManuallyInstalled(): boolean;
153153
setManuallyInstalled(value: boolean): Platform;
154154

155+
getDeprecated(): boolean;
156+
setDeprecated(value: boolean): Platform;
157+
155158

156159
serializeBinary(): Uint8Array;
157160
toObject(includeInstance?: boolean): Platform.AsObject;
@@ -174,6 +177,7 @@ export namespace Platform {
174177
email: string,
175178
boardsList: Array<Board.AsObject>,
176179
manuallyInstalled: boolean,
180+
deprecated: boolean,
177181
}
178182
}
179183

Diff for: arduino-ide-extension/src/node/cli-protocol/cc/arduino/cli/commands/v1/common_pb.js

+31-1
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,8 @@ proto.cc.arduino.cli.commands.v1.Platform.toObject = function(includeInstance, m
955955
email: jspb.Message.getFieldWithDefault(msg, 7, ""),
956956
boardsList: jspb.Message.toObjectList(msg.getBoardsList(),
957957
proto.cc.arduino.cli.commands.v1.Board.toObject, includeInstance),
958-
manuallyInstalled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
958+
manuallyInstalled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
959+
deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
959960
};
960961

961962
if (includeInstance) {
@@ -1029,6 +1030,10 @@ proto.cc.arduino.cli.commands.v1.Platform.deserializeBinaryFromReader = function
10291030
var value = /** @type {boolean} */ (reader.readBool());
10301031
msg.setManuallyInstalled(value);
10311032
break;
1033+
case 10:
1034+
var value = /** @type {boolean} */ (reader.readBool());
1035+
msg.setDeprecated(value);
1036+
break;
10321037
default:
10331038
reader.skipField();
10341039
break;
@@ -1122,6 +1127,13 @@ proto.cc.arduino.cli.commands.v1.Platform.serializeBinaryToWriter = function(mes
11221127
f
11231128
);
11241129
}
1130+
f = message.getDeprecated();
1131+
if (f) {
1132+
writer.writeBool(
1133+
10,
1134+
f
1135+
);
1136+
}
11251137
};
11261138

11271139

@@ -1307,6 +1319,24 @@ proto.cc.arduino.cli.commands.v1.Platform.prototype.setManuallyInstalled = funct
13071319
};
13081320

13091321

1322+
/**
1323+
* optional bool deprecated = 10;
1324+
* @return {boolean}
1325+
*/
1326+
proto.cc.arduino.cli.commands.v1.Platform.prototype.getDeprecated = function() {
1327+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
1328+
};
1329+
1330+
1331+
/**
1332+
* @param {boolean} value
1333+
* @return {!proto.cc.arduino.cli.commands.v1.Platform} returns this
1334+
*/
1335+
proto.cc.arduino.cli.commands.v1.Platform.prototype.setDeprecated = function(value) {
1336+
return jspb.Message.setProto3BooleanField(this, 10, value);
1337+
};
1338+
1339+
13101340

13111341

13121342

0 commit comments

Comments
 (0)