Skip to content

Commit

Permalink
Merge pull request #2863 from zowe/release/2.15.3
Browse files Browse the repository at this point in the history
v2.15.3 Release
  • Loading branch information
JillieBeanSim authored Apr 23, 2024
2 parents e82af6b + 9e50906 commit 0171df0
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 34 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.16.0-SNAPSHOT",
"version": "2.15.3",
"command": {
"version": {
"forcePublish": true,
Expand Down
12 changes: 0 additions & 12 deletions packages/eslint-plugin-zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,10 @@ All notable changes to the "eslint-plugin-zowe-explorer" package will be documen

## TBD Release

### New features and enhancements

### Bug fixes

## `2.15.2`

### New features and enhancements

### Bug fixes

## `2.15.1`

### New features and enhancements

### Bug fixes

## `2.15.0`

## `2.14.1`
Expand Down
2 changes: 0 additions & 2 deletions packages/zowe-explorer-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t

## TBD Release

### New features and enhancements

### Bug fixes

- Fixed an issue where `ProfilesCache` may return missing or incorrect profile values when multiple extensions call it during activation. [#2831](https://github.com/zowe/zowe-explorer-vscode/issues/2831)
Expand Down
12 changes: 0 additions & 12 deletions packages/zowe-explorer-ftp-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,10 @@ All notable changes to the "zowe-explorer-ftp-extension" extension will be docum

## TBD Release

### New features and enhancements

### Bug fixes

## `2.15.2`

### New features and enhancements

### Bug fixes

## `2.15.1`

### New features and enhancements

### Bug fixes

## `2.15.0`

## `2.14.1`
Expand Down
7 changes: 3 additions & 4 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen

## TBD Release

### New features and enhancements

### Bug fixes

- Fixed error that could occur when listing data set members that contain control characters in the name [#2807](https://github.com/zowe/zowe-explorer-vscode/pull/2807)
- Fixed issue where saving changes to favorited data set or USS file could fail when it is opened outside of favorites. [#2820](https://github.com/zowe/vscode-extension-for-zowe/pull/2820)
- Fixed error that could occur when listing data set members that contain control characters in the name. [#2807](https://github.com/zowe/zowe-explorer-vscode/pull/2807)
- Fixed issue where saving changes to a favorited data set or USS file could fail when it is opened outside of favorites. [#2820](https://github.com/zowe/vscode-extension-for-zowe/pull/2820)
- Moved schema warnings into the log file (rather than a UI message) to minimize end-user disruption. [#2860](https://github.com/zowe/zowe-explorer-vscode/pull/2860)
- Fixed duplicated profile schema writing with repeated Team Config file initialization. [#2828](https://github.com/zowe/zowe-explorer-vscode/pull/2828)

## `2.15.2`

Expand Down
13 changes: 10 additions & 3 deletions packages/zowe-explorer/src/Profiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ export class Profiles extends ProfilesCache {
return profileType;
}

public async createZoweSchema(_zoweFileProvider: IZoweTree<IZoweTreeNode>): Promise<string> {
public async createZoweSchema(_zoweFileProvider: IZoweTree<IZoweTreeNode>): Promise<string | undefined> {
ZoweLogger.trace("Profiles.createZoweSchema called.");
try {
let user = false;
Expand Down Expand Up @@ -669,12 +669,19 @@ export class Profiles extends ProfilesCache {
const impConfig: zowe.imperative.IImperativeConfig = zowe.getImperativeConfig();
const knownCliConfig: zowe.imperative.ICommandProfileTypeConfiguration[] = impConfig.profiles;

const knownProfileTypes = knownCliConfig.map((item) => item.type);

const extenderinfo = this.getConfigArray();
extenderinfo.forEach((item) => {
knownCliConfig.push(item);
if (!knownProfileTypes.includes(item.type)) {
knownCliConfig.push(item);
}
});

knownCliConfig.push(impConfig.baseProfile);
if (impConfig.baseProfile && !knownProfileTypes.includes(impConfig.baseProfile.type)) {
knownCliConfig.push(impConfig.baseProfile);
}

config.setSchema(zowe.imperative.ConfigSchema.buildSchema(knownCliConfig));

// Note: IConfigBuilderOpts not exported
Expand Down

0 comments on commit 0171df0

Please sign in to comment.