npm @zowe/zowe-explorer-api 3.3.0

9 hours ago

Zowe Explorer

New features and enhancements

  • Added VSCode setting to allow users to enable and disable using the default TSO profile for issuing TSO commands. The default is set to true if a default TSO profile is set as the default. #2528
  • Added capability for extenders to provide additional attributes for data sets. #3730
  • Added hostname validation to prevent encountering a VS Code Proxy bug that occurs when attempting to connect to a z/OSMF server with the protocol specified as part of the hostname. #3364
  • Added a zowe.settings.socketConnectTimeout setting to provide users with the ability to specify a connection timeout for REST requests. #3379
  • Added a zowe.settings.requestTimeout setting to provide users with the ability to specify a request timeout for REST requests. #3631
  • Added the ability to open a data set from text selected in an Editor tab. #3679
  • Added a Release Notes page which opens when VS Code is launched or from the command palette Display Release Notes. The zowe.settings.displayReleaseNotes setting can be changed to set when the release notes display. #3621
  • Added support for asynchronous operations when using integrated terminals. #3640
  • Added support for TTY-dependent scripts when using integrated terminals. #3640
  • Adjusted formatting for the certificate selection webview to make better use of space. #3754
  • Added the ability to poll on active jobs in the current filtered jobs tree. If an active job completes while polling, a notification that the job has completed displays. #3472
  • Added "Show as Table" option for profiles with search patterns in the Data Sets tree. Users can now right-click on a profile in the Data Sets tree with a search pattern set and select "Show as Table" to view matching data sets in a tabular format. #3583
  • Added "Show as Table" option for partitioned data sets. Users can now right-click on a partitioned data set in the Data Sets tree and select "Show as Table" to view its members in a tabular format. #3583
  • Added "Zowe Explorer: List Data Sets" command. Users can now run this command from the command palette to be prompted for a search pattern and display the matching data sets in a table view. #3583
  • When the user types in a data set pattern in the input box of the filter selection prompt, the "Create a new filter" option now updates to include the pattern. Once clicked, the new filter is added to the user's search history and the pattern is used for listing data sets. #3015
  • When the user types in a USS file path in the input box of the filter selection prompt, the "Create a new filter" option now updates to include the file path. Once clicked, the new filter is added to the user's search history and the path is used for listing a USS directory. #3015
  • Added "Upload with Encoding" option for USS directories and partitioned data sets. Users can now right-click on a directory or PDS in the USS or Data Sets tree and select "Upload with Encoding..." to choose a character encoding for the uploaded files. #3193
  • The selected sort order for a data set is now persisted between sessions. #3798

Bug fixes

  • Fixed a bug where a password prompt appeared when validating SSH profiles even if a valid privateKey is provided. #3645
  • Fixed a bug where renaming a USS file that used to exist but was deleted in z/OS resulted in an error. #3485.
  • Fixed a bug where USS and data set workspace folders accessed via an extender (SSH, FTP, etc) are not loaded until the window is reloaded. #3689
  • Fixed a bug where USS files and data set VS Code editors accessed by an extender (SSH, FTP, etc) are not restored when reloading/reopening a window. #3678
  • Fixed an issue where an incorrect profile name is shown in the output for the "Issue Unix Command" function when an SSH profile is required to issue commands. #3646
  • Improved integrated terminal behavior to match standard terminal functionality. Now, users can smoothly maintain proper cursor position when typing and backspacing. #3391
  • Fixed an issue where cancelling multiple commands in rapid succession could render the terminal unusable. #3640
  • Fixed an issue where a 401 Unauthorized error is thrown by the FileSystemProvider implementations when the user cancels or closes an authentication prompt. Now, the filesystem throws a more explicit AuthCancelledError in this scenario. #3662
  • Fixed an issue where renaming or deleting the team configuration file caused an unhandled exception in Zowe Explorer, causing old, non-existent profiles to remain in the tree views. #3772
  • Fixed a regression with the AuthUtils.syncSessionNode function that caused Zowe Explorer logic to stop unexpectedly if a session node did not yet have a rich hover tooltip. #3795
  • Fix for profile status check when certificate authentication is used and an invalid certificate is used. #3699
  • Prevented data loss by modifying the save process to handle data sets with records that exceeded the logical record length. #3791
  • Fixed cross-LPAR PDS transfers to preserve original DCB attributes and prevent binary data corruption. Data is now transferred as binary, and the encoding is respected if previously set by the user. #3731
  • Fixed copy/paste functionality of data sets for extender-type profiles by using SharedContext helper functions. #3815
  • Fixed issue where the getChildren function made requests repeatedly while the data set filter prompt was open, causing repeated authentication prompts and excessive requests for listing data sets. #3807

IBM z/OS FTP for Zowe Explorer

New features and enhancements

  • Changed the response field names for the FtpMvsApi.allMembers function from "created" and "changed" to "c4date" and "m4date" to be consistent with the z/OSMF API response format for a PDS member list. #3751
  • Replaced use of tmp dependency with Node.js functions for temporary file creation when downloading data sets and USS file contents. #3805
  • Updated Zowe SDKs to 8.26.1 for technical currency. #3696
  • Updated the extension name to "Zowe® Explorer for IBM® z/OS® FTP" to align with Zowe branding standards. #3836

Bug fixes

  • Fixed an issue where USS directories could not be loaded via FTP as virtual workspaces. #3763
  • Fixed an issue where the UssApi.uploadDirectory function did not properly parse the file name from the input file paths, causing incorrect file paths to be used for the USS destination path. #3805

Zowe Explorer APIs

New features and enhancements

  • Deprecated protected _lookupParentDirectory() and redefined it as a public lookupParentDirectory() method. [#3485] (#3485)
  • Added DataSetAttributesProvider class to allow extenders to provide additional attributes for data sets. #3730
  • Added the handling of cause error details in the ErrorCorrelator. #3611
  • Added hostname validation to prevent encountering a VSCode Proxy bug that occurs when attempting to connect to a z/OSMF server with the protocol specified as part of the hostname. #3364
  • Added a zowe.settings.socketConnectTimeout setting to provide users with the ability to specify a connection timeout for REST requests. #3379
  • Added a zowe.settings.requestTimeout setting to provide users with the ability to specify a timeout for REST requests. #3631
  • Updated Zowe SDKs to 8.20.0 for technical currency. #3631
  • Added new option viewColumn to WebViewOpts to allow extenders to specify the column in which the webview should be displayed. #3657
  • Added new option iconPath to WebViewOpts to allow extenders to specify the light and dark icon paths for the webview. #3657
  • Added support for asynchronous operations when using integrated terminals. #3640
  • Added support for TTY-dependent scripts when using integrated terminals. #3640
  • Added an option throwErrorOnCancel to the AuthPromptParams interface (defines parameters passed to authentication prompt functions). When this option is true, an error is thrown when the user cancels or dismisses an authentication prompt. #3662
  • Updated the messages for the authentication prompts to guide the user on how to continue using their profile if they dismiss the prompt. #3662
  • Added dynamic title support for table view actions through the DynamicTitle type, allowing action titles to be computed based on selected row data. Action titles can now be functions that receive row data and return a string or Promise<string>. #3751
  • Added dynamic hide condition support for table view actions through the hideCondition property on the Table.Action type. Actions can now be conditionally hidden from the UI based on the selected row data. #3751
  • Added support for no-selection actions in table views through the NoSelectionCallback type. Actions can now be executed without requiring any row selection by using the "no-selection" callback type. #3751
  • Added row pinning functionality to table views with new APIs: pinRows() to pin specific rows to the top of the grid, unpinRows() to unpin rows, getPinnedRows() to retrieve currently pinned rows, and setPinnedRows() to replace all pinned rows with a new set. #3751
  • Added waitForAPI() function to the Table.View class to allow extensions to wait for the AG Grid API to be fully initialized before performing operations on the table view. #3751
  • Added grid state management functions getGridState() and setGridState() to the Table.View class to allow extensions to save and restore the complete state of the table view, including column positions, sorting, filtering, and other grid configurations. #3751
    New ProfilesCache.isCertFileValid() method to check validity of profile's certificate file if certificate auth used, returning a boolean value. #3699
  • Changed request property in the PollRequest type to now support both asynchronous and synchronous functions. #3764

Bug fixes

  • BugFix: Resolved a bug where extenders adding ssh or base to allTypes on ProfileCache will result in duplicate nodes when adding a profile of that type in Zowe Explorer. #3625
  • Fixed error message shown when creating a config file that already exists. #3647
  • Fixed wrong error message received when accessing a mainframe resource with a file system URI containing invalid profile name. #3760
  • Fixed regression with the ZoweTreeNode.getProfile function that caused unhandled exceptions to occur when a profile is no longer accessible. #3772

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

NewReleases is sending notifications on new releases.