npm @zowe/zowe-explorer-api 3.6.0

2 hours ago

Zowe Explorer

New features and enhancements

  • Replaced the comparison of checksums of the backend SSH server zowex with comparing version numbers when checking if the remote server version is outdated. #4436
  • Added a new "Export Redacted Configuration Files" command to export team configuration files with sensitive values redacted, for sharing with others when troubleshooting. #4432
  • Added functionality to automatically detect the backend SSH server on the user's $PATH on USS, and use it by default if no serverPath exists in your configuration. Also updated the plug-in to avoid deploying the SSH server binary to directories to which the user does not have write access. #4367
  • Added new VS Code toggle setting for enabling various features within Zowe Explorer. #4242
  • Added support for comma-separated job prefixes in the JOBS tree filter, matching existing data set filter behavior. #4395
  • Added support for Zowe Remote SSH capabilities. #4466
  • Added support for resolving aliases in the Zowe data set tree and when using the Zowe data set filesystem provider. #4438 & #4489
  • Added a getFileApi method to ZoweExplorerApiRegister that returns a file API for querying mainframe file system state. The initial API includes getEncodingForUri, which returns the encoding ZE has determined for a given resource URI, checking auto-detected encodings (such as USS file-tag detection) before falling back to explicitly user-selected encodings. #4474

Bug fixes

  • Fixed an issue where opening a PDS member from the table view would fail with a file not found error, if the PDS had not been expanded in the tree. #4415
  • Fixed an issue where recalling a sequential data set caused its contents to be overwritten, resulting in data loss. Now, when a data set is recalled, its contents are no longer modified. #4412
  • Fixed an issue where expanding a profile in the Favorites section uploaded empty contents to each favorited USS file, which failed for users without write access and truncated the file for users with write access. #4450
  • Fixed an issue where expanding a profile in the Favorites section uploaded empty contents to each favorited sequential data set, which failed for users without write access and truncated the data set for users with write access. #4451
  • Fixed an issue where creating a new file in a Zowe Explorer virtual workspace would silently fail, causing write operations to fail on that file as a result. #4426
  • Fixed an issue where calling the AuthUtils.errorHandling function without a moreInfo parameter would cause a runtime error. #4399
  • Fixed Zowe Explorer failing to activate in the VS Code web extension host (vscode.dev), which was blocking dependent extensions from activating. #4389
  • Renamed 'Display in Tree' to 'Locate in Tree' in table views to improve clarity. #3771
  • Added error handling for a "Could not list members" error that appears when deleting an expanded PDS using an SSH profile. #768
  • Fixed an issue where valuable details in error messages were truncated, particularly when using SSH profiles. zowex/#766
  • Fixed "Open Selected Data Set" action opening data sets in the z/OSMF tree instead of the originating extender profile's tree when invoked from a spool file. #4372
  • Fixed an issue where updating the vault information might lead to a loop of the ON_VAULT_CHANGED handler calls. #4272
  • Fixed an issue where the USS directory detection heuristic could crash when extenders return the items array property as undefined/null or omit the apiResponse response object, and added empty-list fallback paths for extender compatibility. #4192
  • Fixed an issue where the "Open" action in the data sets table did not validate the URI before opening it. #4416
  • Fixed an issue where opening a PDS member with a recognized file extension (such as JCL) from the data sets table would fail. #4416
  • Fixed an issue where right-clicking a filtered USS directory (session profile node with an active path filter) showed fewer context menu options than a regular directory node in the tree. #4289
  • Fixed an issue where migrated data sets were sorted incorrectly in favorites. #4371
  • Updated js-yaml and nanoid dependencies for technical currency. #4447
  • Fixed an issue where the selected profile name changed after the first Unix command was executed. #4446
  • Fixed an issue where the pound sign in a resource URI caused the data sets table view to strip off part of the resource path, causing table actions to fail. Now, supported characters are preserved in URIs when passed to the data sets table. #4467
  • Fixed an issue where a data set that was already cached locally would not be re-fetched from the mainframe when explicitly requested (fetch=true), causing stale data to be returned. #4476
  • Updated sanitize-html dependency for technical currency. #4478

Zowe Explorer APIs

New features and enhancements

  • Added handleError and errorMessage utility functions to eliminate repetitive if (err instanceof Error) patterns across the codebase. #4207
  • Added a function isEnabledInSettings to the FeatureFlags class, which checks VS Code settings to see if a given Zowe Explorer feature ID is enabled. #4242
  • Added a function trimExtension in the FsDatasetsUtils class for stripping extension suffix off of a data set name. #4326
  • Added a trackRows method to the Table.View class for registering rows that were delivered to the webview outside of the standard update flow. #4416
  • Added an optional resolveAlias function to the MainframeInteraction.IMvs interface, initially only implemented by the ZoweExplorerZosmf class. #4438
  • Added encodingMap to the BaseProvider class, exposing the encoding map for extenders that need to query or override the encoding for a given resource URI. #4474
  • Added getFileApi and IZoweExplorerFileApi to Types.IApiRegisterClient, exposing a getEncodingForUri function that extenders can use to retrieve the encoding ZE has determined for a resource URI. #4474
  • Added support for resolving data set aliases when using SSH profiles in the SshMvsApi class. #4489

Bug fixes

  • Fixed an issue where the promptUserPass function would incorrectly reject an empty username when its rePrompt parameter was false. #4378
  • Fixed an issue where the ZoweVsCodeExtension.workspaceRoot function getter could return a non-existent local directory. Now, invalid directory paths are ignored by Zowe Explorer and only valid paths are considered as the workspace root. #4271
  • Fixed an issue where executing Unix commands could fail if the current working directory path contained certain special characters. #4330
  • Deprecated support for string type in condition property of TableView actions. Use a function instead. #4363
  • Updated sanitize-html dependency for technical currency. #4478

Zowe Remote SSH APIs

  • Added a visual progress indicator in the VS Code status bar while the Zowe Remote SSH server is starting or reconnecting, so users can see when ZRS is active rather than waiting without feedback. #4449
  • Added support for searching data set members with an SSH profile. #4457
  • Fixed an issue where the "Reload" and "Reload and Retry" actions did nothing after a Zowe Remote SSH connection dropped, and where an error raised before the session was cached could prevent the prompt from appearing at all. Reconnecting now reports progress and confirms on success, and repeated failures no longer stack duplicate prompts for the same profile. #4425
  • Fixed an issue with the updateAttributes function in the SshUssApi class that caused the API's success property to always return false. #4348
  • Fixed an issue where the SshJesApi.getJobsByParameters function did not provide the status parameter to the request. Now, jobs are correctly filtered by status. #4345
  • Implemented the issueUnixCommand function, allowing users to issue z/OS UNIX commands with an SSH profile. #4337
  • Added the functionality to copy data sets and members in the DATA SETS tree. #377
  • Updated the promptForProfile function to deprioritize project-level configurations and disable profile creation during zowex server uninstall and restart operations. #4224
  • Breaking: Refactored the code to be directly integrated into Zowe Explorer. #4210
  • Breaking: Changed the following settings to align with Zowe Explorer. #4210
    • zowex-vsce.requestTimeout -> zowe.settings.requestTimeout
    • All other settings, replace the setting prefix zowex-vsce with zowe.zowex
  • Fixed error handling of methods in SshMvsApi class so that errors are thrown and propagated to extenders. #917
  • Fixed error where the encoding was not being passed when attempting to open spool files with an encoding. #983

Don't miss a new zowe-explorer-api release

NewReleases is sending notifications on new releases.