Skip to content

Revert "chore(cli): Bumped the CLI version to 0.33.0" #2119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arduino-ide-extension/package.json
Original file line number Diff line number Diff line change
@@ -170,7 +170,7 @@
],
"arduino": {
"cli": {
"version": "0.33.0"
"version": "0.32.2"
},
"fwuploader": {
"version": "2.2.2"
Original file line number Diff line number Diff line change
@@ -18,9 +18,6 @@ export class BoardDetailsRequest extends jspb.Message {
getFqbn(): string;
setFqbn(value: string): BoardDetailsRequest;

getDoNotExpandBuildProperties(): boolean;
setDoNotExpandBuildProperties(value: boolean): BoardDetailsRequest;


serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BoardDetailsRequest.AsObject;
@@ -36,7 +33,6 @@ export namespace BoardDetailsRequest {
export type AsObject = {
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
fqbn: string,
doNotExpandBuildProperties: boolean,
}
}

@@ -97,11 +93,6 @@ export class BoardDetailsResponse extends jspb.Message {
setIdentificationPropertiesList(value: Array<BoardIdentificationProperties>): BoardDetailsResponse;
addIdentificationProperties(value?: BoardIdentificationProperties, index?: number): BoardIdentificationProperties;

clearBuildPropertiesList(): void;
getBuildPropertiesList(): Array<string>;
setBuildPropertiesList(value: Array<string>): BoardDetailsResponse;
addBuildProperties(value: string, index?: number): string;


serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BoardDetailsResponse.AsObject;
@@ -129,7 +120,6 @@ export namespace BoardDetailsResponse {
programmersList: Array<cc_arduino_cli_commands_v1_common_pb.Programmer.AsObject>,
debuggingSupported: boolean,
identificationPropertiesList: Array<BoardIdentificationProperties.AsObject>,
buildPropertiesList: Array<string>,
}
}

Original file line number Diff line number Diff line change
@@ -498,8 +498,7 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.prototype.toObject = functi
proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.toObject = function(includeInstance, msg) {
var f, obj = {
instance: (f = msg.getInstance()) && cc_arduino_cli_commands_v1_common_pb.Instance.toObject(includeInstance, f),
fqbn: jspb.Message.getFieldWithDefault(msg, 2, ""),
doNotExpandBuildProperties: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
fqbn: jspb.Message.getFieldWithDefault(msg, 2, "")
};

if (includeInstance) {
@@ -545,10 +544,6 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.deserializeBinaryFromReader
var value = /** @type {string} */ (reader.readString());
msg.setFqbn(value);
break;
case 3:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDoNotExpandBuildProperties(value);
break;
default:
reader.skipField();
break;
@@ -593,13 +588,6 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.serializeBinaryToWriter = f
f
);
}
f = message.getDoNotExpandBuildProperties();
if (f) {
writer.writeBool(
3,
f
);
}
};


@@ -658,31 +646,13 @@ 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.
* @private {!Array<number>}
* @const
*/
proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.repeatedFields_ = [10,11,13,15,16];
proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.repeatedFields_ = [10,11,13,15];



@@ -732,8 +702,7 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.toObject = function(includ
cc_arduino_cli_commands_v1_common_pb.Programmer.toObject, includeInstance),
debuggingSupported: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
identificationPropertiesList: jspb.Message.toObjectList(msg.getIdentificationPropertiesList(),
proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.toObject, includeInstance),
buildPropertiesList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f
proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.toObject, includeInstance)
};

if (includeInstance) {
@@ -832,10 +801,6 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.deserializeBinaryFromReade
reader.readMessage(value,proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.deserializeBinaryFromReader);
msg.addIdentificationProperties(value);
break;
case 16:
var value = /** @type {string} */ (reader.readString());
msg.addBuildProperties(value);
break;
default:
reader.skipField();
break;
@@ -969,13 +934,6 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.serializeBinaryToWriter =
proto.cc.arduino.cli.commands.v1.BoardIdentificationProperties.serializeBinaryToWriter
);
}
f = message.getBuildPropertiesList();
if (f.length > 0) {
writer.writeRepeatedString(
16,
f
);
}
};


@@ -1349,43 +1307,6 @@ 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([]);
};





Original file line number Diff line number Diff line change
@@ -260,12 +260,6 @@ export class Platform extends jspb.Message {
getHelp(): HelpResources | undefined;
setHelp(value?: HelpResources): Platform;

getIndexed(): boolean;
setIndexed(value: boolean): Platform;

getMissingMetadata(): boolean;
setMissingMetadata(value: boolean): Platform;


serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Platform.AsObject;
@@ -291,8 +285,6 @@ export namespace Platform {
deprecated: boolean,
typeList: Array<string>,
help?: HelpResources.AsObject,
indexed: boolean,
missingMetadata: boolean,
}
}

Original file line number Diff line number Diff line change
@@ -1637,9 +1637,7 @@ proto.cc.arduino.cli.commands.v1.Platform.toObject = function(includeInstance, m
manuallyInstalled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
typeList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : 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)
help: (f = msg.getHelp()) && proto.cc.arduino.cli.commands.v1.HelpResources.toObject(includeInstance, f)
};

if (includeInstance) {
@@ -1726,14 +1724,6 @@ proto.cc.arduino.cli.commands.v1.Platform.deserializeBinaryFromReader = function
reader.readMessage(value,proto.cc.arduino.cli.commands.v1.HelpResources.deserializeBinaryFromReader);
msg.setHelp(value);
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:
reader.skipField();
break;
@@ -1849,20 +1839,6 @@ proto.cc.arduino.cli.commands.v1.Platform.serializeBinaryToWriter = function(mes
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
);
}
};


@@ -2140,42 +2116,6 @@ 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);
};





Original file line number Diff line number Diff line change
@@ -95,9 +95,6 @@ export class CompileRequest extends jspb.Message {
getSkipLibrariesDiscovery(): boolean;
setSkipLibrariesDiscovery(value: boolean): CompileRequest;

getDoNotExpandBuildProperties(): boolean;
setDoNotExpandBuildProperties(value: boolean): CompileRequest;


serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): CompileRequest.AsObject;
@@ -136,7 +133,6 @@ export namespace CompileRequest {
signKey: string,
encryptKey: string,
skipLibrariesDiscovery: boolean,
doNotExpandBuildProperties: boolean,
}
}

Original file line number Diff line number Diff line change
@@ -155,8 +155,7 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.toObject = function(includeInsta
keysKeychain: jspb.Message.getFieldWithDefault(msg, 25, ""),
signKey: jspb.Message.getFieldWithDefault(msg, 26, ""),
encryptKey: jspb.Message.getFieldWithDefault(msg, 27, ""),
skipLibrariesDiscovery: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
doNotExpandBuildProperties: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
skipLibrariesDiscovery: jspb.Message.getBooleanFieldWithDefault(msg, 28, false)
};

if (includeInstance) {
@@ -293,10 +292,6 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.deserializeBinaryFromReader = fu
var value = /** @type {boolean} */ (reader.readBool());
msg.setSkipLibrariesDiscovery(value);
break;
case 29:
var value = /** @type {boolean} */ (reader.readBool());
msg.setDoNotExpandBuildProperties(value);
break;
default:
reader.skipField();
break;
@@ -493,13 +488,6 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.serializeBinaryToWriter = functi
f
);
}
f = message.getDoNotExpandBuildProperties();
if (f) {
writer.writeBool(
29,
f
);
}
};


@@ -1034,24 +1022,6 @@ 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.
Original file line number Diff line number Diff line change
@@ -282,12 +282,6 @@ export class PlatformUpgradeResponse extends jspb.Message {
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;
toObject(includeInstance?: boolean): PlatformUpgradeResponse.AsObject;
static toObject(includeInstance: boolean, msg: PlatformUpgradeResponse): PlatformUpgradeResponse.AsObject;
@@ -302,7 +296,6 @@ export namespace PlatformUpgradeResponse {
export type AsObject = {
progress?: cc_arduino_cli_commands_v1_common_pb.DownloadProgress.AsObject,
taskProgress?: cc_arduino_cli_commands_v1_common_pb.TaskProgress.AsObject,
platform?: cc_arduino_cli_commands_v1_common_pb.Platform.AsObject,
}
}

Original file line number Diff line number Diff line change
@@ -2064,8 +2064,7 @@ proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.prototype.toObject = fu
proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.toObject = function(includeInstance, msg) {
var f, obj = {
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),
platform: (f = msg.getPlatform()) && cc_arduino_cli_commands_v1_common_pb.Platform.toObject(includeInstance, f)
taskProgress: (f = msg.getTaskProgress()) && cc_arduino_cli_commands_v1_common_pb.TaskProgress.toObject(includeInstance, f)
};

if (includeInstance) {
@@ -2112,11 +2111,6 @@ proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.deserializeBinaryFromRe
reader.readMessage(value,cc_arduino_cli_commands_v1_common_pb.TaskProgress.deserializeBinaryFromReader);
msg.setTaskProgress(value);
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:
reader.skipField();
break;
@@ -2162,14 +2156,6 @@ proto.cc.arduino.cli.commands.v1.PlatformUpgradeResponse.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
);
}
};


@@ -2247,43 +2233,6 @@ 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;
};