Skip to content

Commit

Permalink
Port 3.0.1 missing release changes to main (#3231)
Browse files Browse the repository at this point in the history
* 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>
Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.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>
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: zFernand0 <37381190+zFernand0@users.noreply.github.com>

* ci: change node versions on lint & deployment workflows (#3228)

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

* Prep 3.0.1 (#3202)

* 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>

* Bump version to 3.0.1 [ci skip]

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

* Bump version to 3.0.1-SNAPSHOT [ci skip]

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

* chore: add dco remediation paths

Third-Party DCO Remediation Commit for Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>

On behalf of Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>, I, zFernand0 <37381190+zFernand0@users.noreply.github.com>, hereby add my Signed-off-by to this commit: 950524f

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

* chore: revert version changes after rebase to fix DCO

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

* chore: remove duplicate changelog items. thanks @t1m0thyj

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

* address comment

Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.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>
Signed-off-by: zFernand0 <37381190+zFernand0@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: Billie Simmons <BillieJean.Simmons@ibm.com>
Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: zowe-robot <zowe.robot@gmail.com>
Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com>
Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com>
Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@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: zowe-robot <zowe.robot@gmail.com>
  • Loading branch information
7 people authored Oct 14, 2024
1 parent 525d29d commit e816257
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
allowRemediationCommits:
individual: true
thirdParty: true
2 changes: 2 additions & 0 deletions packages/eslint-plugin-zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ All notable changes to the "eslint-plugin-zowe-explorer" package will be documen

### Bug fixes

## `3.0.1`

## `3.0.0`

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

### Bug fixes

## `3.0.1`

### 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`
Expand Down
4 changes: 4 additions & 0 deletions packages/zowe-explorer-ftp-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ All notable changes to the "zowe-explorer-ftp-extension" extension will be docum

### Bug fixes

## `3.0.1`

### 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`
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;
7 changes: 5 additions & 2 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen

### Bug fixes

## `3.0.1`

### 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)
Expand All @@ -16,6 +20,7 @@ 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 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 Expand Up @@ -95,8 +100,6 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen
- Fixed issue where obsolete credentials persisted for PDS member nodes in Data Sets tree. [#3112](https://github.com/zowe/zowe-explorer-vscode/issues/3112)
- Fixed issue where Search operation did not prompt for credentials if profile contains expired token. [#2259](https://github.com/zowe/zowe-explorer-vscode/issues/2259)
- Fixed issue where inactive status was not displayed for profiles loaded from Global Config. [#3134](https://github.com/zowe/zowe-explorer-vscode/issues/3134)
- 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-next.202409132122`

Expand Down

0 comments on commit e816257

Please sign in to comment.