Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header generation refactoring #2436

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
24a2b13
version 4
ATorrise Jan 31, 2025
dd36286
functional
ATorrise Feb 11, 2025
d2b8137
cleaning up and organizing
ATorrise Feb 11, 2025
0f0a03c
removing updatedOptions since headerMap removed binary, encoding ect …
ATorrise Feb 11, 2025
3845988
adding more context so proper uss and zfs specific headers accross sd…
ATorrise Feb 11, 2025
3e2bd3b
working minus download. more logic changes needed again
ATorrise Feb 12, 2025
ec3c719
about to clean things up but working and functional and every file am…
ATorrise Feb 14, 2025
091d609
completed
ATorrise Feb 14, 2025
4035c90
Merge remote-tracking branch 'origin/master' into rto4
ATorrise Feb 14, 2025
5291b1a
merging in changes
ATorrise Feb 14, 2025
0ebf5e2
small fixes
ATorrise Feb 14, 2025
e6c8c3f
changelog
ATorrise Feb 14, 2025
6f14d3c
changelog
ATorrise Feb 14, 2025
f0a7ea7
semicolon
ATorrise Feb 15, 2025
f747a4e
changelog fix
ATorrise Feb 15, 2025
ad22c4d
Merge branch 'rto4' of https://github.com/zowe/zowe-cli into rto4
ATorrise Feb 15, 2025
2e4809c
removing second refactor from this pr into its own
ATorrise Feb 18, 2025
3187daa
polishing
ATorrise Feb 18, 2025
0fc3b42
adding deprecation comment to old, limited method for header generation
ATorrise Feb 18, 2025
c243789
modifying create unit test to pass
ATorrise Feb 18, 2025
3bdab0c
minor change to pass test?
ATorrise Feb 18, 2025
33c8403
fixed typing so that test would pass
ATorrise Feb 19, 2025
d410d31
Merge remote-tracking branch 'origin/master' into rto4
ATorrise Feb 19, 2025
8d9c6c0
making changelog fixes per ana's suggestions
ATorrise Feb 19, 2025
9dbce9f
making changelog fixes per ana's suggestions
ATorrise Feb 19, 2025
fb2e9c7
small comment changes
ATorrise Feb 19, 2025
c62d3f7
Merge branch 'master' into rto4
ATorrise Feb 19, 2025
8258c6e
Merge branch 'rto4' of https://github.com/zowe/zowe-cli into rto4
ATorrise Feb 21, 2025
f45a053
changing context to required. adding new jest helper. updating all un…
ATorrise Mar 5, 2025
9e95769
upload tests
ATorrise Mar 5, 2025
b8494f8
.
ATorrise Mar 5, 2025
af559f3
found my mistake that was ruining multiple tests
ATorrise Mar 5, 2025
5e79592
making all requested changes
ATorrise Mar 5, 2025
9b8e219
application headers swap
ATorrise Mar 5, 2025
391a244
spacing and variable changes
ATorrise Mar 5, 2025
d16ce74
whoops
ATorrise Mar 5, 2025
b7d8cfe
text content type
ATorrise Mar 5, 2025
30e60ef
rehaul to accomidate for discrepancy in IBM vs ContentType headers
ATorrise Mar 6, 2025
a87f0bd
small type doc changes
ATorrise Mar 6, 2025
5f0a300
linting
ATorrise Mar 6, 2025
210b153
lint?
ATorrise Mar 6, 2025
786ed0a
lint!
ATorrise Mar 6, 2025
d1ef50a
lint
ATorrise Mar 6, 2025
80bef2d
fixes
ATorrise Mar 6, 2025
c9e76a5
partway rehaul
ATorrise Mar 6, 2025
57371cb
lint: address some lint stuff :yum:
zFernand0 Mar 6, 2025
e909416
Merge branch 'master' of https://github.com/zowe/zowe-cli into rto4
zFernand0 Mar 6, 2025
adf4304
chore: cleanup after merge from master
zFernand0 Mar 6, 2025
88301f3
more contexts
ATorrise Mar 7, 2025
699ba89
changes to accomidate download
ATorrise Mar 7, 2025
928fd43
combine context for download
ATorrise Mar 7, 2025
f319ae2
still figuring out upload but at a good midway point
ATorrise Mar 7, 2025
fd6086b
passing tests woot
ATorrise Mar 10, 2025
06b346e
finished logic, cleaned up, and passing unit tests
ATorrise Mar 10, 2025
3549e48
linting attempt with a prettyrc personal file
ATorrise Mar 10, 2025
7057be7
lint
ATorrise Mar 10, 2025
d77acca
Merge remote-tracking branch 'origin/master' into rto4
ATorrise Mar 10, 2025
8fa47b2
sonar cloud caught duplicate line
ATorrise Mar 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ package-lock.json
/packages/cli/npm-shrinkwrap.json
/zowe-cli
/dist/
.prettierrc
# Sonar Files
.sonar_lock
.scannerwork/
Expand Down
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const sharedConfig = {
".*/lib/.*"
],
"setupFilesAfterEnv": [
"<rootDir>/__tests__/beforeTests.js"
"<rootDir>/__tests__/beforeTests.js",
"<rootDir>/jest.setup.ts",
"jest-extended/all"
],
"transformIgnorePatterns": [ "^.+\\.js$", "^.+\\.json$" ],
"snapshotFormat": {
Expand Down
1 change: 1 addition & 0 deletions jest.setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import 'jest-extended';
23 changes: 23 additions & 0 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"jest": "^29.0.0",
"jest-environment-node": "^29.0.0",
"jest-environment-node-debug": "^2.0.0",
"jest-extended": "^4.0.2",
"jest-html-reporter": "^3.6.0",
"jest-junit": "^16.0.0",
"jest-sonar-reporter": "^2.0.0",
Expand Down
77 changes: 43 additions & 34 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log

All notable changes to the Zowe CLI package will be documented in this file.

## Recent Changes

- Enhancement: Created a centralized header class with `packages/zosfiles/src/utils/ZosFilesHeaders.ts` to be used across all methods in the ZosFiles SDK. [#2436](https://github.com/zowe/zowe-cli/pull/2436)

## `8.15.0`

- Enhancement: Added the `overwrite` parameter to the `Copy.DataSet()` command to allow for overwriting all members of a target data set with source data set members. [#2450] (https://github.com/zowe/zowe-cli/pull/2450)
Expand All @@ -25,16 +30,19 @@ All notable changes to the Zowe CLI package will be documented in this file.
- Enhancement: The `zowe zos-files copy data-set` command no longer requires the target data set to be preallocated. [##2349] (https://github.com/zowe/zowe-cli/issues/2349)

## `8.10.4`

- BugFix: Fixed an issue where the `zowe files upload dir-to-uss` command was missing progress bar to track progress of file uploads. [#2344](https://github.com/zowe/zowe-cli/issues/2344)

## `8.10.3`

- BugFix: The `zowe files copy data-set` command no longer copies all partitioned data set members if a member is specified. [#2402](https://github.com/zowe/zowe-cli/pull/2402)

## `8.10.0`

-Enhancement: The `zowe zos-files copy data-set` command now copies members from a source partitioned data set to an existing target partitioned data set.[#2386](https://github.com/zowe/zowe-cli/pull/2386)

## `8.9.0`

- Enhancement: Added new command zowe zos-files download all-members-matching, (zowe files dl amm), to download members matching specified pattern(s). The success message for the Download.allMembers API was changed from originally "Data set downloaded successfully" to "Member(s) downloaded successfully." The change also alters the commandResponse when using the --rfj flag. [#2359](https://github.com/zowe/zowe-cli/pull/2359)

## `8.8.0`
Expand All @@ -60,12 +68,10 @@ All notable changes to the Zowe CLI package will be documented in this file.

- Enhancement: Added support for running applications on TSO/E address spaces. Start applications and receive/transmit messages using the new `tso start`, `tso receive` and `tso send` commands. [#2280](https://github.com/zowe/zowe-cli/pull/2280)


## `8.4.0`

- Enhancement: Added optional `--attributes` flag to `zowe zos-files upload file-to-uss` to allow passing a .zosattributes file path for upload encoding format. [#2319](https://github.com/zowe/zowe-cli/pull/2319)


## `8.3.0`

- Enhancement: Issue the `zowe files search data-sets` command with the new `encoding` option to use a different code page when searching data set contents. [#2161](https://github.com/zowe/zowe-cli/issues/2161)
Expand All @@ -76,7 +82,7 @@ All notable changes to the Zowe CLI package will be documented in this file.

## `8.1.0`

- Enhancement: Added `--stateful` flag to `zos-tso issue cmd` to allow declaring the statefulness of the address space being created. [#2240](https://github.com/zowe/zowe-cli/pull/2240)
- Enhancement: Added `--stateful` flag to `zos-tso issue cmd` to allow declaring the statefulness of the address space being created. [#2240](https://github.com/zowe/zowe-cli/pull/2240)
- Enhancement: `--suppress-startup-messages` flag default value changed to `true`. [#2240](https://github.com/zowe/zowe-cli/pull/2240)

## `8.0.0`
Expand Down Expand Up @@ -186,21 +192,22 @@ All notable changes to the Zowe CLI package will be documented in this file.
## `8.0.0-next.202402021649`

LTS Breaking: Removed the following previously deprecated items: [#1981](https://github.com/zowe/zowe-cli/pull/1981)
- Moved the many constants from `zowe-cli/packages/cli/src/Constants.ts` to `zowe-cli/packages/core/src/constants/Core.constants.ts`
- Removing `ZosFilesCreateExtraOptions.showAttributes` without replacement
- Moved all constants from `zowe-cli/packages/cli/src/zostso/constants/ZosTso.constants.ts` to `@zowe/zos-tso-for-zowe-sdk`
- Removed `isStderrEmptyForProfilesCommand` use `stripProfileDeprecationMessages` from `zowe-cli/__tests__/__packages__/cli-test-utils/src/TestUtils.ts` instead
- Removed `allDataSetsArchived`, `datasetsDownloadedSuccessfully`, `noDataSetsMatchingPatternRemain` and `onlyEmptyPartitionedDataSets` from ZosFiles.messages.ts
- Removed `getSpoolDownloadFile` use `getSpoolDownloadFilePath` instead
- Removed constants from ZosmfSession
- ZOSMF_OPTION_HOST_PROFILE use ZOSMF_OPTION_HOST instead
- ZOSMF_OPTION_USER_PROFILE use ZOSMF_OPTION_USER instead
- ZOSMF_OPTION_PASSWORD_PROFILE use ZOSMF_OPTION_PASSWORD instead
- Removed constants from SshSession.ts
- SSH_OPTION_USER_PROFILE use SSH_OPTION_USER
- SSH_OPTION_HOST_PROFILE use SSH_OPTION_HOST
- Removed zosmfProfile from `ZosFilesBase.handler.ts`
- Removed statCmdFlag as an export from Shell.ts

- Moved the many constants from `zowe-cli/packages/cli/src/Constants.ts` to `zowe-cli/packages/core/src/constants/Core.constants.ts`
- Removing `ZosFilesCreateExtraOptions.showAttributes` without replacement
- Moved all constants from `zowe-cli/packages/cli/src/zostso/constants/ZosTso.constants.ts` to `@zowe/zos-tso-for-zowe-sdk`
- Removed `isStderrEmptyForProfilesCommand` use `stripProfileDeprecationMessages` from `zowe-cli/__tests__/__packages__/cli-test-utils/src/TestUtils.ts` instead
- Removed `allDataSetsArchived`, `datasetsDownloadedSuccessfully`, `noDataSetsMatchingPatternRemain` and `onlyEmptyPartitionedDataSets` from ZosFiles.messages.ts
- Removed `getSpoolDownloadFile` use `getSpoolDownloadFilePath` instead
- Removed constants from ZosmfSession
- ZOSMF_OPTION_HOST_PROFILE use ZOSMF_OPTION_HOST instead
- ZOSMF_OPTION_USER_PROFILE use ZOSMF_OPTION_USER instead
- ZOSMF_OPTION_PASSWORD_PROFILE use ZOSMF_OPTION_PASSWORD instead
- Removed constants from SshSession.ts
- SSH_OPTION_USER_PROFILE use SSH_OPTION_USER
- SSH_OPTION_HOST_PROFILE use SSH_OPTION_HOST
- Removed zosmfProfile from `ZosFilesBase.handler.ts`
- Removed statCmdFlag as an export from Shell.ts

## `8.0.0-next.202401262128`

Expand Down Expand Up @@ -230,7 +237,7 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/
## `8.0.0-next.202311141517`

- LTS Breaking: Alter the format of error messages to be more clear and actionable.
- LTS Breaking: Remove the ```bright``` command from the product.
- LTS Breaking: Remove the `bright` command from the product.

## `8.0.0-next.202311132045`

Expand Down Expand Up @@ -365,7 +372,6 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/

- BugFix: Fixed `secondary` option being specified as `1` on `BLANK` type datasets with the `zowe files create data-set` command [#1595](https://github.com/zowe/zowe-cli/issues/1595)


## `7.16.3`

- BugFix: Updated `imperative` to fix undesired behavior in the `zowe config list` command in certain situations.
Expand All @@ -386,7 +392,7 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/

## `7.15.0`

- Enhancement: Added the `zowe files copy dsclp` command to copy a dataset from one LPAR to another. [#1098](https://github.com/zowe/zowe-cli/issues/1098)
- Enhancement: Added the `zowe files copy dsclp` command to copy a dataset from one LPAR to another. [#1098](https://github.com/zowe/zowe-cli/issues/1098)

## `7.14.1`:

Expand Down Expand Up @@ -421,16 +427,20 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/
- BugFix: Solved daemon issue where Windows usernames were treated as case-sensitive when checking the daemon process owner during Zowe commands.

## `7.11.0`

- Enhancement: Added support for a CLI specific environment variable file. [#1484](https://github.com/zowe/zowe-cli/issues/1484)
- BugFix: Enabled option to download output from a submitted job with the -d flag. The -e flag now enables changes to file extension as originally intended. [#729](https://github.com/zowe/zowe-cli/issues/729)

## `7.10.4`

- BugFix: Changed default value for modify-jobs option in the zowe jobs command group to 2.0. This change results in calls to z/OSMF becoming synchronous, and a successful response from the modify, cancel, and delete commands indicates the requested action was completed successfully. [#1459](https://github.com/zowe/zowe-cli/issues/1459)

## `7.10.3`

- BugFix: Fix in employing `--context-lines` option for all diff/compare commands. Fixed broken `--seqnum` option implementation.[#1529](https://github.com/zowe/zowe-cli/issues/1529)

## `7.10.2`

- BugFix: Updated Imperative to include bugfixes in version `5.8.2`.

## `7.10.0`
Expand Down Expand Up @@ -547,7 +557,7 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/

- BugFix: Fixed name of the positional in `zowe zos-jobs submit uss-file` command.
- BugFix: Updated the description of the `zowe zos-jobs view all-spool-content` command.
- BugFix: Updated the descriptions of the `zowe zos-files view uss-file` and `zowe zos-files view data-set` commands.
- BugFix: Updated the descriptions of the `zowe zos-files view uss-file` and `zowe zos-files view data-set` commands.
- BugFix: Removed the `zowe zos-files view uss-file <file> --record` option.
- BugFix: Fixed description of the `zowe zos-jobs delete` command group.
- BugFix: Added `--modify-version` option to `zowe zos-jobs delete old-jobs` command for feature parity with `zowe zos-jobs delete job`.
Expand Down Expand Up @@ -698,7 +708,7 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/

## `7.0.0-next.202112281543`

- Enhancement: update a "show attributes" flag to be `-a` instead of `--pa`. `--pa` is a "hidden" alias.
- Enhancement: update a "show attributes" flag to be `-a` instead of `--pa`. `--pa` is a "hidden" alias.

## `7.0.0-next.202112201801`

Expand All @@ -724,14 +734,14 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/
## `7.0.0-next.202111111904`

- Daemon mode updates:
- Enhancements:
- Renamed the platform-specific executable from zowex to zowe, so that existing zowe commands used from the command line or in scripts do not have to change when running in daemon mode.
- Automatically launch the background daemon when one is not running.
- The daemon no longer has its own visible window, making it much more daemon-like.
- An environment variable named ZOWE_USE_DAEMON can be set to "no" to prevent the use of the daemon. Commands are then passed to the traditional zowe-CLI command. Thus, you can temporarily use the traditional Zowe CLI command to correct some display limitations (like displaying colors).
- Bug fixes:
- Eliminate the display of escape characters when colors are displayed while running in daemon mode. [#938](https://github.com/zowe/zowe-cli/issues/938). Currently accomplished by not displaying colors in daemon mode.
- Command-line arguments that contain spaces no longer require extra quotes or escapes. [#978](https://github.com/zowe/zowe-cli/issues/978)
- Enhancements:
- Renamed the platform-specific executable from zowex to zowe, so that existing zowe commands used from the command line or in scripts do not have to change when running in daemon mode.
- Automatically launch the background daemon when one is not running.
- The daemon no longer has its own visible window, making it much more daemon-like.
- An environment variable named ZOWE_USE_DAEMON can be set to "no" to prevent the use of the daemon. Commands are then passed to the traditional zowe-CLI command. Thus, you can temporarily use the traditional Zowe CLI command to correct some display limitations (like displaying colors).
- Bug fixes:
- Eliminate the display of escape characters when colors are displayed while running in daemon mode. [#938](https://github.com/zowe/zowe-cli/issues/938). Currently accomplished by not displaying colors in daemon mode.
- Command-line arguments that contain spaces no longer require extra quotes or escapes. [#978](https://github.com/zowe/zowe-cli/issues/978)

## `7.0.0-next.202111111709`

Expand Down Expand Up @@ -799,7 +809,6 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/

- BugFix: Updated Imperative to consume security updates in `4.18.2`.


## `6.39.0`

- BugFix: Provided more accurate output for `zowe zos-jobs delete job` and `zowe zos-jobs cancel job` commands [#1333](https://github.com/zowe/zowe-cli/issues/1333)
Expand Down Expand Up @@ -902,15 +911,15 @@ LTS Breaking: Removed the following previously deprecated items: [#1981](https:/

## `6.31.2`

- Enhancement: Added new aliases for zos-files commands in delete, download, and list relating to USS files. You can now interact with `uf` or `uss`. [#983](https://github.com/zowe/zowe-cli/issues/983)
- Enhancement: Added new aliases for zos-files commands in delete, download, and list relating to USS files. You can now interact with `uf` or `uss`. [#983](https://github.com/zowe/zowe-cli/issues/983)

## `6.31.0`

- Enhancement: Add the option --jcl-symbols to the jobs submit command to enable users to specify JCL symbol names and values.

## `6.30.0`

- Enhancement: made changes to definition files for zowe ssh commands [#603](https://github.com/zowe/zowe-cli/issues/603)
- Enhancement: made changes to definition files for zowe ssh commands [#603](https://github.com/zowe/zowe-cli/issues/603)

## `6.29.0`

Expand Down
4 changes: 4 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the Zowe core SDK package will be documented in this file.

## Recent Changes

- Enhancement: Added the recursive header option, `X_IBM_RECURSIVE`, to `packages/core/src/rest/ZosmfHeaders.ts`. [#2436](https://github.com/zowe/zowe-cli/pull/2436)

## `8.1.1`

- BugFix: Updated peer dependencies to `^8.0.0`, dropping support for versions tagged `next`. [#2287](https://github.com/zowe/zowe-cli/pull/2287)
Expand Down
11 changes: 9 additions & 2 deletions packages/core/src/rest/ZosmfHeaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ export class ZosmfHeaders {
public static readonly X_IBM_INTRDR_LRECL = "X-IBM-Intrdr-Lrecl";


/**
* header indicating recursive = true
* @static
* @memberof ZosmfHeaders
*/
public static readonly X_IBM_RECURSIVE: IHeaderContent = {"X-IBM-Option": "recursive"};

/**
* recfm header
* @static
Expand Down Expand Up @@ -115,7 +122,7 @@ export class ZosmfHeaders {
* @static
* @memberof ZosmfHeaders
*/
public static readonly X_CSRF_ZOSMF_HEADER: object = { "X-CSRF-ZOSMF-HEADER": true }; // "the value does not matter"
public static readonly X_CSRF_ZOSMF_HEADER: IHeaderContent = { "X-CSRF-ZOSMF-HEADER": "true" }; //value doesn't matter

/**
* binary transfer header
Expand Down Expand Up @@ -153,7 +160,7 @@ export class ZosmfHeaders {
public static readonly X_IBM_TEXT_ENCODING: string = ";fileEncoding=";

/**
* octet stream header
* octet stream header, related to binary encoding
* @static
* @memberof ZosmfHeaders
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
],
"testRegex": "__integration__.*(test|spec)\\.(ts|js)",
"setupFilesAfterEnv": [
"<rootDir>/__tests__/beforeTests.js"
"<rootDir>/__tests__/beforeTests.js",
"<rootDir>/jest.setup.ts",
"jest-extended/all"
]
}
8 changes: 7 additions & 1 deletion packages/zosfiles/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@

All notable changes to the Zowe z/OS files SDK package will be documented in this file.

## Recent Changes

- Enhancement: Created a centralized header class with `packages/zosfiles/src/utils/ZosFilesHeaders.ts` to be used across all methods in the ZosFiles SDK. [#2436](https://github.com/zowe/zowe-cli/pull/2436)

## `8.15.0`

- BugFix: Modified the `Copy.copyPDS()` function to have `sourceMemberList` as an optional parameter to avoid a breaking change. [#2453](https://github.com/zowe/zowe-cli/pull/2453)
- Enhancement: Added the `overwrite` parameter to the `Copy.DataSet()` command to allow for overwriting all members of a target data set with source data set members. [#2450] (https://github.com/zowe/zowe-cli/pull/2450)

## `8.14.1`

-BugFix: When using the copy command with a non existent source data set, an unclear error was displayed to the user. Now, a more user-friendly message is provided [#2447] (https://github.com/zowe/zowe-cli/issues/2447).
-BugFix: When using the copy command with a non existent source data set, an unclear error was displayed to the user. Now, a more user-friendly message is provided [#2447] (https://github.com/zowe/zowe-cli/issues/2447).
-BugFix: The updated logic to determine whether a data set is a partitioned data set now ensures that the `dsorg` attributes of types `PO-E`, `PO-L`, `PO-U` are handled correctly. [#2390] (https://github.com/zowe/zowe-cli/issues/2390).

- BugFix: When using the `copy` command, if a target partitioned data set has a smaller record length than a source partitioned data set, the operation for subsequent members no longer stops. The user can now view the affected members in a local file. [#2349] (https://github.com/zowe/zowe-cli/issues/2349)
- BugFix: Users were not warned when copying partitioned data sets with identical member names. Now, the user is prompted to confirm before continuing the copy operation to avoid potential data loss. [#2349] (https://github.com/zowe/zowe-cli/issues/2349)

Expand All @@ -21,6 +26,7 @@ All notable changes to the Zowe z/OS files SDK package will be documented in thi
- BugFix: The `Copy.data.set` function now prompts the user to confirm before overwriting the contents of the target data set with the addition of the `--safe-replace` option. [#2369] (https://github.com/zowe/zowe-cli/issues/2369)

## `8.12.0`

- Enhancement: The `Copy.dataset` function now creates a new data set if the entered target data set does not exist. [#2349](https://github.com/zowe/zowe-cli/issues/2349)
- Enhancement: Added the `maxLength` option to List SDK functions (`allMembers`, `dataSetsMatchingPattern`, `membersMatchingPattern`) to specify the maximum number of items to return. [#2409](https://github.com/zowe/zowe-cli/pull/2409)
- Enhancement: Added the `start` option to List SDK functions (`allMembers`, `dataSetsMatchingPattern`, `membersMatchingPattern`) to specify the first data set/member name to return in the response. [#2409](https://github.com/zowe/zowe-cli/pull/2409)
Expand Down
Loading