From caba6fd10ebdbc1a5701b5f3f714b3df365ad8cb Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sat, 14 Jun 2025 02:35:02 +0000 Subject: [PATCH] chore(release): bump to 2.94.2 --- README.md | 71 +++++++++++++++++++++++++++++++--------------------- package.json | 4 +-- yarn.lock | 18 ++++++------- 3 files changed, 53 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index b6f3c27d..6b105c57 100644 --- a/README.md +++ b/README.md @@ -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 @@ -5522,10 +5522,12 @@ Convert a managed-released first-generation managed package into a second-genera ``` USAGE $ sf package convert -v -p [--json] [--flags-dir ] [--api-version ] [-k ] [-f - ] [-x] [-w ] [-m ] [--verbose] [-a ] + ] [-x] [-w ] [-m ] [--verbose] [-a ] [-c] FLAGS -a, --patch-version= 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= Path to a definition file that contains features and org preferences that the metadata of the package version depends on. -k, --installation-key= Installation key for key-protected package. @@ -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 @@ -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= Path to a definition file that contains features and org preferences that the metadata of the package version @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` @@ -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` diff --git a/package.json b/package.json index 43680763..9065c046 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/yarn.lock b/yarn.lock index ef476ef2..e309d0be 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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" @@ -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"