From 0c6824dd47156a55a9d5a60d336efa5911b8ad87 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Fri, 12 Jan 2024 08:55:11 -0500 Subject: [PATCH 1/3] make initForZowe argument profileTypeConfigurations required Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- packages/zowe-explorer-api/CHANGELOG.md | 1 + packages/zowe-explorer-api/src/extend/IApiExplorerExtender.ts | 2 +- packages/zowe-explorer/CHANGELOG.md | 1 + packages/zowe-explorer/src/ZoweExplorerExtender.ts | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/zowe-explorer-api/CHANGELOG.md b/packages/zowe-explorer-api/CHANGELOG.md index 2b1fedfd56..26f57fb82d 100644 --- a/packages/zowe-explorer-api/CHANGELOG.md +++ b/packages/zowe-explorer-api/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t ### Bug fixes +- Changed IApiExplorerExtenders.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument to address issues seen after registration of profile type when not passed. [#2575](https://github.com/zowe/vscode-extension-for-zowe/issues/2575) - Update dependencies for technical currency purposes. ## `3.0.0-next.202311171754` diff --git a/packages/zowe-explorer-api/src/extend/IApiExplorerExtender.ts b/packages/zowe-explorer-api/src/extend/IApiExplorerExtender.ts index 1a3e627b2b..c4bfc355c9 100644 --- a/packages/zowe-explorer-api/src/extend/IApiExplorerExtender.ts +++ b/packages/zowe-explorer-api/src/extend/IApiExplorerExtender.ts @@ -44,5 +44,5 @@ export interface IApiExplorerExtender { * might want to check for an existing profile folder with meta-file * or to create them automatically if it is non-existant. */ - initForZowe(type: string, profileTypeConfigurations?: imperative.ICommandProfileTypeConfiguration[]): Promise; + initForZowe(type: string, profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]): Promise; } diff --git a/packages/zowe-explorer/CHANGELOG.md b/packages/zowe-explorer/CHANGELOG.md index e9570b3b70..745e1d07ca 100644 --- a/packages/zowe-explorer/CHANGELOG.md +++ b/packages/zowe-explorer/CHANGELOG.md @@ -12,6 +12,7 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen ### Bug fixes +- Changed ZoweExplorerExtender.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument to address issues seen after registration of profile type when not passed. [#2575](https://github.com/zowe/vscode-extension-for-zowe/issues/2575) - Update dependencies for technical currency purposes. ## `3.0.0-next.202311171754` diff --git a/packages/zowe-explorer/src/ZoweExplorerExtender.ts b/packages/zowe-explorer/src/ZoweExplorerExtender.ts index 4afcf95a22..f0dec633bb 100644 --- a/packages/zowe-explorer/src/ZoweExplorerExtender.ts +++ b/packages/zowe-explorer/src/ZoweExplorerExtender.ts @@ -149,7 +149,7 @@ export class ZoweExplorerExtender implements IApiExplorerExtender, ZoweExplorerT * @param {string} profileType * @param {imperative.ICommandProfileTypeConfiguration[]} profileTypeConfigurations */ - public async initForZowe(profileType: string, profileTypeConfigurations?: zowe.imperative.ICommandProfileTypeConfiguration[]): Promise { + public async initForZowe(profileType: string, profileTypeConfigurations: zowe.imperative.ICommandProfileTypeConfiguration[]): Promise { // Ensure that when a user has not installed the profile type's CLI plugin // and/or created a profile that the profile directory in ~/.zowe/profiles // will be created with the appropriate meta data. If not called the user will From 8d51e87b60b03c74ff5370e2736f6e58fcb1deb0 Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Fri, 12 Jan 2024 08:59:21 -0500 Subject: [PATCH 2/3] update extender doc Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- docs/early-access/v3/Extenders.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/early-access/v3/Extenders.md b/docs/early-access/v3/Extenders.md index e14b6d4213..cee45e9caa 100644 --- a/docs/early-access/v3/Extenders.md +++ b/docs/early-access/v3/Extenders.md @@ -15,6 +15,8 @@ - `ZoweVsCodeExtension.showVsCodeMessage` removed in favor of `Gui.showMessage`. - `ZoweVsCodeExtension.inputBox` removed in favor of `Gui.showInputBox`. - `ZoweVsCodeExtension.promptCredentials` removed in favor of `ZoweVsCodeExtension.updateCredentials`. +- Changed ZoweExplorerExtender.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument +- Changed IApiExplorerExtenders.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument ## New APIs Added From 3615eb0a50415672c85306d746a31d019cb39fbd Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Fri, 12 Jan 2024 13:43:00 -0500 Subject: [PATCH 3/3] fix CHANGELOGs after pre-release Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- packages/eslint-plugin-zowe-explorer/CHANGELOG.md | 6 ++++++ packages/zowe-explorer-api/CHANGELOG.md | 9 ++++++++- packages/zowe-explorer-ftp-extension/CHANGELOG.md | 6 ++++++ packages/zowe-explorer/CHANGELOG.md | 9 ++++++++- 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin-zowe-explorer/CHANGELOG.md b/packages/eslint-plugin-zowe-explorer/CHANGELOG.md index df4e1f29c0..3abf8670c2 100644 --- a/packages/eslint-plugin-zowe-explorer/CHANGELOG.md +++ b/packages/eslint-plugin-zowe-explorer/CHANGELOG.md @@ -1,5 +1,11 @@ All notable changes to the "eslint-plugin-zowe-explorer" package will be documented in this file. +## TBD Release + +### New features and enhancements + +### Bug fixes + ## `3.0.0-next.202401121747` ## `3.0.0-next.202311171754` diff --git a/packages/zowe-explorer-api/CHANGELOG.md b/packages/zowe-explorer-api/CHANGELOG.md index a558bf8053..3a264af858 100644 --- a/packages/zowe-explorer-api/CHANGELOG.md +++ b/packages/zowe-explorer-api/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to the "zowe-explorer-api" extension will be documented in this file. +## TBD Release + +### New features and enhancements + +### Bug fixes + +- Changed IApiExplorerExtenders.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument to address issues seen after registration of profile type when not passed. [#2575](https://github.com/zowe/vscode-extension-for-zowe/issues/2575) + ## `3.0.0-next.202401121747` ### New features and enhancements @@ -10,7 +18,6 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t ### Bug fixes -- Changed IApiExplorerExtenders.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument to address issues seen after registration of profile type when not passed. [#2575](https://github.com/zowe/vscode-extension-for-zowe/issues/2575) - Update dependencies for technical currency purposes. ## `3.0.0-next.202311171754` diff --git a/packages/zowe-explorer-ftp-extension/CHANGELOG.md b/packages/zowe-explorer-ftp-extension/CHANGELOG.md index 0264746841..fee905b8bb 100644 --- a/packages/zowe-explorer-ftp-extension/CHANGELOG.md +++ b/packages/zowe-explorer-ftp-extension/CHANGELOG.md @@ -1,5 +1,11 @@ All notable changes to the "zowe-explorer-ftp-extension" extension will be documented in this file. +## TBD Release + +### New features and enhancements + +### Bug fixes + ## `3.0.0-next.202401121747` ### Bug fixes diff --git a/packages/zowe-explorer/CHANGELOG.md b/packages/zowe-explorer/CHANGELOG.md index 58f658c3ab..6ff8514b0a 100644 --- a/packages/zowe-explorer/CHANGELOG.md +++ b/packages/zowe-explorer/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documented in this file. +## TBD Release + +### New features and enhancements + +### Bug fixes + +- Changed ZoweExplorerExtender.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument to address issues seen after registration of profile type when not passed. [#2575](https://github.com/zowe/vscode-extension-for-zowe/issues/2575) + ## `3.0.0-next.202401121747` ### New features and enhancements @@ -12,7 +20,6 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen ### Bug fixes -- Changed ZoweExplorerExtender.initForZowe `profileTypeConfigurations: imperative.ICommandProfileTypeConfiguration[]` to a required argument to address issues seen after registration of profile type when not passed. [#2575](https://github.com/zowe/vscode-extension-for-zowe/issues/2575) - Update dependencies for technical currency purposes. ## `3.0.0-next.202311171754`