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 <49491949+JillieBeanSim@users.noreply.github.com>

* add changelog, fix test, run package

Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>

* To address issue with opening project config in zowe dir

Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com>

* To fix pnpm lint failure

Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com>

* To update CHANGELOG.md file

Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com>

* fix(ZoweDatasetNode): Add contextOverride to PS node

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* chore: add PR number to ZE changelog

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* fix: Add check for binary in contextOverride

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* Update release.config.js for Zowe V3 GA

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* chore: missing newline in ZE changelog

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* chore: add changelog entry for ZE

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* chore: adjust changelog to match v2 port

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* tests: Add unit test to verify readProfilesFromDisk behavior

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* To revert back logic to open the global config file

Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com>

* chore: update ZE changelog entries

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

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

* Remove sample VSCEs and restore carets for SDK deps

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Update Zowe SDKs to remove prerelease peer deps

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Ignore issueTsoCommand deprecation warning for now

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

---------

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>

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

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com>

* 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 <trae.yelovich@broadcom.com>

* chore: update ZE changelog

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* fix: resolve failing tests, remove unused isTopLevel parameter

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* refactor: remove unused createUSSNodeDialog function

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* chore: add additional bugfix to ZE changelog

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* tests: add case for dismissing location prompt

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* tests: add case for createUSSNode - trailing slashes

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* refactor: use isTopLevel earlier in createUSSNode

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

---------

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com>

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

* fix(ds): File extension detection misidentifies types

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Simplify ds extension mapping

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

---------

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com>
Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com>

* 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 <timothy.johnson@broadcom.com>

* Propagate profile updates to child nodes

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Skip vault change events triggered by ZE

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Update changelog

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* chore: update ZE API changelog

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* ran prepublish

Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>

* fix: pass processor as function arg instead of bind

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* Make error handling consistent across all trees

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Move 401 error handling back into node methods

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Update unit tests for error handling and placeholder nodes

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

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

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Fix log statements in wrong place

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Use contextOverride when building session nodes

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Add tests for memberPattern on ds node

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Add unit test for USS placeholder node

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Fix extra tree refresh on credential update

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Store saved profile contents by URI path

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Fix update creds cancelling and node not refreshing

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Fix failing USS actions test

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Handle scenario of falsy node to refresh

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Add unit test for syncSessionNode

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Don't show placeholder node when there is error

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

---------

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com>
Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com>

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

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>

* chore: add missing license header

Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>

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

Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>

* chore: update changelog files

Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>

* chore: update changelog 😋

Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>

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

* Fix children in tree nodes persisting on error

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

* Update unit tests to ensure children don't persist

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

---------

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>

---------

Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Signed-off-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com>
Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com>
Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com>
Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Co-authored-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com>
Co-authored-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com>
Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com>
Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com>
Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com>
  • Loading branch information
7 people committed Oct 11, 2024
1 parent 42e4895 commit e24499c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
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
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
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

- 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)
Expand Down
2 changes: 0 additions & 2 deletions packages/zowe-explorer-ftp-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ 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)
Expand Down
11 changes: 11 additions & 0 deletions packages/zowe-explorer-ftp-extension/__mocks__/mockUtils.ts
Original file line number Diff line number Diff line change
@@ -1,2 +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;
4 changes: 2 additions & 2 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ 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)
Expand All @@ -16,6 +14,8 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen
- 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`

Expand Down

0 comments on commit e24499c

Please sign in to comment.