@microtronics/studio-cli 0.34.0 → 0.35.0

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,11 +1,18 @@
1
1
  # Changelog
2
2
 
3
- ## 0.34.0 (2025-09-12)
3
+ ## 0.35.0 (2025-09-12)
4
4
 
5
- ### Features
5
+ ### Bug Fixes
6
6
 
7
- * **cli:** add App Center routing support in API generator ([6586c8b](https://bitbucket.org/microtronics-core/vscode-studio/commits/6586c8bee9a9bdf0a803b5c0e33d04fa22092d8e))
8
- * **cli:** add support for analytics project type in manifest ([ff0f354](https://bitbucket.org/microtronics-core/vscode-studio/commits/ff0f354f3d95028a889ca87495b24ad36800b1b1))
7
+ * **cli:** expected test fixtures ([0edb940](https://bitbucket.org/microtronics-core/vscode-studio/commits/0edb940c79aacb0cc631786f141e3cb28ff5cb78))
8
+ * **cli:** replaced shallow clones with structured clones for API method objects ([f8b3a88](https://bitbucket.org/microtronics-core/vscode-studio/commits/f8b3a88b5a81ad3aa5d422a7f36ea1055068b921))
9
+
10
+ ## 0.34.0 (2025-09-12)
11
+
12
+ ### Features
13
+
14
+ * **cli:** add App Center routing support in API generator ([6586c8b](https://bitbucket.org/microtronics-core/vscode-studio/commits/6586c8bee9a9bdf0a803b5c0e33d04fa22092d8e))
15
+ * **cli:** add support for analytics project type in manifest ([ff0f354](https://bitbucket.org/microtronics-core/vscode-studio/commits/ff0f354f3d95028a889ca87495b24ad36800b1b1))
9
16
  * **cli:** enhance path generation for analytics projects ([bb0936a](https://bitbucket.org/microtronics-core/vscode-studio/commits/bb0936afdb385cc67569305c1363617df19b258a))
10
17
 
11
18
  ## 0.33.0 (2025-09-01)
@@ -469,7 +469,6 @@ function generateLegacyPathInformationFromContainer(apiDescription, containerDef
469
469
  function generatePathInformationFromContainer(apiDescription, containerDefinition, isAddonProject = false, isAnalyticsProject = false) {
470
470
  const isTimeseriesContainer = containerDefinition.containerType === ContainerType.hx;
471
471
  const containerType = isTimeseriesContainer ? 'timeseries' : 'containers';
472
- const pathParameters = [contextIdRef];
473
472
  let apiPathOptions = [];
474
473
  const containerRouteTagName = tagNameFromContainerTitle(containerDefinition.title);
475
474
  // analytic projects do not have any site
@@ -573,7 +572,6 @@ function generatePathInformationFromContainer(apiDescription, containerDefinitio
573
572
  tags: [],
574
573
  summary: `Get the historical data of "${containerDefinition.title}"`,
575
574
  parameters: [
576
- ...pathParameters,
577
575
  {
578
576
  name: 'json',
579
577
  in: 'query',
@@ -610,13 +608,13 @@ function generatePathInformationFromContainer(apiDescription, containerDefinitio
610
608
  apiDescription.paths[pathOptions.path] = methods;
611
609
  const youngestPath = `${pathOptions.path}/youngest`;
612
610
  const youngestMethod = {
613
- get: methods.get
611
+ get: structuredClone(methods.get)
614
612
  };
615
613
  youngestMethod.get.summary = `Get the youngest record of "${containerDefinition.title}" container`;
616
614
  apiDescription.paths[youngestPath] = youngestMethod;
617
615
  const oldestPath = `${pathOptions.path}/oldest`;
618
616
  const oldestMethod = {
619
- get: methods.get
617
+ get: structuredClone(methods.get)
620
618
  };
621
619
  oldestMethod.get.summary = `Get the oldest record of "${containerDefinition.title}" container`;
622
620
  apiDescription.paths[oldestPath] = oldestMethod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microtronics/studio-cli",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "description": "Microtronics Studio CLI Tool",
5
5
  "main": "./out/api.js",
6
6
  "typings": "./dist/studio-cli.d.ts",