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

Remove remaining references to V1 profiles pt 2 #2249

Merged
merged 7 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 17 additions & 3 deletions packages/imperative/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

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

## Recent Changes

- LTS Breaking: Removed the following obsolete V1 profile classes/functions:
- `CliProfileManager`
- `CliUtils.getOptValueFromProfiles`
- `CommandProfiles`
- `ProfileValidator`

See [`8.0.0-next.202408271330`](#800-next202408271330) for replacements
- Next Breaking: Changed 2nd parameter of `CliUtils.getOptValuesFromConfig` method from type `ICommandDefinition` to `ICommandProfile`.
- Next Breaking: Renamed `ConfigSecure.secureFieldsForLayer` method to `securePropsForLayer`.

## `8.0.0-next.202408291544`

- Enhancement: Added a new SDK method (`ConfigSecure.secureFieldsForLayer`) to allow developers to get vault content in the context of the specified layer. [#2206](https://github.com/zowe/zowe-cli/issues/2206)
Expand All @@ -10,13 +22,15 @@ All notable changes to the Imperative package will be documented in this file.
## `8.0.0-next.202408271330`

- LTS Breaking: [#2231](https://github.com/zowe/zowe-cli/issues/2231)
- Removed the obsolete V1 `profiles` property from `IHandlerParameters` interface
- Removed the obsolete V1 `profiles` property from `IHandlerParameters` interface - Use `IHandlerParameters.arguments` to access profile properties in a command handler
- Deprecated the following obsolete V1 profile interfaces:
- `IProfileTypeConfiguration.dependencies` - For team config, use nested profiles instead
- `IProfileTypeConfiguration.validationPlanModule` - For team config, validate with JSON schema instead
- Deprecated the following obsolete V1 profile classes/functions:
- `CliUtils.getOptValueFromProfiles` - Use `getOptValuesFromConfig` instead to load from team config
- `CommandProfiles` - Use the `V1ProfileRead` class if you still need to read V1 profiles
- `CliProfileManager` - Use `ProfileInfo` class to manage team config profiles
- `CliUtils.getOptValueFromProfiles` - Use `CliUtils.getOptValuesFromConfig` to load properties from team config
- `CommandProfiles` - Use `ImperativeConfig.instance.config.api.profiles` to load profiles from team config
- `ProfileValidator` - No direct replacement

## `8.0.0-next.202408231832`

Expand Down

This file was deleted.

This file was deleted.

Loading