Skip to content

Commit

Permalink
Prep 3.0.1 (#3202)
Browse files Browse the repository at this point in the history
* check path instead of file name

Signed-off-by: Billie Simmons <[email protected]>

* add changelog, fix test, run package

Signed-off-by: Billie Simmons <[email protected]>

* To address issue with opening project config in zowe dir

Signed-off-by: Santhoshi Boyina <[email protected]>

* To fix pnpm lint failure

Signed-off-by: Santhoshi Boyina <[email protected]>

* To update CHANGELOG.md file

Signed-off-by: Santhoshi Boyina <[email protected]>

* fix(ZoweDatasetNode): Add contextOverride to PS node

Signed-off-by: Trae Yelovich <[email protected]>

* chore: add PR number to ZE changelog

Signed-off-by: Trae Yelovich <[email protected]>

* fix: Add check for binary in contextOverride

Signed-off-by: Trae Yelovich <[email protected]>

* Update release.config.js for Zowe V3 GA

Signed-off-by: Timothy Johnson <[email protected]>

* chore: missing newline in ZE changelog

Signed-off-by: Trae Yelovich <[email protected]>

* fix(ProfilesUtils): Pass paths to new ProfileInfo instance

Signed-off-by: Trae Yelovich <[email protected]>

* chore: add changelog entry for ZE

Signed-off-by: Trae Yelovich <[email protected]>

* chore: adjust changelog to match v2 port

Signed-off-by: Trae Yelovich <[email protected]>

* tests: Add unit test to verify readProfilesFromDisk behavior

Signed-off-by: Trae Yelovich <[email protected]>

* To revert back logic to open the global config file

Signed-off-by: Santhoshi Boyina <[email protected]>

* chore: update ZE changelog entries

Signed-off-by: Trae Yelovich <[email protected]>

* Remove sample VSCEs and restore carets for SDK deps (#3173)

* Remove sample VSCEs and restore carets for SDK deps

Signed-off-by: Timothy Johnson <[email protected]>

* Update Zowe SDKs to remove prerelease peer deps

Signed-off-by: Timothy Johnson <[email protected]>

* Ignore issueTsoCommand deprecation warning for now

Signed-off-by: Timothy Johnson <[email protected]>

---------

Signed-off-by: Timothy Johnson <[email protected]>
Co-authored-by: Fernando Rijo Cedeno <[email protected]>

* Add Sonar scan properties and remove old system test files (#3194)

Signed-off-by: Timothy Johnson <[email protected]>
Co-authored-by: Trae Yelovich <[email protected]>

* fix: prompt optimizations for create file/dir; address case of skipping prompt (#3189)

* fix: prompt optimizations for create file/dir; fix session case

Signed-off-by: Trae Yelovich <[email protected]>

* chore: update ZE changelog

Signed-off-by: Trae Yelovich <[email protected]>

* fix: resolve failing tests, remove unused isTopLevel parameter

Signed-off-by: Trae Yelovich <[email protected]>

* refactor: remove unused createUSSNodeDialog function

Signed-off-by: Trae Yelovich <[email protected]>

* fix: use path.posix.join when building full path

Signed-off-by: Trae Yelovich <[email protected]>

* tests: add test case for prompting user w/ location

Signed-off-by: Trae Yelovich <[email protected]>

* chore: add additional bugfix to ZE changelog

Signed-off-by: Trae Yelovich <[email protected]>

* tests: add case for dismissing location prompt

Signed-off-by: Trae Yelovich <[email protected]>

* tests: add case for createUSSNode - trailing slashes

Signed-off-by: Trae Yelovich <[email protected]>

* refactor: use isTopLevel earlier in createUSSNode

Signed-off-by: Trae Yelovich <[email protected]>

---------

Signed-off-by: Trae Yelovich <[email protected]>
Co-authored-by: Billie Simmons <[email protected]>

* fix(ds): File extension detection misidentifies types (#3182)

* fix(ds): File extension detection misidentifies types

Signed-off-by: Timothy Johnson <[email protected]>

* Simplify ds extension mapping

Signed-off-by: Timothy Johnson <[email protected]>

---------

Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Co-authored-by: Billie Simmons <[email protected]>

* deps: update lockfile to resolve audit failure (#3195)

Signed-off-by: Trae Yelovich <[email protected]>
Co-authored-by: Timothy Johnson <[email protected]>

* Fix 401 error when opening PDS members after cred change (#3157)

* Temporarily disable ON_VAULT_CHANGED event to prevent double refresh

Signed-off-by: Timothy Johnson <[email protected]>

* Propagate profile updates to child nodes

Signed-off-by: Timothy Johnson <[email protected]>

* Skip vault change events triggered by ZE

Signed-off-by: Timothy Johnson <[email protected]>

* Update changelog

Signed-off-by: Timothy Johnson <[email protected]>

* fix(tests): Add EventProcessor stub to imperative module mock

Signed-off-by: Trae Yelovich <[email protected]>

* refactor: Move logic into separate functions; tests: add patch coverage

Signed-off-by: Trae Yelovich <[email protected]>

* chore: update ZE API changelog

Signed-off-by: Trae Yelovich <[email protected]>

* ran prepublish

Signed-off-by: Billie Simmons <[email protected]>

* fix: pass processor as function arg instead of bind

Signed-off-by: Trae Yelovich <[email protected]>

* fix(tests): Pass fake event processor to hook function

Signed-off-by: Trae Yelovich <[email protected]>

* Make error handling consistent across all trees

Signed-off-by: Timothy Johnson <[email protected]>

* Move 401 error handling back into node methods

Signed-off-by: Timothy Johnson <[email protected]>

* Update unit tests for error handling and placeholder nodes

Signed-off-by: Timothy Johnson <[email protected]>

* Fix duplicate expand for jobs, clean up logging, update changelog

Signed-off-by: Timothy Johnson <[email protected]>

* Fix log statements in wrong place

Signed-off-by: Timothy Johnson <[email protected]>

* Use contextOverride when building session nodes

Signed-off-by: Timothy Johnson <[email protected]>

* Add tests for memberPattern on ds node

Signed-off-by: Timothy Johnson <[email protected]>

* Add unit test for USS placeholder node

Signed-off-by: Timothy Johnson <[email protected]>

* Fix extra tree refresh on credential update

Signed-off-by: Timothy Johnson <[email protected]>

* Store saved profile contents by URI path

Signed-off-by: Timothy Johnson <[email protected]>

* Fix update creds cancelling and node not refreshing

Signed-off-by: Timothy Johnson <[email protected]>

* Fix failing USS actions test

Signed-off-by: Timothy Johnson <[email protected]>

* Handle scenario of falsy node to refresh

Signed-off-by: Timothy Johnson <[email protected]>

* Add unit test for syncSessionNode

Signed-off-by: Timothy Johnson <[email protected]>

* Don't show placeholder node when there is error

Signed-off-by: Timothy Johnson <[email protected]>

---------

Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Co-authored-by: Trae Yelovich <[email protected]>
Co-authored-by: Billie Simmons <[email protected]>
Co-authored-by: Billie Simmons <[email protected]>

* resolve FTP getContents bug for MVS and USS (#3200)

Signed-off-by: Trae Yelovich <[email protected]>
Co-authored-by: Fernando Rijo Cedeno <[email protected]>

* chore: add missing license header

Signed-off-by: zFernand0 <[email protected]>

* patch: update lerna.json in preparation for a release

Signed-off-by: zFernand0 <[email protected]>

* chore: update changelog files

Signed-off-by: zFernand0 <[email protected]>

* chore: update changelog 😋

Signed-off-by: zFernand0 <[email protected]>

* Fix children in tree nodes persisting on error (#3224)

* Fix children in tree nodes persisting on error

Signed-off-by: Timothy Johnson <[email protected]>

* Update unit tests to ensure children don't persist

Signed-off-by: Timothy Johnson <[email protected]>

---------

Signed-off-by: Timothy Johnson <[email protected]>

---------

Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: SanthoshiBoyina1 <[email protected]>
Signed-off-by: Santhoshi Boyina <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: zFernand0 <[email protected]>
Co-authored-by: Billie Simmons <[email protected]>
Co-authored-by: SanthoshiBoyina1 <[email protected]>
Co-authored-by: Santhoshi Boyina <[email protected]>
Co-authored-by: Trae Yelovich <[email protected]>
Co-authored-by: Timothy Johnson <[email protected]>
Co-authored-by: Billie Simmons <[email protected]>
  • Loading branch information
7 people authored Oct 11, 2024
1 parent 74432c4 commit 950524f
Show file tree
Hide file tree
Showing 108 changed files with 889 additions and 1,946 deletions.
18 changes: 11 additions & 7 deletions .github/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@ module.exports = {
level: "minor"
},
{
name: "v2-lts",
channel: "zowe-v2-lts",
name: "v1-lts",
channel: "zowe-v1-lts",
level: "patch"
},
{
name: "v1-lts",
channel: "zowe-v1-lts",
name: "v2-lts",
channel: "zowe-v2-lts",
level: "patch"
},
{
name: "release/3.*",
channel: "next",
prerelease: true,
channel: "latest",
level: "patch"
}
// {
// name: "next",
// prerelease: true
// }
],
plugins: [
[
Expand All @@ -45,7 +49,7 @@ module.exports = {
{
$cwd: "packages/zowe-explorer-api",
aliasTags: {
"latest": ["zowe-v2-lts"],
"latest": ["zowe-v3-lts"],
},
npmPublish: true,
tarballDir: "dist",
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/zowe-explorer-samples.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ out
lib
!packages/eslint-plugin-zowe-explorer/**/lib
logs
testProfileData.ts
results
*.log
npm-shrinkwrap.json
Expand All @@ -24,7 +23,6 @@ coverage/
v8-compile-cache-0/
dist/
prebuilds/
samples/**/pnpm-lock.yaml
packages/zowe-explorer/**/.wdio-vscode-service
packages/zowe-explorer/__tests__/**/.zowe
packages/zowe-explorer/__tests__/**/.env
Expand Down
4 changes: 4 additions & 0 deletions .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sonar.sources=packages/**/src
sonar.tests=packages/**/__tests__
sonar.test.inclusions=**/*.test.ts,**/*.steps.ts
sonar.cpd.exclusions=packages/**/__tests__
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.1.0-SNAPSHOT",
"version": "3.0.1",
"command": {
"version": {
"forcePublish": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@
"test:parallel": "pnpm -r --parallel --color test",
"package": "pnpm -r --sequential package",
"preinstall": "npx only-allow pnpm",
"update-sdks": "pnpm -r update \"@zowe/*@next\" \"!@zowe/zowe-explorer-api\" \"!@zowe/zos-ftp-for-zowe-cli\""
"update-sdks": "pnpm -r update \"@zowe/*@zowe-v3-lts\" \"!@zowe/zowe-explorer-api\" \"!@zowe/zos-ftp-for-zowe-cli\""
}
}
4 changes: 0 additions & 4 deletions packages/eslint-plugin-zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ All notable changes to the "eslint-plugin-zowe-explorer" package will be documen

## TBD Release

### New features and enhancements

### Bug fixes

## `3.0.0`

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

## TBD Release

### New features and enhancements

### Bug fixes

- Updated the `ZoweTreeNode.setProfileToChoice` function so that it propagates profile changes to its child nodes. [#3150](https://github.com/zowe/zowe-explorer-vscode/issues/3150)

## `3.0.0`

### New features and enhancements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ describe("ZoweTreeNode", () => {

it("setProfileToChoice should update profile for associated FSProvider entry", () => {
const node = makeNode("test", vscode.TreeItemCollapsibleState.None, undefined);
node.resourceUri = vscode.Uri.file(__dirname);
const fsEntry = {
metadata: {
profile: { name: "oldProfile" },
Expand All @@ -108,4 +109,23 @@ describe("ZoweTreeNode", () => {
expect(node.getProfileName()).toBe("newProfile");
expect(fsEntry.metadata.profile.name).toBe("newProfile");
});

it("setProfileToChoice should update child nodes with the new profile", () => {
const node = makeNode("test", vscode.TreeItemCollapsibleState.Expanded, undefined);
const nodeChild = makeNode("child", vscode.TreeItemCollapsibleState.None, undefined);
node.children = [nodeChild as any];
const setProfileToChoiceChildMock = jest.spyOn(nodeChild, "setProfileToChoice").mockImplementation();
const fsEntry = {
metadata: {
profile: { name: "oldProfile" },
},
};
const mockNewProfile = { name: "newProfile" } as unknown as imperative.IProfileLoaded;
const mockProvider = {
lookup: jest.fn().mockReturnValue(fsEntry),
} as unknown as BaseProvider;
node.setProfileToChoice(mockNewProfile, mockProvider);
expect(node.getProfileName()).toBe("newProfile");
expect(setProfileToChoiceChildMock).toHaveBeenCalledWith(mockNewProfile, mockProvider);
});
});
18 changes: 9 additions & 9 deletions packages/zowe-explorer-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
},
"dependencies": {
"@types/vscode": "^1.53.2",
"@zowe/core-for-zowe-sdk": "8.0.0",
"@zowe/imperative": "8.0.0",
"@zowe/secrets-for-zowe-sdk": "8.0.0",
"@zowe/zos-console-for-zowe-sdk": "8.0.0",
"@zowe/zos-files-for-zowe-sdk": "8.0.0",
"@zowe/zos-jobs-for-zowe-sdk": "8.0.0",
"@zowe/zos-tso-for-zowe-sdk": "8.0.0",
"@zowe/zos-uss-for-zowe-sdk": "8.0.0",
"@zowe/zosmf-for-zowe-sdk": "8.0.0",
"@zowe/core-for-zowe-sdk": "^8.1.1",
"@zowe/imperative": "^8.1.0",
"@zowe/secrets-for-zowe-sdk": "^8.1.0",
"@zowe/zos-console-for-zowe-sdk": "^8.1.1",
"@zowe/zos-files-for-zowe-sdk": "^8.1.1",
"@zowe/zos-jobs-for-zowe-sdk": "^8.1.1",
"@zowe/zos-tso-for-zowe-sdk": "^8.1.1",
"@zowe/zos-uss-for-zowe-sdk": "^8.1.1",
"@zowe/zosmf-for-zowe-sdk": "^8.1.1",
"deep-object-diff": "^1.1.9",
"mustache": "^4.2.0",
"semver": "^7.6.0"
Expand Down
1 change: 0 additions & 1 deletion packages/zowe-explorer-api/src/fs/types/abstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export type ConflictData = {
export interface IFileSystemEntry extends vscode.FileStat {
name: string;
metadata: EntryMetadata;
type: vscode.FileType;
wasAccessed: boolean;
data?: Uint8Array;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ export namespace ZoweExplorerZosmf {
*/
export class CommandApi extends CommonApi implements MainframeInteraction.ICommand {
public issueTsoCommandWithParms(command: string, parms: zostso.IStartTsoParms): Promise<zostso.IIssueResponse> {
// eslint-disable-next-line deprecation/deprecation
return zostso.IssueTso.issueTsoCommand(this.getSession(), parms.account, command, parms);
}

Expand Down
10 changes: 10 additions & 0 deletions packages/zowe-explorer-api/src/tree/IZoweTreeNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ export interface IZoweDatasetTreeNode extends IZoweTreeNode {
*/
encoding?: string;

/**
* Use Dataset-specific tree node for children.
*/
children?: IZoweDatasetTreeNode[];

/**
* Retrieves child nodes of this IZoweDatasetTreeNode
*
Expand Down Expand Up @@ -296,6 +301,11 @@ export interface IZoweUSSTreeNode extends IZoweTreeNode {
*/
onUpdateEmitter?: vscode.EventEmitter<IZoweUSSTreeNode>;

/**
* Use USS-specific tree node for children.
*/
children?: IZoweUSSTreeNode[];

/**
* Event that fires whenever an existing node is updated.
*/
Expand Down
11 changes: 8 additions & 3 deletions packages/zowe-explorer-api/src/tree/ZoweTreeNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,14 @@ export class ZoweTreeNode extends vscode.TreeItem {
// Don't reassign profile, we want to keep object reference shared across nodes
this.profile.profile = aProfile.profile;
}
const fsEntry = fsProvider?.lookup(this.resourceUri, true);
if (fsEntry != null) {
fsEntry.metadata.profile = aProfile;
if (this.resourceUri != null) {
const fsEntry = fsProvider?.lookup(this.resourceUri, true);
if (fsEntry != null) {
fsEntry.metadata.profile = aProfile;
}
}
for (const child of this.children) {
(child as unknown as ZoweTreeNode).setProfileToChoice(aProfile, fsProvider);
}
}
/**
Expand Down
4 changes: 2 additions & 2 deletions packages/zowe-explorer-ftp-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ All notable changes to the "zowe-explorer-ftp-extension" extension will be docum

## TBD Release

### New features and enhancements

### Bug fixes

- Fixed bug where the `getContents` MVS and USS APIs failed to return whenever a local file path was provided. [#3199](https://github.com/zowe/zowe-explorer-vscode/issues/3199)

## `3.0.0`

### New features and enhancements
Expand Down
13 changes: 13 additions & 0 deletions packages/zowe-explorer-ftp-extension/__mocks__/mockUtils.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/**
* This program and the accompanying materials are made available under the terms of the
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* SPDX-License-Identifier: EPL-2.0
*
* Copyright Contributors to the Zowe Project.
*
*/

// Idea is borrowed from: https://github.com/kulshekhar/ts-jest/blob/master/src/util/testing.ts
export const mocked = <T extends (..._args: any[]) => any>(fn: T): jest.Mock<ReturnType<T>> => fn as any;
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import * as tmp from "tmp";
import { Gui, imperative } from "@zowe/zowe-explorer-api";
import * as globals from "../../../src/globals";
import { ZoweFtpExtensionError } from "../../../src/ZoweFtpExtensionError";
import { mocked } from "../../../__mocks__/mockUtils";

// two methods to mock modules: create a __mocks__ file for zowe-explorer-api.ts and direct mock for extension.ts
jest.mock("../../../__mocks__/@zowe/zowe-explorer-api.ts");
Expand Down Expand Up @@ -93,6 +94,7 @@ describe("FtpMvsApi", () => {

expect(result.apiResponse.etag).toHaveLength(64);
expect(DataSetUtils.downloadDataSet).toHaveBeenCalledTimes(1);
expect(mocked(DataSetUtils.downloadDataSet).mock.calls[0][2].localFile).toBe(localFile);
expect(MvsApi.releaseConnection).toHaveBeenCalled();

expect((response._readableState.buffer.head?.data ?? response._readableState.buffer).toString()).toContain("Hello world");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import * as globals from "../../../src/globals";
import { ZoweFtpExtensionError } from "../../../src/ZoweFtpExtensionError";
import * as tmp from "tmp";
import { imperative } from "@zowe/zowe-explorer-api";
import { mocked } from "../../../__mocks__/mockUtils";

// two methods to mock modules: create a __mocks__ file for zowe-explorer-api.ts and direct mock for extension.ts
jest.mock("../../../__mocks__/@zowe/zowe-explorer-api.ts");
Expand Down Expand Up @@ -78,6 +79,7 @@ describe("FtpUssApi", () => {

expect(result.apiResponse.etag).toHaveLength(64);
expect(UssUtils.downloadFile).toHaveBeenCalledTimes(1);
expect(mocked(UssUtils.downloadFile).mock.calls[0][2].localFile).toBe(localFile);
expect(UssApi.releaseConnection).toHaveBeenCalled();

expect((response._readableState.buffer.head?.data ?? response._readableState.buffer).toString()).toContain("Hello world");
Expand Down
6 changes: 3 additions & 3 deletions packages/zowe-explorer-ftp-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"vscode": "^1.79.0"
},
"dependencies": {
"@zowe/zos-files-for-zowe-sdk": "8.0.0",
"@zowe/zos-ftp-for-zowe-cli": "3.0.0",
"@zowe/zos-jobs-for-zowe-sdk": "8.0.0",
"@zowe/zos-files-for-zowe-sdk": "^8.1.1",
"@zowe/zos-ftp-for-zowe-cli": "^3.0.0",
"@zowe/zos-jobs-for-zowe-sdk": "^8.1.1",
"@zowe/zowe-explorer-api": "3.1.0-SNAPSHOT",
"tmp": "0.2.3"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class FtpMvsApi extends AbstractFtpApi implements MainframeInteraction.IM
const result = this.getDefaultResponse();
const transferOptions = {
encoding: options.encoding,
localFile: undefined,
localFile: options.file,
transferType: CoreUtils.getBinaryTransferModeOrDefault(options.binary),
};
const fileOrStreamSpecified = options.file != null || options.stream != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class FtpUssApi extends AbstractFtpApi implements MainframeInteraction.IU
const result = this.getDefaultResponse();
const transferOptions = {
transferType: CoreUtils.getBinaryTransferModeOrDefault(options.binary),
localFile: undefined,
localFile: options.file,
size: 1,
};
const fileOrStreamSpecified = options.file != null || options.stream != null;
Expand Down
13 changes: 11 additions & 2 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen

## TBD Release

### New features and enhancements

### Bug fixes

- Fixed an issue where opening sequential data sets within favorited searches resulted in an error. [#3163](https://github.com/zowe/zowe-explorer-vscode/pull/3163)
- Fixed an issue where automatic file extension detection identified file types incorrectly. [#3181](https://github.com/zowe/zowe-explorer-vscode/pull/3181)
- Fixed an issue where Zowe Explorer displayed a "No Zowe client configurations" prompt when a project user configuration existed but no global configuration was present. [#3168](https://github.com/zowe/zowe-explorer-vscode/issues/3168)
- Fixed an issue where the `ProfilesUtils.getProfileInfo` function returned a new `ProfileInfo` instance that ignored the `ZOWE_CLI_HOME` environment variable and workspace paths. [#3168](https://github.com/zowe/zowe-explorer-vscode/issues/3168)
- Fixed an issue where the location prompt for the `Create Directory` and `Create File` USS features would appear even when a path is already set for the profile or parent folder. [#3183](https://github.com/zowe/zowe-explorer-vscode/pull/3183)
- Fixed an issue where the `Create Directory` and `Create File` features would continue processing when the first prompt was dismissed, causing an incorrect URI to be generated. [#3183](https://github.com/zowe/zowe-explorer-vscode/pull/3183)
- Fixed an issue where the `Create Directory` and `Create File` features would incorrectly handle user-specified locations with trailing slashes. [#3183](https://github.com/zowe/zowe-explorer-vscode/pull/3183)
- Fixed an issue where a 401 error could occur when opening PDS members after updating credentials within the same user session. [#3150](https://github.com/zowe/zowe-explorer-vscode/issues/3150)
- Fixed issue where switching from token-based authentication to user/password would cause an error for nested profiles. [#3142](https://github.com/zowe/zowe-explorer-vscode/issues/3142)
- Fixed the "Edit Profile" operation to open the correct files when both global and project team configs are present. [#3125](https://github.com/zowe/zowe-explorer-vscode/issues/3125)

## `3.0.0`

### New features and enhancements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ import * as os from "os";
import * as path from "path";
const log4js = require("log4js");

export class EventProcessor {
public emitZoweEvent(eventName: string): void {}
}

export enum ProfLocType {
OLD_PROFILE = 0, // an old-school profile
TEAM_CONFIG = 1, // a team configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ export function createJobInfoNode(session: any, profile: imperative.IProfileLoad
collapsibleState: vscode.TreeItemCollapsibleState.None,
parentNode: session.getSessionNode(),
profile,
contextOverride: Constants.INFORMATION_CONTEXT,
});
jobNode.contextValue = Constants.INFORMATION_CONTEXT;
return jobNode;
}

Expand Down
Loading

0 comments on commit 950524f

Please sign in to comment.