diff --git a/CHANGELOG.md b/CHANGELOG.md index d064b77..a668bc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change Log +## 1.24.4 - 2021-10-01 +### Changed +* Maximum version number for edgeHub/properties.desired.schemaVersion is capped to 1.1 + ## 1.24.3 - 2021-7-27 ### Changed * Allow user to select Edge Runtime version between 1.2 diff --git a/assets/solution/deployment.template.json b/assets/solution/deployment.template.json index c6d92d3..eac9d15 100644 --- a/assets/solution/deployment.template.json +++ b/assets/solution/deployment.template.json @@ -55,7 +55,7 @@ }, "$edgeHub": { "properties.desired": { - "schemaVersion": "1.2", + "schemaVersion": "1.1", "routes": {}, "storeAndForwardConfiguration": { "timeToLiveSecs": 7200 diff --git a/package-lock.json b/package-lock.json index 08761ef..d60e594 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "azure-iot-edge", - "version": "1.24.2", + "version": "1.24.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2b52726..e35809e 100644 --- a/package.json +++ b/package.json @@ -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.24.3", + "version": "1.24.4", "publisher": "vsciot-vscode", "aiKey": "95b20d64-f54f-4de3-8ad5-165a75a6c6fe", "icon": "logo.png", diff --git a/src/common/version.ts b/src/common/version.ts index 9559793..256205f 100644 --- a/src/common/version.ts +++ b/src/common/version.ts @@ -22,7 +22,7 @@ export class Versions { const edgeHubSchemaVerMap: Map = new Map([ ["1.0", "1.0"], ["1.1", "1.1"], - ["1.2", "1.2"], + ["1.2", "1.1"], ]); const verMap: Map = new Map(); diff --git a/testResources/deployment.template.json b/testResources/deployment.template.json index d482b0d..2de5772 100644 --- a/testResources/deployment.template.json +++ b/testResources/deployment.template.json @@ -147,7 +147,7 @@ }, "$edgeHub": { "properties.desired": { - "schemaVersion": "1.2", + "schemaVersion": "1.1", "routes": { "sensorToFilter": "FROM /messages/modules/SimulatedTemperatureSensor/outputs/temperatureOutput INTO BrokeredEndpoint(\"/modules/%MODULE%/inputs/input1\")", "filterToIoTHub": "FROM /messages/modules/samplemodule/outputs/output1 INTO $upstream"