Skip to content
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

revert(cli): Downgrade the CLI version to 0.32.2 #2118

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
Expand Up @@ -170,7 +170,7 @@
],
"arduino": {
"cli": {
"version": "0.33.0"
"version": "0.32.2"
},
"fwuploader": {
"version": "2.2.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -36,7 +33,6 @@ export namespace BoardDetailsRequest {
export type AsObject = {
instance?: cc_arduino_cli_commands_v1_common_pb.Instance.AsObject,
fqbn: string,
doNotExpandBuildProperties: boolean,
}
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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>,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -593,13 +588,6 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.serializeBinaryToWriter = f
f
);
}
f = message.getDoNotExpandBuildProperties();
if (f) {
writer.writeBool(
3,
f
);
}
};


Expand Down Expand Up @@ -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];



Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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
);
}
};


Expand Down Expand Up @@ -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([]);
};





Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -291,8 +285,6 @@ export namespace Platform {
deprecated: boolean,
typeList: Array<string>,
help?: HelpResources.AsObject,
indexed: boolean,
missingMetadata: boolean,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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
);
}
};


Expand Down Expand Up @@ -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);
};





Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -136,7 +133,6 @@ export namespace CompileRequest {
signKey: string,
encryptKey: string,
skipLibrariesDiscovery: boolean,
doNotExpandBuildProperties: boolean,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -493,13 +488,6 @@ proto.cc.arduino.cli.commands.v1.CompileRequest.serializeBinaryToWriter = functi
f
);
}
f = message.getDoNotExpandBuildProperties();
if (f) {
writer.writeBool(
29,
f
);
}
};


Expand Down Expand Up @@ -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.
Expand Down
Loading