chore(cli): Bumped the CLI version to 0.33.0

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
Akos Kitta 2023-05-31 13:50:19 +02:00 committed by Akos Kitta
parent 9d2297c684
commit 0fbd1fbe85
9 changed files with 256 additions and 7 deletions

View File

@ -170,7 +170,7 @@
], ],
"arduino": { "arduino": {
"cli": { "cli": {
"version": "0.32.2" "version": "0.33.0"
}, },
"fwuploader": { "fwuploader": {
"version": "2.2.2" "version": "2.2.2"

View File

@ -18,6 +18,9 @@ export class BoardDetailsRequest extends jspb.Message {
getFqbn(): string; getFqbn(): string;
setFqbn(value: string): BoardDetailsRequest; setFqbn(value: string): BoardDetailsRequest;
getDoNotExpandBuildProperties(): boolean;
setDoNotExpandBuildProperties(value: boolean): BoardDetailsRequest;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BoardDetailsRequest.AsObject; toObject(includeInstance?: boolean): BoardDetailsRequest.AsObject;
@ -33,6 +36,7 @@ export namespace BoardDetailsRequest {
export type AsObject = { export type AsObject = {
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject, instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
fqbn: string, fqbn: string,
doNotExpandBuildProperties: boolean,
} }
} }
@ -93,6 +97,11 @@ export class BoardDetailsResponse extends jspb.Message {
setIdentificationPropertiesList(value: Array<BoardIdentificationProperties>): BoardDetailsResponse; setIdentificationPropertiesList(value: Array<BoardIdentificationProperties>): BoardDetailsResponse;
addIdentificationProperties(value?: BoardIdentificationProperties, index?: number): BoardIdentificationProperties; addIdentificationProperties(value?: BoardIdentificationProperties, index?: number): BoardIdentificationProperties;
clearBuildPropertiesList(): void;
getBuildPropertiesList(): Array<string>;
setBuildPropertiesList(value: Array<string>): BoardDetailsResponse;
addBuildProperties(value: string, index?: number): string;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BoardDetailsResponse.AsObject; toObject(includeInstance?: boolean): BoardDetailsResponse.AsObject;
@ -120,6 +129,7 @@ export namespace BoardDetailsResponse {
programmersList: Array<cc_arduino_cli_commands_v1_common_pb.Programmer.AsObject>, programmersList: Array<cc_arduino_cli_commands_v1_common_pb.Programmer.AsObject>,
debuggingSupported: boolean, debuggingSupported: boolean,
identificationPropertiesList: Array<BoardIdentificationProperties.AsObject>, identificationPropertiesList: Array<BoardIdentificationProperties.AsObject>,
buildPropertiesList: Array<string>,
} }
} }

View File

@ -498,7 +498,8 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.prototype.toObject = functi
proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.toObject = function(includeInstance, msg) { proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.toObject = function(includeInstance, msg) {
var f, obj = { var f, obj = {
instance: (f = msg.getInstance()) && cc_arduino_cli_commands_v1_common_pb.Instance.toObject(includeInstance, f), instance: (f = msg.getInstance()) && cc_arduino_cli_commands_v1_common_pb.Instance.toObject(includeInstance, f),
fqbn: jspb.Message.getFieldWithDefault(msg, 2, "") fqbn: jspb.Message.getFieldWithDefault(msg, 2, ""),
doNotExpandBuildProperties: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
}; };
if (includeInstance) { if (includeInstance) {
@ -544,6 +545,10 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.deserializeBinaryFromReader
var value = /** @type {string} */ (reader.readString()); var value = /** @type {string} */ (reader.readString());
msg.setFqbn(value); msg.setFqbn(value);
break; break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDoNotExpandBuildProperties(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -588,6 +593,13 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.serializeBinaryToWriter = f
f f
); );
} }
f = message.getDoNotExpandBuildProperties();
if (f) {
writer.writeBool(
3,
f
);
}
}; };
@ -646,13 +658,31 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.prototype.setFqbn = functio
}; };
/**
* optional bool do_not_expand_build_properties = 3;
* @return {boolean}
*/
proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.prototype.getDoNotExpandBuildProperties = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/**
* @param {boolean} value
* @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsRequest} returns this
*/
proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.prototype.setDoNotExpandBuildProperties = function(value) {
return jspb.Message.setProto3BooleanField(this, 3, value);
};
/** /**
* List of repeated fields within this message type. * List of repeated fields within this message type.
* @private {!Array<number>} * @private {!Array<number>}
* @const * @const
*/ */
proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.repeatedFields_ = [10,11,13,15]; proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.repeatedFields_ = [10,11,13,15,16];
@ -702,7 +732,8 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.toObject = function(includ
cc_arduino_cli_commands_v1_common_pb.Programmer.toObject, includeInstance), cc_arduino_cli_commands_v1_common_pb.Programmer.toObject, includeInstance),
debuggingSupported: jspb.Message.getBooleanFieldWithDefault(msg, 14, false), debuggingSupported: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
identificationPropertiesList: jspb.Message.toObjectList(msg.getIdentificationPropertiesList(), identificationPropertiesList: jspb.Message.toObjectList(msg.getIdentificationPropertiesList(),
proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.toObject, includeInstance) proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.toObject, includeInstance),
buildPropertiesList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f
}; };
if (includeInstance) { if (includeInstance) {
@ -801,6 +832,10 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.deserializeBinaryFromReade
reader.readMessage(value,proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.deserializeBinaryFromReader); reader.readMessage(value,proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.deserializeBinaryFromReader);
msg.addIdentificationProperties(value); msg.addIdentificationProperties(value);
break; break;
case 16:
var value = /** @type {string} */ (reader.readString());
msg.addBuildProperties(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -934,6 +969,13 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.serializeBinaryToWriter =
proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.serializeBinaryToWriter proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.serializeBinaryToWriter
); );
} }
f = message.getBuildPropertiesList();
if (f.length > 0) {
writer.writeRepeatedString(
16,
f
);
}
}; };
@ -1307,6 +1349,43 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.prototype.clearIdentificat
}; };
/**
* repeated string build_properties = 16;
* @return {!Array<string>}
*/
proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.prototype.getBuildPropertiesList = function() {
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 16));
};
/**
* @param {!Array<string>} value
* @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsResponse} returns this
*/
proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.prototype.setBuildPropertiesList = function(value) {
return jspb.Message.setField(this, 16, value || []);
};
/**
* @param {string} value
* @param {number=} opt_index
* @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsResponse} returns this
*/
proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.prototype.addBuildProperties = function(value, opt_index) {
return jspb.Message.addToRepeatedField(this, 16, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsResponse} returns this
*/
proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.prototype.clearBuildPropertiesList = function() {
return this.setBuildPropertiesList([]);
};

View File

@ -260,6 +260,12 @@ export class Platform extends jspb.Message {
getHelp(): HelpResources | undefined; getHelp(): HelpResources | undefined;
setHelp(value?: HelpResources): Platform; setHelp(value?: HelpResources): Platform;
getIndexed(): boolean;
setIndexed(value: boolean): Platform;
getMissingMetadata(): boolean;
setMissingMetadata(value: boolean): Platform;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Platform.AsObject; toObject(includeInstance?: boolean): Platform.AsObject;
@ -285,6 +291,8 @@ export namespace Platform {
deprecated: boolean, deprecated: boolean,
typeList: Array<string>, typeList: Array<string>,
help?: HelpResources.AsObject, help?: HelpResources.AsObject,
indexed: boolean,
missingMetadata: boolean,
} }
} }

View File

@ -1637,7 +1637,9 @@ proto.cc.arduino.cli.commands.v1.Platform.toObject = function(includeInstance, m
manuallyInstalled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false), manuallyInstalled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 10, false), deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
typeList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f, typeList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
help: (f = msg.getHelp()) && proto.cc.arduino.cli.commands.v1.HelpResources.toObject(includeInstance, f) help: (f = msg.getHelp()) && proto.cc.arduino.cli.commands.v1.HelpResources.toObject(includeInstance, f),
indexed: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
missingMetadata: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
}; };
if (includeInstance) { if (includeInstance) {
@ -1724,6 +1726,14 @@ proto.cc.arduino.cli.commands.v1.Platform.deserializeBinaryFromReader = function
reader.readMessage(value,proto.cc.arduino.cli.commands.v1.HelpResources.deserializeBinaryFromReader); reader.readMessage(value,proto.cc.arduino.cli.commands.v1.HelpResources.deserializeBinaryFromReader);
msg.setHelp(value); msg.setHelp(value);
break; break;
case 13:
var value = /** @type {boolean} */ (reader.readBool());
msg.setIndexed(value);
break;
case 14:
var value = /** @type {boolean} */ (reader.readBool());
msg.setMissingMetadata(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -1839,6 +1849,20 @@ proto.cc.arduino.cli.commands.v1.Platform.serializeBinaryToWriter = function(mes
proto.cc.arduino.cli.commands.v1.HelpResources.serializeBinaryToWriter proto.cc.arduino.cli.commands.v1.HelpResources.serializeBinaryToWriter
); );
} }
f = message.getIndexed();
if (f) {
writer.writeBool(
13,
f
);
}
f = message.getMissingMetadata();
if (f) {
writer.writeBool(
14,
f
);
}
}; };
@ -2116,6 +2140,42 @@ proto.cc.arduino.cli.commands.v1.Platform.prototype.hasHelp = function() {
}; };
/**
* optional bool indexed = 13;
* @return {boolean}
*/
proto.cc.arduino.cli.commands.v1.Platform.prototype.getIndexed = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
};
/**
* @param {boolean} value
* @return {!proto.cc.arduino.cli.commands.v1.Platform} returns this
*/
proto.cc.arduino.cli.commands.v1.Platform.prototype.setIndexed = function(value) {
return jspb.Message.setProto3BooleanField(this, 13, value);
};
/**
* optional bool missing_metadata = 14;
* @return {boolean}
*/
proto.cc.arduino.cli.commands.v1.Platform.prototype.getMissingMetadata = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
};
/**
* @param {boolean} value
* @return {!proto.cc.arduino.cli.commands.v1.Platform} returns this
*/
proto.cc.arduino.cli.commands.v1.Platform.prototype.setMissingMetadata = function(value) {
return jspb.Message.setProto3BooleanField(this, 14, value);
};

View File

@ -95,6 +95,9 @@ export class CompileRequest extends jspb.Message {
getSkipLibrariesDiscovery(): boolean; getSkipLibrariesDiscovery(): boolean;
setSkipLibrariesDiscovery(value: boolean): CompileRequest; setSkipLibrariesDiscovery(value: boolean): CompileRequest;
getDoNotExpandBuildProperties(): boolean;
setDoNotExpandBuildProperties(value: boolean): CompileRequest;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CompileRequest.AsObject; toObject(includeInstance?: boolean): CompileRequest.AsObject;
@ -133,6 +136,7 @@ export namespace CompileRequest {
signKey: string, signKey: string,
encryptKey: string, encryptKey: string,
skipLibrariesDiscovery: boolean, skipLibrariesDiscovery: boolean,
doNotExpandBuildProperties: boolean,
} }
} }

View File

@ -155,7 +155,8 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.toObject = function(includeInsta
keysKeychain: jspb.Message.getFieldWithDefault(msg, 25, ""), keysKeychain: jspb.Message.getFieldWithDefault(msg, 25, ""),
signKey: jspb.Message.getFieldWithDefault(msg, 26, ""), signKey: jspb.Message.getFieldWithDefault(msg, 26, ""),
encryptKey: jspb.Message.getFieldWithDefault(msg, 27, ""), encryptKey: jspb.Message.getFieldWithDefault(msg, 27, ""),
skipLibrariesDiscovery: jspb.Message.getBooleanFieldWithDefault(msg, 28, false) skipLibrariesDiscovery: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
doNotExpandBuildProperties: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
}; };
if (includeInstance) { if (includeInstance) {
@ -292,6 +293,10 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.deserializeBinaryFromReader = fu
var value = /** @type {boolean} */ (reader.readBool()); var value = /** @type {boolean} */ (reader.readBool());
msg.setSkipLibrariesDiscovery(value); msg.setSkipLibrariesDiscovery(value);
break; break;
case 29:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDoNotExpandBuildProperties(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -488,6 +493,13 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.serializeBinaryToWriter = functi
f f
); );
} }
f = message.getDoNotExpandBuildProperties();
if (f) {
writer.writeBool(
29,
f
);
}
}; };
@ -1022,6 +1034,24 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.prototype.setSkipLibrariesDiscov
}; };
/**
* optional bool do_not_expand_build_properties = 29;
* @return {boolean}
*/
proto.cc.arduino.cli.commands.v1.CompileRequest.prototype.getDoNotExpandBuildProperties = function() {
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 29, false));
};
/**
* @param {boolean} value
* @return {!proto.cc.arduino.cli.commands.v1.CompileRequest} returns this
*/
proto.cc.arduino.cli.commands.v1.CompileRequest.prototype.setDoNotExpandBuildProperties = function(value) {
return jspb.Message.setProto3BooleanField(this, 29, value);
};
/** /**
* List of repeated fields within this message type. * List of repeated fields within this message type.

View File

@ -282,6 +282,12 @@ export class PlatformUpgradeResponse extends jspb.Message {
setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): PlatformUpgradeResponse; setTaskProgress(value?: cc_arduino_cli_commands_v1_common_pb.TaskProgress): PlatformUpgradeResponse;
hasPlatform(): boolean;
clearPlatform(): void;
getPlatform(): cc_arduino_cli_commands_v1_common_pb.Platform | undefined;
setPlatform(value?: cc_arduino_cli_commands_v1_common_pb.Platform): PlatformUpgradeResponse;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PlatformUpgradeResponse.AsObject; toObject(includeInstance?: boolean): PlatformUpgradeResponse.AsObject;
static toObject(includeInstance: boolean, msg: PlatformUpgradeResponse): PlatformUpgradeResponse.AsObject; static toObject(includeInstance: boolean, msg: PlatformUpgradeResponse): PlatformUpgradeResponse.AsObject;
@ -296,6 +302,7 @@ export namespace PlatformUpgradeResponse {
export type AsObject = { export type AsObject = {
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject, progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject, taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
platform?: cc_arduino_cli_commands_v1_common_pb.Platform.AsObject,
} }
} }

View File

@ -2064,7 +2064,8 @@ proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.prototype.toObject = fu
proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.toObject = function(includeInstance, msg) { proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.toObject = function(includeInstance, msg) {
var f, obj = { var f, obj = {
progress: (f = msg.getProgress()) && cc_arduino_cli_commands_v1_common_pb.DownloadProgress.toObject(includeInstance, f), progress: (f = msg.getProgress()) && cc_arduino_cli_commands_v1_common_pb.DownloadProgress.toObject(includeInstance, f),
taskProgress: (f = msg.getTaskProgress()) && cc_arduino_cli_commands_v1_common_pb.TaskProgress.toObject(includeInstance, f) taskProgress: (f = msg.getTaskProgress()) && cc_arduino_cli_commands_v1_common_pb.TaskProgress.toObject(includeInstance, f),
platform: (f = msg.getPlatform()) && cc_arduino_cli_commands_v1_common_pb.Platform.toObject(includeInstance, f)
}; };
if (includeInstance) { if (includeInstance) {
@ -2111,6 +2112,11 @@ proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.deserializeBinaryFromRe
reader.readMessage(value,cc_arduino_cli_commands_v1_common_pb.TaskProgress.deserializeBinaryFromReader); reader.readMessage(value,cc_arduino_cli_commands_v1_common_pb.TaskProgress.deserializeBinaryFromReader);
msg.setTaskProgress(value); msg.setTaskProgress(value);
break; break;
case 3:
var value = new cc_arduino_cli_commands_v1_common_pb.Platform;
reader.readMessage(value,cc_arduino_cli_commands_v1_common_pb.Platform.deserializeBinaryFromReader);
msg.setPlatform(value);
break;
default: default:
reader.skipField(); reader.skipField();
break; break;
@ -2156,6 +2162,14 @@ proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.serializeBinaryToWriter
cc_arduino_cli_commands_v1_common_pb.TaskProgress.serializeBinaryToWriter cc_arduino_cli_commands_v1_common_pb.TaskProgress.serializeBinaryToWriter
); );
} }
f = message.getPlatform();
if (f != null) {
writer.writeMessage(
3,
f,
cc_arduino_cli_commands_v1_common_pb.Platform.serializeBinaryToWriter
);
}
}; };
@ -2233,6 +2247,43 @@ proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.prototype.hasTaskProgre
}; };
/**
* optional Platform platform = 3;
* @return {?proto.cc.arduino.cli.commands.v1.Platform}
*/
proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.prototype.getPlatform = function() {
return /** @type{?proto.cc.arduino.cli.commands.v1.Platform} */ (
jspb.Message.getWrapperField(this, cc_arduino_cli_commands_v1_common_pb.Platform, 3));
};
/**
* @param {?proto.cc.arduino.cli.commands.v1.Platform|undefined} value
* @return {!proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse} returns this
*/
proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.prototype.setPlatform = function(value) {
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse} returns this
*/
proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.prototype.clearPlatform = function() {
return this.setPlatform(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.prototype.hasPlatform = function() {
return jspb.Message.getField(this, 3) != null;
};