All notable changes to the "zowe-explorer-api" extension will be documented in this file.
- Removal of V1 profile support. #2072
- Removal of deprecated APIs. Check the list of APIs that were removed.
- Migrated from
@zowe/cli
dependency package to individual Zowe8.0.0
SDK packages for Zowe V3 support. #2719 - Added
madge
dependency and script inpackage.json
to track circular dependencies. #2148 - Removed
handlebars
dependency in favor ofmustache
for technical currency purposes. #2975 - Migrated to new package manager PNPM from Yarn.
- Grouped Common methods into Singleton classes. #2109
- Implemented support for building, exposing and displaying table views within Zowe Explorer. Tables can be customized and exposed using the helper facilities (
TableBuilder
andTableMediator
) for an extender's specific use case. For more information on how to configure and show tables, please refer to the wiki article on Table Views. #2258 - Enhanced the
ZoweVsCodeExtension.loginWithBaseProfile
andZoweVsCodeExtension.logoutWithBaseProfile
methods to store SSO token in parent profile when nested profiles are in use. #2264 - Added new
getJobsByParameters
API is meant to replacegetJobsByOwnerAndPrefix
, and it adds new capabilities such as querying by status and limiting the amount of returned jobs. - Added the
BaseProfileAuthOptions
interface to define base profile authentication options for SSO login and logout. #3076 - Added
extensionRemovedFromPath
private function to theDsEntry
class to allow removing the extension from a data set before making API calls. #3121 - Added optional
patternMatches
property to theIZoweDatasetTreeNode
interface to cache pattern matches from an applied filter search. #1164 - Added an optional function
openWithEncoding
to theIZoweTree
interface to open file using encoding specified by user. #2931 - Added the
onVaultUpdate
VSCode event to notify extenders when credentials are updated on the OS vault by other applications. #2994 - Added the
onCredMgrsUpdate
VSCode event to notify extenders when the local PC's credential manager has been updated by other applications. #2994 - Added
Commands
value to thePersistenceSchemaEnum
enum for storing MVS, TSO, and USS command history. #2788 - Added the
getEncoding
optional function to theIZoweDatasetTreeNode
andIZoweUSSTreeNode
interfaces. #2207 - Added an optional function
nodeDataChanged
to theIZoweTree
interface to signal an event when a tree node needs updated. #2207 - Added the optional
vscode.DragAndDropController
interface to theIZoweTree
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 theMainframeInteraction.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 - Added Created Date to
stats
optional variable for storing dataset stats #2565 - Added Date created to DatasetSortOpts enum #2565
- Added new
ProfilesCache.convertV1ProfToConfig
API endpoint for extenders migrating from v1 profiles to team configuration files. #2284 - Added new APIs for Issue UNIX Command. #1326
- Updated the
ProfilesCache.getProfiles
method to return empty list instead of undefined when there are no profiles. #2947 - Updated the
TableViewProvider.setTableView
function to show the Zowe Resources panel if a table is provided. Ifnull
is passed, the Zowe Resources panel will be hidden. #3113 - Updated
Table.Conditional
andTable.Callback
types to support multi-row callbacks. - Renamed the
_lookup
function tolookup
in theBaseProvider
class and updated its access to public, allowing extenders to look up resources outside of the provider implementations. The_lookup
function is still accessible, but now deprecated in favor of the publiclookup
function. #3040 - Changed the type for the options parameter in the
getContents
function (MainframeInteraction.IUss
andMainframeInteraction.IMvs
interfaces) fromzosfiles.IDownloadOptions
tozosfiles.IDownloadSingleOptions
. #2207- The type was changed to match the function's intended behavior (to get the contents of a single resource).
- Changed
TableViewProvider.setTableView
function to be asynchronous for more optimized data updates. - Changed IApiExplorerExtenders.initForZowe
profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]
to a required argument to address issues seen after registration of profile type when not passed. #2575 - Breaking: Removed
ProfilesCache.getSchema()
,ProfilesCache.getCliProfileManager()
,ProfilesCache.saveProfile()
&ProfilesCache.deleteProfileOnDisk()
v1 Profiles manipulation endpoints. - Breaking: Removed
ZoweTreeNode.binary
,ZoweTreeNode.binaryFiles
, andZoweTreeNode.shortLabel
. These properties are not applicable for all tree nodes and should be defined in subclasses ofZoweTreeNode
if necessary. - Breaking: Removed the following properties/methods:
IZoweUSSTreeNode.binaryFiles
->IZoweUSSTreeNode.encodingMap
IZoweUSSTreeNode.mProfileName
->IZoweUSSTreeNode.getProfileName()
IZoweUSSTreeNode.setBinary()
->IZoweUSSTreeNode.setEncoding()
- Breaking: Added the following required API:
uploadFromBuffer
#2738- For v3, this API will be used for saving data sets and USS files instead of
putContent(s)
. Extenders must implement this API to continue supporting Zowe Explorer save operations.
- For v3, this API will be used for saving data sets and USS files instead of
- Breaking: Removed the
encoding
property from theIZoweUSSTreeNode
interface in favor of the newgetEncoding
function. #2207 - 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 - Breaking: Marked
getJobsByParameters
as a required function for theMainframeInteraction.IJes
interface. #2764 - Breaking: Removed the
MemberEntry
filesystem class, in favor of using theDsEntry
class withisMember
set totrue
. - Breaking: Changed return type of
ZoweVsCodeExtension.logoutWithBaseProfile
method fromvoid
toboolean
to indicate whether logout was successful. - Breaking: Changed behavior of the
ProfilesCache.fetchBaseProfile
method so that if a nested profile name is specified (e.g. "lpar.zosmf"), then its parent profile is returned unless token is already stored in the base profile. - Breaking: Consolidated WebView API options into a single object (
WebViewOpts
type), both for developer convenience and to support future options. - Breaking: Updated most function signatures for exported programmatic interfaces. Changes make developing with the Zowe Explorer API more efficient for extenders by showing which properties they can expect when calling our APIs. #2952
- Updated
IApiExplorerExtender.ts
, see changes below:- Allowed
reloadProfiles
andinitForZowe
to be synchronous methods (non-breaking)
- Allowed
- Updated
MainframeInteraction.ts
, see changes below:- Modified
getStatus
to addstring
type to the optional parameterprofileType
- Modified
- Updated
IZoweTree.ts
, see changes below:- Modified
checkCurrentProfile(node: IZoweTreeNode);
to returnValidation.IValidationProfile | Promise<Validation.IValidationProfile>
- Modified
getSearchHistory()
to returnstring[]
- Modified
getAllLoadedItems()
to returnIZoweTreeNode[] | Promise<IZoweTreeNode[]>
- Modified
getFileHistory()
to returnstring[]
- Modified
createFilterString?(newFilter: string, node: IZoweTreeNode);
to returnstring
- Allowed the following methods to be implemented synchronously: (non-breaking)
addSession
addSingleSession
editSession
createZoweSession
createZoweSchema
ssoLogin
ssoLogout
addFavorite
removeFavorite
removeFavProfile
onDidChangeConfiguration
flipState
synchronous - noPromise
returnedrename
open
copy
paste
delete
setItem
synchronous - noPromise
returnedsaveSearch
saveFile
refreshPS
uploadDialog
filterPrompt
addSearchHistory
synchronous - noPromise
returneddeleteSession
synchronous - noPromise
returnedupdateFavorites
renameFavorite
addFileHistory
synchronous - noPromise
returnedremoveFileHistory
synchronous - noPromise
returnedrenameNode
openItemFromPath
addDsTemplate
pollData
openWithEncoding
Note: Developers should not expect a value to be returned from the methods above (breaking)
- Modified
- Updated
IZoweTreeNode.ts
, see changes below:- Modified
rename?(newNamePath: string);
to returnPromise<IZosFilesResponse>
- Developers should not be expecting output from the following methods:
openUSS
refreshUSS
deleteUSSNode
renameUSSNode
reopen
saveSearch
- Modified
- Updated
- Breaking: Changed
ProfilesCache.convertV1ProfToConfig
method to be a static method that requiresProfileInfo
instance as a parameter. - Breaking: Changed the parameters of the
addSession
method on theIZoweTree
interface since they were all optional. It now receives an object of typeAddSessionOpts
. #2947 - Breaking: Removed the redundant
zoweFileProvider
parameter fromeditSession
method on theIZoweTree
interface. #2947 - Breaking: Removed deprecated methods: #2238
refreshAndReopen
function on theIZoweTreeNode
interface - use thereopen
function instead.copyUssFile
function on theIZoweTreeNode
interface - use thepasteUssTree
function instead.ZoweVsCodeExtension.showVsCodeMessage
- useGui.showMessage
instead.ZoweVsCodeExtension.inputBox
- useGui.showInputBox
instead.ZoweVsCodeExtension.promptCredentials
- useZoweVsCodeExtension.updateCredentials
instead.
- Breaking: Removed unused property
profileManagerByType
which used the V1-profile classCLIProfileManager
. #3057 - Breaking: Added return type of
Promise<void>
to the followingIZoweTree
methods: #2238- addFavorite
- removeFavorite
- removeFavProfile
- ssoLogin
- ssoLogout
- Breaking: Added return type of
Promise<void>
toIZoweTree.addDsTemplate
. #2345 - Breaking: Added return type of
Promise<void>
toMainframeInteractions.ICommon.logout
. #2783 - Breaking: ProfilesCache.getProfileInfo no longer accepts any parameters. #2744
- Breaking: issueUnixCommand API now takes sshSession as a optional parameter. #2866
- Deprecated the following properties on Zowe tree interfaces in favor of setters and getters to incentivize encapsulation: #2026
binary
property on theIZoweDatasetTreeNode
interface - use thegetEncoding
andsetEncoding
functions instead.encodingMap
property on theIZoweDatasetTreeNode
andIZoweUSSTreeNode
interfaces - use thegetEncodingInMap
andupdateEncodingInMap
functions instead.stats
property on theIZoweDatasetTreeNode
interface - use thegetStats
andsetStats
functions instead.encoding
property on theIZoweDatasetTreeNode
andIZoweUSSTreeNode
interfaces - use thegetEncoding
andsetEncoding
functions instead.shortLabel
property on theIZoweUSSTreeNode
interface - use thegetBaseName
function instead.attributes
property on theIZoweUSSTreeNode
interface - use thegetAttributes
andsetAttributes
functions instead.
- Deprecated the
openFiles
property onIZoweTree
interface - in v3 open files are tracked by theFileSystemProvider
instead. #2947 - Deprecated the
getUSSDocumentFilePath
function on theIZoweTreeNode
interface as Zowe Explorer no longer uses the local file system for storing USS files. No replacement is planned; please access data from tree nodes using their resource URIs instead. #2968 - Deprecated the method
ProfilesCache.updateProfilesArrays
. UseProfilesCache.updateCachedProfile
instead, which handles updating credentials cached in memory whenautoStore
is false. #3120 - Deprecated the methods
ZoweVsCodeExtension.loginWithBaseProfile
andZoweVsCodeExtension.logoutWithBaseProfile
. UseZoweVsCodeExtension.ssoLogin
andZoweVsCodeExtension.ssoLogout
instead, which use theBaseProfileAuthOptions
interface and allow you to choose whether the token value in the base profile should have precedence in case there are conflicts. #3076
- Fixed behavior of logout action when token is defined in both base profile and parent profile. #3076
- Fixed profile cached by
FileSystemProvider
not refreshing on password change. #3120 - Fixed extender's ability to fetch profile information from ProfilesCache for SSH profile types.
- Fixed an issue where the
ZoweVsCodeExtension.updateCredentials
method could remove credentials from session when input prompt was cancelled. #3009 - Fixed an issue where the loaded configuration could be overridden when extenders retrieved the Zowe home directory. #2994
- Fixed an issue where remote lookup functionality caused the local side of a conflict to be overwritten with the remote contents. #3085
- Fixed export of api
onProfilesUpdate
. - Fixed bug in
ProfilesCache
class where old profiles were still accessible after deleting a Team configuration file. #3124
- Added the
BaseProfileAuthOptions
interface to define base profile authentication options for SSO login and logout. #3076 - Deprecated the methods
ZoweVsCodeExtension.loginWithBaseProfile
andZoweVsCodeExtension.logoutWithBaseProfile
. UseZoweVsCodeExtension.ssoLogin
andZoweVsCodeExtension.ssoLogout
instead, which use theBaseProfileAuthOptions
interface and allow you to choose whether the token value in the base profile should have precedence in case there are conflicts. #3076 - Fixed bug in
ProfilesCache
class where old profiles were still accessible after deleting a Team configuration file. #3124 - Added
extensionRemovedFromPath
private function to theDsEntry
class to allow removing the extension from a data set before making API calls. #3121 - Deprecated the method
ProfilesCache.updateProfilesArrays
. UseProfilesCache.updateCachedProfile
instead, which handles updating credentials cached in memory whenautoStore
is false. #3120
- Updated the
TableViewProvider.setTableView
function to show the Zowe Resources panel if a table is provided. Ifnull
is passed, the Zowe Resources panel will be hidden. #3113 - Fixed behavior of logout action when token is defined in both base profile and parent profile. #3076
- Fixed profile cached by
FileSystemProvider
not refreshing on password change. #3120 - Update Zowe SDKs to
8.0.0
for technical currency.
- Added optional
patternMatches
property to theIZoweDatasetTreeNode
interface to cache pattern matches from an applied filter search. #1164
- Fix extender's ability to fetch profile information from ProfilesCache for SSH profile types.
- Update Zowe SDKs to
8.0.0-next.202408301809
for technical currency.
-
Deprecated the following properties on Zowe tree interfaces in favor of setters and getters to incentivize encapsulation: #2026
binary
property on theIZoweDatasetTreeNode
interface - use thegetEncoding
andsetEncoding
functions instead.encodingMap
property on theIZoweDatasetTreeNode
andIZoweUSSTreeNode
interfaces - use thegetEncodingInMap
andupdateEncodingInMap
functions instead.stats
property on theIZoweDatasetTreeNode
interface - use thegetStats
andsetStats
functions instead.encoding
property on theIZoweDatasetTreeNode
andIZoweUSSTreeNode
interfaces - use thegetEncoding
andsetEncoding
functions instead.shortLabel
property on theIZoweUSSTreeNode
interface - use thegetBaseName
function instead.attributes
property on theIZoweUSSTreeNode
interface - use thegetAttributes
andsetAttributes
functions instead.
-
Breaking: Added return type of
Promise<void>
toIZoweTree.addDsTemplate
. #2345 -
Breaking: Added return type of
Promise<void>
toMainframeInteractions.ICommon.logout
. #2783 -
Grouped Common methods into Singleton classes. #2109
-
Breaking: Removed deprecated methods: #2238
refreshAndReopen
function on theIZoweTreeNode
interface - use thereopen
function instead.copyUssFile
function on theIZoweTreeNode
interface - use thepasteUssTree
function instead.ZoweVsCodeExtension.showVsCodeMessage
- useGui.showMessage
instead.ZoweVsCodeExtension.inputBox
- useGui.showInputBox
instead.ZoweVsCodeExtension.promptCredentials
- useZoweVsCodeExtension.updateCredentials
instead.
-
Breaking: Removed unused property
profileManagerByType
which used the V1-profile classCLIProfileManager
. #3057 -
Breaking: Added return type of
Promise<void>
to the followingIZoweTree
methods: #2238- addFavorite
- removeFavorite
- removeFavProfile
- ssoLogin
- ssoLogout
-
Added an optional function
openWithEncoding
to theIZoweTree
interface to open file using encoding specified by user. #2931 -
Deprecated the
openFiles
property onIZoweTree
interface - in v3 open files are tracked by theFileSystemProvider
instead. #2947 -
Breaking: Changed the parameters of the
addSession
method on theIZoweTree
interface since they were all optional. It now receives an object of typeAddSessionOpts
. #2947 -
Breaking: Removed the redundant
zoweFileProvider
parameter fromeditSession
method on theIZoweTree
interface. #2947 -
Updated the
ProfilesCache.getProfiles
method to return empty list instead of undefined when there are no profiles. #2947 -
Added PEM certificate support as an authentication method for logging into the API ML. #2621
-
Deprecated the
getUSSDocumentFilePath
function on theIZoweTreeNode
interface as Zowe Explorer no longer uses the local file system for storing USS files. No replacement is planned; please access data from tree nodes using their resource URIs instead. #2968 -
Next Breaking: Changed
ProfilesCache.convertV1ProfToConfig
method to be a static method that requiresProfileInfo
instance as a parameter. -
Added the
onVaultUpdate
VSCode event to notify extenders when credentials are updated on the OS vault by other applications. #2994 -
Added the
onCredMgrsUpdate
VSCode event to notify extenders when the local PC's credential manager has been updated by other applications. #2994 -
LTS Breaking: Updated most function signatures for exported programmatic interfaces. Changes make developing with the Zowe Explorer API more efficient for extenders by showing which properties they can expect when calling our APIs. #2952
-
Updated
IApiExplorerExtender.ts
, see changes below:- Allowed
reloadProfiles
andinitForZowe
to be synchronous methods (non-breaking)
- Allowed
-
Updated
MainframeInteraction.ts
, see changes below:- Modified
getStatus
to addstring
type to the optional parameterprofileType
- Modified
-
Updated
IZoweTree.ts
, see changes below:- Modified
checkCurrentProfile(node: IZoweTreeNode);
to returnValidation.IValidationProfile | Promise<Validation.IValidationProfile>
- Modified
getSearchHistory()
to returnstring[]
- Modified
getAllLoadedItems()
to returnIZoweTreeNode[] | Promise<IZoweTreeNode[]>
- Modified
getFileHistory()
to returnstring[]
- Modified
createFilterString?(newFilter: string, node: IZoweTreeNode);
to returnstring
- Allowed the following methods to be implemented synchronously: (non-breaking)
addSession
addSingleSession
editSession
createZoweSession
createZoweSchema
ssoLogin
ssoLogout
addFavorite
removeFavorite
removeFavProfile
onDidChangeConfiguration
flipState
synchronous - noPromise
returnedrename
open
copy
paste
delete
setItem
synchronous - noPromise
returnedsaveSearch
saveFile
refreshPS
uploadDialog
filterPrompt
addSearchHistory
synchronous - noPromise
returneddeleteSession
synchronous - noPromise
returnedupdateFavorites
renameFavorite
addFileHistory
synchronous - noPromise
returnedremoveFileHistory
synchronous - noPromise
returnedrenameNode
openItemFromPath
addDsTemplate
pollData
openWithEncoding
Note: Developers should not expect a value to be returned from the methods above (breaking)
- Modified
-
Updated
IZoweTreeNode.ts
, see changes below:- Modified
rename?(newNamePath: string);
to returnPromise<IZosFilesResponse>
- Developers should not be expecting output from the following methods:
openUSS
refreshUSS
deleteUSSNode
renameUSSNode
reopen
saveSearch
- Modified
-
-
Implemented support for building, exposing and displaying table views within Zowe Explorer. Tables can be customized and exposed using the helper facilities (
TableBuilder
andTableMediator
) for an extender's specific use case. For more information on how to configure and show tables, please refer to the wiki article on Table Views. #2258 -
Breaking: Consolidated WebView API options into a single object (
WebViewOpts
type), both for developer convenience and to support future options. -
Enhanced the
ZoweVsCodeExtension.loginWithBaseProfile
andZoweVsCodeExtension.logoutWithBaseProfile
methods to store SSO token in parent profile when nested profiles are in use. #2264 -
Next Breaking: Changed return type of
ZoweVsCodeExtension.logoutWithBaseProfile
method fromvoid
toboolean
to indicate whether logout was successful. -
Breaking: Changed behavior of the
ProfilesCache.fetchBaseProfile
method so that if a nested profile name is specified (e.g. "lpar.zosmf"), then its parent profile is returned unless token is already stored in the base profile. -
Renamed the
_lookup
function tolookup
in theBaseProvider
class and updated its access to public, allowing extenders to look up resources outside of the provider implementations. The_lookup
function is still accessible, but now deprecated in favor of the publiclookup
function. #3040 -
Breaking: Removed the
MemberEntry
filesystem class, in favor of using theDsEntry
class withisMember
set totrue
. -
Changed
TableViewProvider.setTableView
function to be asynchronous for more optimized data updates. -
Updated
Table.Conditional
andTable.Callback
types to support multi-row callbacks.
- Fixed an issue where the
onProfilesUpdate
event did not fire after secure credentials were updated. #2822 - Fixed an issue where
ProfilesCache
may return missing or incorrect profile values when multiple extensions call it during activation. #2831 - Removed
handlebars
dependency in favor ofmustache
for technical currency purposes. #2975 - Fixed an issue where the
ZoweVsCodeExtension.updateCredentials
method could remove credentials from session when input prompt was cancelled. #3009 - Fixed an issue where the loaded configuration could be overridden when extenders retrieved the Zowe home directory. #2994
- Fixed an issue where remote lookup functionality caused the local side of a conflict to be overwritten with the remote contents. #3085
- Update Zowe SDKs to
8.0.0-next.202408291544
for technical currency. #3057
- Breaking: Marked
getJobsByParameters
as a required function for theMainframeInteraction.IJes
interface. #2764- The new
getJobsByParameters
API is meant to replacegetJobsByOwnerAndPrefix
, and it adds new capabilities such as querying by status and limiting the amount of returned jobs.
- The new
- 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 thePersistenceSchemaEnum
enum for storing MVS, TSO, and USS command history. #2788 - Changed the type for the options parameter in the
getContents
function (MainframeInteraction.IUss
andMainframeInteraction.IMvs
interfaces) fromzosfiles.IDownloadOptions
tozosfiles.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 theIZoweDatasetTreeNode
andIZoweUSSTreeNode
interfaces. #2207- Breaking: Removed the
encoding
property from theIZoweUSSTreeNode
interface in favor of the newgetEncoding
function. #2207
- Breaking: Removed the
- Added an optional function
nodeDataChanged
to theIZoweTree
interface to signal an event when a tree node needs updated. #2207 - Added the optional
vscode.DragAndDropController
interface to theIZoweTree
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 theMainframeInteraction.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
- Updated the SDK dependencies to
8.0.0-next.202404032038
for technical currency #2783. - 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
- Add Created Date to
stats
optional variable for storing dataset stats #2565 - Add Date created to DatasetSortOpts enum #2565
- Migrated from
@zowe/cli
package to individual Zowe SDK packages. #2719 - Breaking: Added the following required API:
uploadFromBuffer
#2738- For v3, this API will be used for saving data sets and USS files instead of
putContent(s)
. Extenders must implement this API to continue supporting Zowe Explorer save operations.
- For v3, this API will be used for saving data sets and USS files instead of
- Fixed issue where
zosmf
profiles did not respect theprotocol
property. #2703 - Breaking: ProfilesCache.getProfileInfo no longer accepts any parameters. #2744
- Fix to restore accessibility to all profiles when default profile has APIML token authentication. #2111
- Updated the SDK dependencies to
8.0.0-next.202403041352
for technical currency #2754.
- Breaking: Removed the following properties/methods:
IZoweUSSTreeNode.binaryFiles
->IZoweUSSTreeNode.encodingMap
IZoweUSSTreeNode.mProfileName
->IZoweUSSTreeNode.getProfileName()
IZoweUSSTreeNode.setBinary()
->IZoweUSSTreeNode.setEncoding()
- Breaking: Removed
ZoweTreeNode.binary
,ZoweTreeNode.binaryFiles
, andZoweTreeNode.shortLabel
. These properties are not applicable for all tree nodes and should be defined in subclasses ofZoweTreeNode
if necessary. - Breaking: Removed
ProfilesCache.getSchema()
,ProfilesCache.getCliProfileManager()
,ProfilesCache.saveProfile()
&ProfilesCache.deleteProfileOnDisk()
v1 Profiles manipulation endpoints. - Added new ProfilesCache.convertV1ProfToConfig() API endpoint for extenders migrating from v1 profiles to team configuration files. #2284
- Fix login and logout operations when APIML dynamic tokens are enabled. #2692
- Updated dependencies for technical currency purposes.
- Grouped common methods into singleton classes #2109
- Changed IApiExplorerExtenders.initForZowe
profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]
to a required argument to address issues seen after registration of profile type when not passed. #2575
- Added new APIs for Issue UNIX Command. #1326
- fixed export of api
onProfilesUpdate
.
- Removal of v1 profile support. #2072
- Removal of deprecated APIs. Check the list of APIs that were removed.
- Added
madge
script inpackage.json
to track circular dependencies. #2148 - Migrated to new package manager PNPM from Yarn.
- Fixed an issue where the
ZoweVsCodeExtension.updateCredentials
method could remove credentials from session when input prompt was cancelled. #3018 - Updated the
@zowe/cli
dependency to fix error when using session with auth type "none". zowe-cli#2219 - Fixed errors being logged silently rather than thrown in
ProfilesCache.refresh
method. #3066
- Updated the
@zowe/cli
dependency to 7.27.0 to support proxy environment variables #3003
- Removed
handlebars
dependency in favor ofmustache
for technical currency purposes. #2974
- Fixed an issue where the
onProfilesUpdate
event did not fire after secure credentials were updated. #2822 - Update dependencies for technical currency purposes.
- Added optional
consoleName
argument toZosmfCommandApi.issueMvsCommand
. #1667 - Added "Date Completed" attribute to JobSortOpts enum type. #1685
- Added PEM certificate support as an authentication method for logging into the API ML. #2621
- Updated
@zowe/cli
dependency to fix issue where "Log out of authentication service" doesn't show in Manage Profile menu. #2633 - Fixed regression of issue where the
ProfilesCache
class would retain old service profiles, even if they were removed from the team config. #2910
- Fixed an issue where
ProfilesCache
may return missing or incorrect profile values when multiple extensions call it during activation. #2831
- Added optional method
getDsDocumentFilePath
toIZoweDatasetTreeNode
interface to make it easier for extenders to get the local file path of a data set node. #2760
- Fixed an issue where the
ProfilesCache
class would retain old service profiles, even if they were removed from the team config. #2395
- Fixed TypeError encountered in the
ProfilesCache.checkMergingConfigAllProfiles
function when merging profiles. #2771
- Fix login and logout operations when APIML dynamic tokens are enabled. #2692
- Fixed issue where
zosmf
profiles did not respect theprotocol
property. #2703 - Fix to restore accessibility to all profiles when default profile has APIML token authentication. #2111
- Update transitive dependencies for technical currency.
- Added optional
openDs
function toIZoweDatasetTreeNode
to open a data set or member in the editor. - Added optional
setEncoding
function toIZoweDatasetTreeNode
andIZoweUSSTreeNode
to set the encoding of a node to binary, text, or a custom codepage. - Added optional properties
binary
,encoding
, andencodingMap
to tree node interfaces for storing the codepage of a data set or USS file. - Deprecated
IZoweUSSTreeNode.binaryFiles
andIZoweUSSTreeNode.setBinary
in favor ofIZoweUSSTreeNode.encodingMap
andIZoweUSSTreeNode.setEncoding
. - Deprecated
ZoweTreeNode.binary
,ZoweTreeNode.binaryFiles
, andZoweTreeNode.shortLabel
. These properties are not applicable for all tree nodes and should be defined in subclasses ofZoweTreeNode
if necessary. - Added new functions
loginWithBaseProfile
andlogoutWithBaseProfile
to provide extenders with the ability to automatically login to their respective services. #2493 - Added APIML dynamic token support. #2665
- Added new optional method
getCommonApi
toZoweExplorerApi.IApiRegisterClient
for enhanced typings in other Zowe Explorer APIs. #2493 - Add Created Date to
stats
optional variable for storing dataset stats - Add Date created to DatasetSortOpts enum #2707
- Added a return type of void for
IZoweUSSTreeNode.openUSS
. - Fixed use of
this
in static methods inZoweVsCodeExtension
. #2606 - Fixed
ZoweVsCodeExtension.promptUserPass
to not use hardcoded values for user and password. #2666
- Update dependencies for technical currency purposes.
- Added new optional boolean parameter
hideFromAllTrees
toIZoweTree.deleteSession
for specifying whether to hide from all trees or current tree. #2567 - Added new optional parameter
provider
of typeIZoweTree<IZoweTreeNode>
forIZoweTree.addSession
to specify a tree to add the profile to. - Added optional
filter
andactualJobs
variables toIZoweJobTreeNode
to track local filter search. - Added new optional record
openFiles
toIZoweTree
to track opened files under a specific tree view. #2597
- Added optional
getTag
function toZoweExplorerAPI.IUss
for getting the tag of a file on USS. - Added new ProfilesCache API
getConfigArray
to allow extenders to get the registered profile type's metadata for team configuration file creation handled outside of Zowe Explorer views. #2394 - Add
sort
andfilter
optional variables for storing sort/filter options alongside tree nodes. #2420 - Add
stats
optional variable for storing dataset stats (such as user, modified date, etc.). - Add option enums and types for sorting, filtering and sort direction in tree nodes. #2420
- Added option for retaining context when generating webviews in Webview API.
- Bundle Zowe Secrets for issues seen by extenders that use the ProfilesCache for profile management. #2512
- Added optional
pendingActions
record toIZoweTreeNode
to allow nodes to track pending promises. - Added optional
wasDoubleClicked
variable toIZoweTreeNode
to track whether a node was double-clicked during an action.
- Bump
@zowe/secrets-for-zowe-sdk
to 7.18.4 to handle install errors gracefully and to allow running without MSVC redistributables.
- Added option to register callback to be called after making changes to team config profiles are made. #2385
- Replaced
keytar
dependency withkeyring
module from@zowe/secrets-for-zowe-sdk
. #2358 #2348 - Added
WebView
class to allow Zowe Explorer and extenders to create enhanced webviews (choose any JavaScript bundler and JavaScript framework). #2254
- Added optional
profile
parameter toIPromptCredentialsOptions
so developers can choose to skip rebuilding the profile with ProfilesCache.
- Fixed error when an extender's extension attempts to access the keyring in a remote VSCode session #324.
- Fixed issue where profiles with authentication tokens were breaking functionality for direct-to-service profiles after user interaction. #2330
- Updated dependencies for security audits.
- Added optional IZoweTree functions,
addDsTemplate
andgetDSTemplates
. - Added a new type
DataSetAllocTemplate
for data set attributes. - Added optional
cancelJob
function toZoweExplorerApi.IJes
interface. - Added z/OSMF API implementation for
cancelJob
function. - Added optional
id
variable toIZoweTreeNode
interface, which can be used to designate a unique ID for a tree node. #2215 - Fixed error shown by API when accessing the
name
andtype
property of a profile when updating the profile arrays #2334.
- Updated linter rules and addressed linter errors. #2291
- Updated dependencies for security audits.
- Added
Gui.reportProgress
that can be used to notify users of action progress in conjunction with theGui.withProgress
call. #2167 - Updated linter rules and addressed linter errors. #2184
- Added checks to verify that
@zowe/cli
dependency exists before building. #2199 - Added
ZoweVsCodeExtension.customLoggingPath
that can be used to get custom logging path defined in VS Code settings. #2186 - Added
Poller
utility singleton for handling continuous poll requests: seePoller.addRequest, Poller.removeRequest
functions. - Added
pollData
optional function toIZoweTree
class. - Created a new optional API,
IJes.downloadSingleSpool
, that can be used to download a single spool file in text or binary formats. #2060 - Added capability to download a single spool file to in text or binary formats for zOSMF profiles by adopting the new api,
ZosmfJesApi.downloadSingleSpool
. #2060
- Fixed credentials being updated for wrong v1 profile if multiple profiles had different types but same name.
- Updated dependencies for security audits.
- Added fallback for
realPathSync
to resolve edge cases where the native call fails on Windows systems. #1773
- Updated
IZoweTreeNode
with additional variabledescription
to prevent compilation errors when updating node descriptions. #2122 - Updated
IZoweJobTreeNode
with additional variablefiltered
to track whether a job session node has been filtered. #2122 - Added new API
IMvs.copyDataSet
. #1550
- Updated dependencies for security audits.
- Refactored UI/UX methods into standalone
Gui
module for usability and maintainability. #1967 - New API call
dataSetsMatchingPattern
to allow filtering datasets via a pattern. - Added
copy
function to USS API to facilitate with copying files.
- Updated Imperative to fix failure to load schema when there is no profile of that type. zowe/imperative#916
- Added missing overload for
Gui.setStatusBarMessage
to allow passingThenable
objects.
- Copy and Paste added to IZoweTree API for files and directories on USS tree.
- Added logging in places where errors were being caught and ignored.
- Fixed all existing ESLint errors within the API logic.
- Removed TSLint (as it is deprecated), and replaced all TSLint rules with their ESLint equivalents. #2030
- New API call
getJobsByParameters
to allow filtering jobs by status. - Added
findEquivalentNode
function to IZoweTree to find a corresponding favorited/non-favorited node. - Updated
IZoweTree
: changedIZoweNodeType -> IZoweTreeNode
to prevent incompatibility w/ custom/future Zowe node types
- Added an API to obtain an up to date array of Profiles from registered types,
ProfilesCache.fetchAllProfiles()
. - Fixed
ZoweVsCodeExtension
failing to initialize in environment with empty workspace. #1994
- Fixed refresh for Zowe Explorer activation and Refresh Extension issues in web based editors. #1807
- Bugfix: Fix for extenders that call registerCustomProfileType() and recieved error when team configuration file was in place. #1870
- New API
ZoweVsCodeExtension.updateCredentials
for credential prompting that updates the ProfilesCache after obtaining credentials from user. - New API
ProfilesCache.updateProfilesArrays
to updateProfilesCache.allProfiles
for profiles that don't store credentials locally in profile file. - New API
ProfilesCache.isCredentialsSecured
to check if credentials are stored securely. - Deprecated
ZoweVsCodeExtension.promptCredentials
in favor ofZoweVsCodeExtension.updateCredentials
.
- Major: Introduced Team Profiles and more. See the prerelease items (if any) below for more details.
- Added documentation on promptCredentials(). 1728
- Updated ProfilesCache.refresh() to handle the merging on v1 and v2 profiles. 1729
- Added new API to expose
promptCredentials
for extender use. #1699
- Zowe Explorer extenders can now have their profile type's folder with meta file created in the /.zowe/profiles home directory upon initialization by calling the ZoweExplorerApiRegister.getExplorerExtenderApi().initForZowe(type: string, meta:imperative.ICommandProfileTypeConfiguration[]) during their activation with Zowe Explorer.
- Initial release