npm @zowe/zowe-explorer-api 3.0.0-next.202404242037
v3.0.0-next.202404242037

latest releases: 3.0.3, 3.0.2, 1.22.9...
7 months ago

Zowe Explorer

New features and enhancements

  • Implemented the FileSystemProvider for the Data Sets, Jobs and USS trees to handle all read/write actions as well as conflict resolution. #2207
  • Breaking: Removed the zowe.jobs.zosJobsOpenSpool command in favor of using vscode.open with a spool URI. See the FileSystemProvider wiki page for more information on spool URIs. #2207
  • Breaking: Removed the zowe.ds.ZoweNode.openPS command in favor of using vscode.open with a data set URI. See the FileSystemProvider wiki page for more information on data set URIs. #2207
  • Breaking: Removed the zowe.uss.ZoweUSSNode.open command in favor of using vscode.open with a USS URI. See the FileSystemProvider wiki page for more information on USS URIs. #2207
  • Added the onResourceChanged function to the ZoweExplorerApiRegister class to allow extenders to subscribe to any changes to Zowe resources (Data Sets, USS files/folders, Jobs, etc.). See the FileSystemProvider wiki page for more information on Zowe resources.
  • Added the addFileSystemEvent function to the ZoweExplorerApiRegister class to allow extenders to register their FileSystemProvider "onDidChangeFile" events. See the FileSystemProvider wiki page for more information on the FileSystemProvider.

Bug fixes

  • Fixed issue where "Allocate Like" input box placeholder was showing a localization ID instead of the intended message ("Enter a name for the new data set"). #2759
  • Fix concerns regarding Unix command handling work. #2866

Zowe Explorer Extension for FTP

New features and enhancements

  • Changed the type for the options parameter in the getContents function (MainframeInteraction.IUss and MainframeInteraction.IMvs interfaces) from zosfiles.IDownloadOptions to zosfiles.IDownloadSingleOptions. #2207
  • Added support for streams to the getContents and putContents functions (FtpMvsApi and FtpUssApi interfaces).
  • Breaking: updated the FtpMvsApi.putContents function to throw an error when an e-tag conflict is found.
    • This establishes consistency with the FtpUssApi.putContents function which has always thrown an error for this scenario.
  • Breaking: Removed the deprecated FtpUssApi.putContents function in favor of the FtpUssApi.putContent function.
    • The putContents function was deprecated in v2 in favor of the replacement function that offers the same capabilities, as well as the feature to upload from a buffer.

Bug fixes

  • Updated the SDK dependencies to 8.0.0-next.202403041352 for technical currency #2754.

Zowe Explorer APIs

New features and enhancements

  • Breaking: Marked getJobsByParameters as a required function for the MainframeInteraction.IJes interface. #2764
    • The new getJobsByParameters API is meant to replace getJobsByOwnerAndPrefix, and it adds new capabilities such as querying by status and limiting the amount of returned jobs.
  • Breaking: Removed string as a return type of the uploadFromBuffer method, since the z/OSMF API has been fixed to return a response object that includes an etag. #2785
  • Added Commands value to the PersistenceSchemaEnum enum for storing MVS, TSO, and USS command history. #2788
  • Changed the type for the options parameter in the getContents function (MainframeInteraction.IUss and MainframeInteraction.IMvs interfaces) from zosfiles.IDownloadOptions to zosfiles.IDownloadSingleOptions. #2207
    • The type was changed to match the function's intended behavior (to get the contents of a single resource).
  • Added the getEncoding optional function to the IZoweDatasetTreeNode and IZoweUSSTreeNode interfaces. #2207
    • Breaking: Removed the encoding property from the IZoweUSSTreeNode interface in favor of the new getEncoding function. #2207
  • Added an optional function nodeDataChanged to the IZoweTree interface to signal an event when a tree node needs updated. #2207
  • Added the optional vscode.DragAndDropController interface to the IZoweTree interface to allow Zowe tree views to support drag and drop. #2207
  • Added a ZoweScheme enum to expose the core FileSystemProvider schemes for USS files, data sets and jobs. #2207
  • Added optional function move to the MainframeInteraction.IUss interface to move USS folders/files from one path to another. #2207
  • Added the buildUniqueSpoolName function to build spool names for Zowe resource URIs and VS Code editor tabs. #2207
  • Added the isNodeInEditor function to determine whether a tree node is open in the editor. #2207

Bug fixes

  • Fixed an issue where the ProfilesCache class would retain old service profiles, even if they were removed from the team config. #2395
  • Breaking: issueUnixCommand API now takes sshSession as a optional parameter. #2866

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

NewReleases is sending notifications on new releases.