diff --git a/.github/workflows/build-configmgr.yml b/.github/workflows/build-configmgr.yml index 15f34aae1..350a4bd6b 100644 --- a/.github/workflows/build-configmgr.yml +++ b/.github/workflows/build-configmgr.yml @@ -91,6 +91,6 @@ jobs: if: ${{ github.event.inputs.PERFORM_RELEASE == 'true' }} uses: zowe-actions/zlux-builds/bump-zis-version@v2.x/main with: - version: 'PATCH' + version: 'MINOR' env: GITHUB_TOKEN: ${{ secrets.ZOWE_ROBOT_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c00b744c..c105de66e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Zowe Common C Changelog +## `2.10.0` + +- Feature: The configmgr can now use the 'zos' module in YAML config templates. The 'zos' module is only added when run on ZOS. For a list of available functions, see https://github.com/zowe/zowe-install-packaging/blob/v2.x/staging/build/zwe/types/%40qjstypes/zos.d.ts (#384) +- Bugfix: configmgr parsing of yaml to json was limited to 256 characters for strings. This has been updated to 1024 to allow for up to max unix path strings. (#383) + ## `2.9.0` - Feature: configmgr's zos module now has a "resolveSymbol" function which takes a string starting with & which can be used to resolve static and dynamic zos symbols diff --git a/build/configmgr.proj.env b/build/configmgr.proj.env index 8c9d29e9a..93945819e 100644 --- a/build/configmgr.proj.env +++ b/build/configmgr.proj.env @@ -1,5 +1,5 @@ PROJECT="configmgr" -VERSION=2.9.0 +VERSION=2.10.0 DEPS="QUICKJS LIBYAML" QUICKJS="quickjs" diff --git a/c/embeddedjs.c b/c/embeddedjs.c index cd6c5f8bd..83d7d76a2 100644 --- a/c/embeddedjs.c +++ b/c/embeddedjs.c @@ -1992,7 +1992,7 @@ JSModuleDef *ejsModuleLoader(JSContext *ctx, if (endsWith(nativeName,".js") || endsWith(nativeName,".mjs")){ /* printf("module filename already has extension '%s'\n",nativeName); */ - memcpy(nameToLoad, moduleName, modNameLen); + memcpy(nameToLoad, moduleName, modNameLen); } else { memcpy(nameToLoad, moduleName, modNameLen); memcpy(nameToLoad + modNameLen, asciiDotJS, sizeof(asciiDotJS)); diff --git a/c/yaml2json.c b/c/yaml2json.c index fa234d3ad..dc343bff7 100644 --- a/c/yaml2json.c +++ b/c/yaml2json.c @@ -925,7 +925,7 @@ static int emitScalar(yaml_emitter_t *emitter, char *scalar, char *tag, int styl static int writeJsonAsYaml1(yaml_emitter_t *emitter, Json *json){ yaml_event_t event; - char scalarBuffer[256]; + char scalarBuffer[MAX_ACCESS_PATH]; if (jsonIsArray(json)){ JsonArray *array = jsonAsArray(json); int elementCount = jsonArrayGetCount(array); diff --git a/manifest.template.yaml b/manifest.template.yaml index 1e8b38f8d..0131e2e36 100644 --- a/manifest.template.yaml +++ b/manifest.template.yaml @@ -1,7 +1,7 @@ --- name: zowe-common-c -version: 2.9.0 +version: 2.10.0 homepage: https://zowe.org keywords: