Update default Edge runtime version to 1.4 LTS (#651)

* Update default Edge runtime version to 1.4 LTS

* Simulated temperature module to 1.4

* Remove rc from version tag
This commit is contained in:
Mariana Mihova 2023-01-09 14:17:47 -08:00 коммит произвёл GitHub
Родитель e459b2e743
Коммит 066c5028f7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 17 добавлений и 16 удалений

Просмотреть файл

@ -1,4 +1,8 @@
# Change Log
## 1.25.11 - 2022-12-12
### Changed
* Update default Edge runtime version to 1.4 LTS
## 1.25.10 - 2022-11-03
### Changed
* Snap to the latest simulator version 0.14.18

Просмотреть файл

@ -18,6 +18,9 @@ The Azure IoT Visual Studio Code extension is in a maintenance mode. Please see
![Added](images/multipleplatform.gif)
## What's New (v1.25.11)
* Update default Edge runtime version to 1.4 LTS
## What's New (v1.25.10)
* Snap to the latest simulator version 0.14.18

Просмотреть файл

@ -16,7 +16,7 @@
"edgeAgent": {
"type": "docker",
"settings": {
"image": "mcr.microsoft.com/azureiotedge-agent:1.2",
"image": "mcr.microsoft.com/azureiotedge-agent:1.4",
"createOptions": {}
}
},
@ -25,7 +25,7 @@
"status": "running",
"restartPolicy": "always",
"settings": {
"image": "mcr.microsoft.com/azureiotedge-hub:1.2",
"image": "mcr.microsoft.com/azureiotedge-hub:1.4",
"createOptions": {
"HostConfig": {
"PortBindings": {

Просмотреть файл

@ -2,7 +2,7 @@
"name": "azure-iot-edge",
"displayName": "Azure IoT Edge",
"description": "This extension is now a part of Azure IoT Tools extension pack. We highly recommend installing Azure IoT Tools to get full capabilities for Azure IoT development. Develop, deploy, debug, and manage your IoT Edge solution.",
"version": "1.25.10",
"version": "1.25.11",
"publisher": "vsciot-vscode",
"aiKey": "95b20d64-f54f-4de3-8ad5-165a75a6c6fe",
"icon": "logo.png",
@ -209,7 +209,7 @@
"properties": {
"azure-iot-edge.version.tempSensor": {
"type": "string",
"default": "1.0",
"default": "1.4",
"description": "Set the tempSensor image version, which will be referenced in deployment manifest."
},
"azure-iot-edge.version.cmodule": {
@ -293,15 +293,13 @@
"azure-iot-edge.version.supported.edgeRuntime": {
"type": "array",
"default": [
"1.0",
"1.1",
"1.2"
"1.4"
],
"description": "List of supported Edge Runtime images versions"
},
"azure-iot-edge.version.default.edgeRuntime": {
"type": "string",
"default": "1.2",
"default": "1.4",
"description": "Set the edgeAgent and edgeHub images version, which will be referenced in deployment manifest."
},
"azure-iot-edge.3rdPartyModuleTemplates": {

Просмотреть файл

@ -14,15 +14,11 @@ export class Versions {
public static getSchemaVersionMap(): Map<string, string> {
// Mapping between Edge Runtime version and module schema version
const edgeAgentSchemaVerMap: Map<string, string> = new Map([
["1.0", "1.0"],
["1.1", "1.1"],
["1.2", "1.1"],
["1.4", "1.4"],
]);
const edgeHubSchemaVerMap: Map<string, string> = new Map([
["1.0", "1.0"],
["1.1", "1.1"],
["1.2", "1.1"],
["1.4", "1.4"],
]);
const verMap: Map<string, string> = new Map();
@ -72,7 +68,7 @@ export class Versions {
}
public static tempSensorVersion(): string {
return Versions.getValue(Constants.versionTempSensor, "1.0") as string;
return Versions.getValue(Constants.versionTempSensor, "1.4") as string;
}
public static updateSystemModuleImageVersion(templateJson: any, moduleName: string, versionMap: Map<string, string>) {
@ -108,7 +104,7 @@ export class Versions {
}
private static getDefaultEdgeRuntimeVersion(): string {
return Versions.getValue(Constants.versionDefaultEdgeRuntime, "1.0") as string;
return Versions.getValue(Constants.versionDefaultEdgeRuntime, "1.4") as string;
}
private static getNewImageVersionJson(input: ImageJson, versionMap: Map<string, string>): string {