Skip to content
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
71 changes: 42 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
$ sf COMMAND
running command...
$ sf (--version|-v)
@salesforce/cli/2.94.1 linux-x64 node-v22.16.0
@salesforce/cli/2.94.2 linux-x64 node-v22.16.0
$ sf --help [COMMAND]
USAGE
$ sf COMMAND
Expand Down Expand Up @@ -5522,10 +5522,12 @@ Convert a managed-released first-generation managed package into a second-genera
```
USAGE
$ sf package convert -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-k <value>] [-f
<value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>]
<value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>] [-c]

FLAGS
-a, --patch-version=<value> Specific released patch version to be converted.
-c, --code-coverage Calculate and store the code coverage percentage by running the packaged Apex tests
included in this package version.
-f, --definition-file=<value> Path to a definition file that contains features and org preferences that the metadata
of the package version depends on.
-k, --installation-key=<value> Installation key for key-protected package.
Expand Down Expand Up @@ -5556,6 +5558,9 @@ DESCRIPTION
To protect the contents of your package and to prevent unauthorized installation of your package, specify the
--installation-key flag.

To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the
code coverage requirements.

To list package version creation requests in the org, run "sf package version create list".

ALIASES
Expand All @@ -5576,6 +5581,14 @@ FLAG DESCRIPTIONS

Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.

-c, --code-coverage

Calculate and store the code coverage percentage by running the packaged Apex tests included in this package
version.

Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage
requirement.

-f, --definition-file=<value>

Path to a definition file that contains features and org preferences that the metadata of the package version
Expand All @@ -5597,7 +5610,7 @@ FLAG DESCRIPTIONS
--installation-key-bypass flag is required.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/convert.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/convert.ts)_

## `sf package create`

Expand Down Expand Up @@ -5676,7 +5689,7 @@ FLAG DESCRIPTIONS
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/create.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/create.ts)_

## `sf package delete`

Expand Down Expand Up @@ -5718,7 +5731,7 @@ EXAMPLES
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/delete.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/delete.ts)_

## `sf package install`

Expand Down Expand Up @@ -5817,7 +5830,7 @@ FLAG DESCRIPTIONS
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/install.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/install.ts)_

## `sf package install report`

Expand Down Expand Up @@ -5850,7 +5863,7 @@ EXAMPLES
$ sf package install report --request-id 0Hf... --target-org me@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/install/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/install/report.ts)_

## `sf package installed list`

Expand Down Expand Up @@ -5882,7 +5895,7 @@ EXAMPLES
$ sf package installed list --target-org me@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/installed/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/installed/list.ts)_

## `sf package list`

Expand Down Expand Up @@ -5920,7 +5933,7 @@ EXAMPLES
$ sf package list --target-dev-hub devhub@example.com --verbose
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/list.ts)_

## `sf package push-upgrade abort`

Expand Down Expand Up @@ -5960,7 +5973,7 @@ EXAMPLES
$ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/abort.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/abort.ts)_

## `sf package push-upgrade list`

Expand Down Expand Up @@ -6019,7 +6032,7 @@ EXAMPLES
$ sf package push-upgrade list --package 033xyz –-status Failed
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/list.ts)_

## `sf package push-upgrade report`

Expand Down Expand Up @@ -6061,7 +6074,7 @@ EXAMPLES
$ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/report.ts)_

## `sf package push-upgrade schedule`

Expand Down Expand Up @@ -6143,7 +6156,7 @@ FLAG DESCRIPTIONS
Overrides the value of the target-dev-hub configuration variable, if set.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/push-upgrade/schedule.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/push-upgrade/schedule.ts)_

## `sf package uninstall`

Expand Down Expand Up @@ -6191,7 +6204,7 @@ EXAMPLES
$ sf package uninstall --package "Undesirable Package Alias"
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/uninstall.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/uninstall.ts)_

## `sf package uninstall report`

Expand Down Expand Up @@ -6224,7 +6237,7 @@ EXAMPLES
$ sf package uninstall report --request-id 06y... --target-org me@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/uninstall/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/uninstall/report.ts)_

## `sf package update`

Expand Down Expand Up @@ -6279,7 +6292,7 @@ FLAG DESCRIPTIONS
associated with your package.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/update.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/update.ts)_

## `sf package version create`

Expand Down Expand Up @@ -6454,7 +6467,7 @@ FLAG DESCRIPTIONS
periods of no output from commands.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/create.ts)_

## `sf package version create list`

Expand Down Expand Up @@ -6515,7 +6528,7 @@ EXAMPLES
$ sf package version create list --created-last-days 0 --status Success
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/create/list.ts)_

## `sf package version create report`

Expand Down Expand Up @@ -6558,7 +6571,7 @@ EXAMPLES
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/create/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/create/report.ts)_

## `sf package version delete`

Expand Down Expand Up @@ -6599,7 +6612,7 @@ EXAMPLES
$ sf package version delete --package 04t... --target-org devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/delete.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/delete.ts)_

## `sf package version displayancestry`

Expand Down Expand Up @@ -6659,7 +6672,7 @@ FLAG DESCRIPTIONS
You can use the DOT code output in graph visualization software to create tree visualizations.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/displayancestry.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/displayancestry.ts)_

## `sf package version list`

Expand Down Expand Up @@ -6735,7 +6748,7 @@ EXAMPLES
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/list.ts)_

## `sf package version promote`

Expand Down Expand Up @@ -6779,7 +6792,7 @@ EXAMPLES
$ sf package version promote --package "Awesome Package Alias"
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/promote.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/promote.ts)_

## `sf package version report`

Expand Down Expand Up @@ -6819,7 +6832,7 @@ EXAMPLES
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/report.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/report.ts)_

## `sf package version update`

Expand Down Expand Up @@ -6872,7 +6885,7 @@ EXAMPLES
$ sf package version update --package 04t... --version-description "New Package Version Description"
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package/version/update.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package/version/update.ts)_

## `sf package1 version create`

Expand Down Expand Up @@ -6939,7 +6952,7 @@ FLAG DESCRIPTIONS
subscribers.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/create.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/create.ts)_

## `sf package1 version create get`

Expand Down Expand Up @@ -6972,7 +6985,7 @@ EXAMPLES
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/create/get.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/create/get.ts)_

## `sf package1 version display`

Expand Down Expand Up @@ -7006,7 +7019,7 @@ EXAMPLES
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/display.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/display.ts)_

## `sf package1 version list`

Expand Down Expand Up @@ -7044,7 +7057,7 @@ FLAG DESCRIPTIONS
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
```

_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.15.4/src/commands/package1/version/list.ts)_
_See code: [@salesforce/plugin-packaging](https://github.com/salesforcecli/plugin-packaging/blob/2.16.0/src/commands/package1/version/list.ts)_

## `sf plugins`

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/cli",
"description": "The Salesforce CLI",
"version": "2.94.1",
"version": "2.94.2",
"author": "Salesforce",
"bin": {
"sf": "./bin/run.js",
Expand Down Expand Up @@ -168,7 +168,7 @@
"@salesforce/plugin-limits": "3.3.56",
"@salesforce/plugin-marketplace": "1.3.8",
"@salesforce/plugin-org": "5.8.0",
"@salesforce/plugin-packaging": "2.15.4",
"@salesforce/plugin-packaging": "2.16.0",
"@salesforce/plugin-schema": "3.3.66",
"@salesforce/plugin-settings": "2.4.31",
"@salesforce/plugin-sobject": "1.4.60",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2056,10 +2056,10 @@
dependencies:
"@salesforce/ts-types" "^2.0.12"

"@salesforce/packaging@^4.6.0":
version "4.6.0"
resolved "https://registry.yarnpkg.com/@salesforce/packaging/-/packaging-4.6.0.tgz#ae30f6593da66d32b451c879d1eec23dcf664161"
integrity sha512-DAt37E6C0KeVbkIZEiplN6vmqQ5NB58TSYAk6LjX6+ZbvSV4lnBc4mSCDcErmqCn5mWW3fdPvxL8FlyYhmpL4g==
"@salesforce/packaging@^4.7.0":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@salesforce/packaging/-/packaging-4.7.0.tgz#550d450486cf28edd7f5c7c76e6bce6e4d76d4e0"
integrity sha512-fYwE0oChQ7MBqeAbi2vq3NZBe2qw0nsXbXdNwgl2ybREDE2RLqWRIB75OGxEa9ARQNrdWOVE7sR81cGLyCIupg==
dependencies:
"@jsforce/jsforce-node" "^3.6.5"
"@salesforce/core" "^8.11.1"
Expand Down Expand Up @@ -2246,15 +2246,15 @@
open "^10.1.2"
terminal-link "^3.0.0"

"@salesforce/plugin-packaging@2.15.4":
version "2.15.4"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-packaging/-/plugin-packaging-2.15.4.tgz#2bcb6122aaca3c03f5c4b6eee1e6eb785f842da4"
integrity sha512-aCY+kDqOG0LZdrxeB0siWYskNqa22Dhi8sQZ2y/jJGNPlt/+zRNbRLv6ISYikdSYFEXCUvCr+4jjFwlWx2odvw==
"@salesforce/plugin-packaging@2.16.0":
version "2.16.0"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-packaging/-/plugin-packaging-2.16.0.tgz#c9aa5e42df7cf81fe67f0ff1177ed768ecec38ff"
integrity sha512-vA6UgyzH21g482n89RA8WeNTy/KTAqtLMJ2nseyrT3AQ/xf+8yB2Bnzq7gGzCSJO05WvHmAAorr4rQoFILQO4Q==
dependencies:
"@oclif/core" "^4"
"@salesforce/core" "^8.12.0"
"@salesforce/kit" "^3.2.3"
"@salesforce/packaging" "^4.6.0"
"@salesforce/packaging" "^4.7.0"
"@salesforce/sf-plugins-core" "^12.2.2"
chalk "^5.4.1"

Expand Down
Loading