@microtronics/studio-cli 0.29.0 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,17 +1,24 @@
1
1
 
2
2
 
3
- ## 0.29.0 (2025-04-03)
4
-
5
-
6
- ### Features
7
-
8
- * **studio-cli:** add functionality to fetch previous DDE history JSON ([ae4a22b](https://bitbucket.org/microtronics-core/vscode-studio/commits/ae4a22b704d207e52d16d524b0b11043db175484))
9
- * **studio-cli:** add the versions history.json to the apm tag ([1c3e35e](https://bitbucket.org/microtronics-core/vscode-studio/commits/1c3e35ef53d508987485103b0220a0eb84f4414c))
10
- * **studio-cli:** write the actual history.json to the dist/dde directory ([1fc5b32](https://bitbucket.org/microtronics-core/vscode-studio/commits/1fc5b3232f3d86f40bd7dfdeb9c6ef7a6d3c5491))
3
+ ## 0.29.1 (2025-04-03)
11
4
 
12
5
 
13
6
  ### Bug Fixes
14
7
 
8
+ * **studio-core:** improve container name matching and update warning format ([049c236](https://bitbucket.org/microtronics-core/vscode-studio/commits/049c236ad3c8697d3ca319f960a9ef58a752c9aa))
9
+
10
+ ## 0.29.0 (2025-04-03)
11
+
12
+
13
+ ### Features
14
+
15
+ * **studio-cli:** add functionality to fetch previous DDE history JSON ([ae4a22b](https://bitbucket.org/microtronics-core/vscode-studio/commits/ae4a22b704d207e52d16d524b0b11043db175484))
16
+ * **studio-cli:** add the versions history.json to the apm tag ([1c3e35e](https://bitbucket.org/microtronics-core/vscode-studio/commits/1c3e35ef53d508987485103b0220a0eb84f4414c))
17
+ * **studio-cli:** write the actual history.json to the dist/dde directory ([1fc5b32](https://bitbucket.org/microtronics-core/vscode-studio/commits/1fc5b3232f3d86f40bd7dfdeb9c6ef7a6d3c5491))
18
+
19
+
20
+ ### Bug Fixes
21
+
15
22
  * **studio-cli:** requesting the previous container by name was not correctly implemented ([78076a9](https://bitbucket.org/microtronics-core/vscode-studio/commits/78076a9b0fc6647e33f5ddfc0554d651fe7bc30e))
16
23
 
17
24
  ## 0.28.0 (2025-03-27)
@@ -49,7 +49,8 @@ var YamlPreCompiler;
49
49
  }
50
50
  getContainerOfPreviousVersion(containerName) {
51
51
  const previousDDE = this.previousVersion;
52
- return (Object.values(previousDDE.containers).find(containerDefinition => containerDefinition.title === containerName) || null);
52
+ const cleanContainerName = containerName.startsWith('timeseries_') ? containerName.substring(11) : containerName;
53
+ return (Object.values(previousDDE.containers).find(containerDefinition => containerDefinition.title === cleanContainerName) || null);
53
54
  }
54
55
  parseMainDDE(filePath, yaml) {
55
56
  const { parsedDDE, diagnostics } = this.parseYamlFile(filePath, yaml);
@@ -474,7 +475,7 @@ var YamlPreCompiler;
474
475
  this.fileDiagnostics.push({
475
476
  file: sourceUri,
476
477
  level: 'warning',
477
- message: `Field type changed from '${previousDefinition.type}' to '${type}'.\nChanging the type of an existing field can result in data loss or unexpected behaviour.`,
478
+ message: `Field type changed from "${previousDefinition.type}" to "${type}".\nChanging the type of an existing field can result in data loss or unexpected behaviour.`,
478
479
  ...yamlRangeToLineInformation(lineCounter, typeField.range)
479
480
  });
480
481
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microtronics/studio-cli",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "Microtronics Studio CLI Tool",
5
5
  "main": "./out/api.js",
6
6
  "typings": "./dist/studio-cli.d.ts",