npm @zowe/cli 8.44.0

2 hours ago

Zowe CLI

  • Enhancement: Added the --max-response-bytes option to the zowe zos-files view data-set, zowe zos-files view uss-file, zowe zos-jobs view spool-file-by-id, and zowe zos-jobs view all-spool-content commands. These commands now fail if the content to display (for all-spool-content, the content of any one spool file) is larger than 64 MiB by default; increase the limit using this option to view larger content. When the limit is exceeded, the error suggests downloading the content to a file instead of viewing it. #3011
  • BugFix: Fixed an issue where data set names with only one qualifier would be rejected by some commands such as the zowe files list alias command. #3013

Imperative

  • BugFix: Preserve environment variable references when saving configuration, including values parsed as JSON, without changing the resolved values held in memory. #3022
  • BugFix: Improved handling of command argument values in log messages and diagnostic output. #3018
  • Enhancement: Added the maxBufferedResponseBytes and maxDecompressedResponseBytes options to IRestOptions and IOptionsFullResponse, with defaults in RestConstants, to bound memory used by REST responses. The CompressionUtils.decompressBuffer and CompressionUtils.decompressStream functions also take a decompressed-output limit. #3011
  • Enhancement: Added an optional limits parameter to RestClient.getExpectString and an optional maxBytes limit to the BufferBuilder class constructor so callers can set response size limits for buffered requests and in-memory stream collection. #3011
  • Breaking: REST requests now fail with an ImperativeError if a response accumulates more than 64 MiB in memory (buffered responses, compressed or not, and HTTP error bodies of streamed requests), if decompressing a buffered response produces more than 64 MiB, or if decompressing a streamed response produces more than 8 GiB. Callers that expect larger responses must set the maxBufferedResponseBytes or maxDecompressedResponseBytes options. Errors for in-memory size limits suggest downloading the content to a file instead of viewing it. Output already written to a responseStream when a limit is exceeded is incomplete. #3011
  • BugFix: A failed response (size limit, decompression error, or response stream error) now destroys the incoming response and the decoding streams, ignores later data/end events, and is not retried as a connection reset. Failure rejection waits for response stream teardown so partial output files can be removed safely on Windows. Streamed responses now pause the incoming response while the response stream is full. #3011
  • BugFix: Updated configuration redaction to use unnumbered placeholders for censored properties. #3017

Secrets SDK

  • BugFix: Updated the transitive futures-util dependency to remove the unmaintained pin-utils crate. #3005

z/OS Files SDK

  • Enhancement: Added the maxDecompressedResponseBytes option to the IDownloadSingleOptions and IDownloadOptions interfaces to override the new 8 GiB limit on the decompressed size of a data set or USS file download. Exceeding the limit fails the download and leaves the output incomplete. #3011
  • Enhancement: Added the maxBufferedResponseBytes option to the IGetOptions, IDownloadSingleOptions, and IDownloadOptions interfaces. The Get.dataSet and Get.USSFile functions, which hold the whole content in memory, now fail with an error if it exceeds this limit, which defaults to 64 MiB; increase the limit to view larger content. For downloads it limits buffered HTTP error bodies. #3011
  • BugFix: Added check in ZosFilesUtils class's getDirsFromDataSet function to ensure data set names are valid. #3007
  • BugFix: Fixed an issue where data set names with only one qualifier would be rejected by the ZosFilesUtils.validateDSN method. #3013
  • BugFix: Added check in ZosFilesUtils class's getDirsFromDataSet to ensure data set names are valid. #3007

z/OS Jobs SDK

  • Enhancement: Added the maxBufferedResponseBytes and maxDecompressedResponseBytes options to IGetJclParms and an optional limits parameter to the GetJobs.getSpoolContent, getSpoolContentById, and getSpoolContentCommon functions. JCL and spool content responses larger than the new 64 MiB default limits can now be retrieved by increasing them. #3011

Don't miss a new cli release

NewReleases is sending notifications on new releases.