Skip to content

Commit 2473c54

Browse files
committed
chore(release): 2.16.0 [skip ci]
1 parent a7c59a2 commit 2473c54

File tree

4 files changed

+56
-33
lines changed

4 files changed

+56
-33
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# [2.16.0](https://github.com/salesforcecli/plugin-packaging/compare/2.15.4...2.16.0) (2025-06-13)
2+
3+
### Features
4+
5+
- adding code coverage option description to the convert command ([ebd51da](https://github.com/salesforcecli/plugin-packaging/commit/ebd51da9d6607d0bbbe10edcf37fec5924f7b7f8))
6+
- adding code coverage option linking with packaging ([542cc69](https://github.com/salesforcecli/plugin-packaging/commit/542cc694738f62f89939d156654d5dcffe7b4937))
7+
- adding code coverage option to the convert command ([0574be5](https://github.com/salesforcecli/plugin-packaging/commit/0574be591647c9fa8da31d44a734f41a3396fbaa))
8+
- adding code coverage option to the convert command with snapshot ([07959d1](https://github.com/salesforcecli/plugin-packaging/commit/07959d18345974793d6dd4e6287c80511d337fb3))
9+
- adding code coverage option to the convert command with snapshot and tests ([a6cb4d4](https://github.com/salesforcecli/plugin-packaging/commit/a6cb4d4370f64cfeb110c17f8b4fecc146b47298))
10+
111
## [2.15.4](https://github.com/salesforcecli/plugin-packaging/compare/2.15.3...2.15.4) (2025-06-10)
212

313
### Bug Fixes

README.md

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,12 @@ Convert a managed-released first-generation managed package into a second-genera
6565
```
6666
USAGE
6767
$ sf package convert -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-k <value>] [-f
68-
<value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>]
68+
<value>] [-x] [-w <value>] [-m <value>] [--verbose] [-a <value>] [-c]
6969
7070
FLAGS
7171
-a, --patch-version=<value> Specific released patch version to be converted.
72+
-c, --code-coverage Calculate and store the code coverage percentage by running the packaged Apex tests
73+
included in this package version.
7274
-f, --definition-file=<value> Path to a definition file that contains features and org preferences that the metadata
7375
of the package version depends on.
7476
-k, --installation-key=<value> Installation key for key-protected package.
@@ -99,6 +101,9 @@ DESCRIPTION
99101
To protect the contents of your package and to prevent unauthorized installation of your package, specify the
100102
--installation-key flag.
101103
104+
To promote a package version to released, you must use the --code-coverage parameter. The package must also meet the
105+
code coverage requirements.
106+
102107
To list package version creation requests in the org, run "sf package version create list".
103108
104109
ALIASES
@@ -119,6 +124,14 @@ FLAG DESCRIPTIONS
119124
120125
Specify a released patch version as major.minor.patch to convert to a second-generation managed package version.
121126
127+
-c, --code-coverage
128+
129+
Calculate and store the code coverage percentage by running the packaged Apex tests included in this package
130+
version.
131+
132+
Before you can promote and release a managed package version, the Apex code must meet a minimum 75% code coverage
133+
requirement.
134+
122135
-f, --definition-file=<value>
123136
124137
Path to a definition file that contains features and org preferences that the metadata of the package version
@@ -140,7 +153,7 @@ FLAG DESCRIPTIONS
140153
--installation-key-bypass flag is required.
141154
```
142155

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

145158
## `sf package create`
146159

@@ -219,7 +232,7 @@ FLAG DESCRIPTIONS
219232
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
220233
```
221234

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

224237
## `sf package delete`
225238

@@ -261,7 +274,7 @@ EXAMPLES
261274
$ sf package delete --package 0Ho... --target-dev-hub [email protected]
262275
```
263276

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

266279
## `sf package install`
267280

@@ -360,7 +373,7 @@ FLAG DESCRIPTIONS
360373
- Delete: Delete all removed components that can be safely deleted, and deprecate the other components.
361374
```
362375

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

365378
## `sf package install report`
366379

@@ -393,7 +406,7 @@ EXAMPLES
393406
$ sf package install report --request-id 0Hf... --target-org [email protected]
394407
```
395408

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

398411
## `sf package installed list`
399412

@@ -425,7 +438,7 @@ EXAMPLES
425438
$ sf package installed list --target-org [email protected]
426439
```
427440

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

430443
## `sf package list`
431444

@@ -463,7 +476,7 @@ EXAMPLES
463476
$ sf package list --target-dev-hub [email protected] --verbose
464477
```
465478

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

468481
## `sf package push-upgrade abort`
469482

@@ -503,7 +516,7 @@ EXAMPLES
503516
$ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub [email protected]
504517
```
505518

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

508521
## `sf package push-upgrade list`
509522

@@ -562,7 +575,7 @@ EXAMPLES
562575
$ sf package push-upgrade list --package 033xyz –-status Failed
563576
```
564577

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

567580
## `sf package push-upgrade report`
568581

@@ -604,7 +617,7 @@ EXAMPLES
604617
$ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub [email protected]
605618
```
606619

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

609622
## `sf package push-upgrade schedule`
610623

@@ -686,7 +699,7 @@ FLAG DESCRIPTIONS
686699
Overrides the value of the target-dev-hub configuration variable, if set.
687700
```
688701

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

691704
## `sf package uninstall`
692705

@@ -734,7 +747,7 @@ EXAMPLES
734747
$ sf package uninstall --package "Undesirable Package Alias"
735748
```
736749

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

739752
## `sf package uninstall report`
740753

@@ -767,7 +780,7 @@ EXAMPLES
767780
$ sf package uninstall report --request-id 06y... --target-org [email protected]
768781
```
769782

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

772785
## `sf package update`
773786

@@ -822,7 +835,7 @@ FLAG DESCRIPTIONS
822835
associated with your package.
823836
```
824837

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

827840
## `sf package version create`
828841

@@ -997,7 +1010,7 @@ FLAG DESCRIPTIONS
9971010
periods of no output from commands.
9981011
```
9991012

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

10021015
## `sf package version create list`
10031016

@@ -1058,7 +1071,7 @@ EXAMPLES
10581071
$ sf package version create list --created-last-days 0 --status Success
10591072
```
10601073

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

10631076
## `sf package version create report`
10641077

@@ -1101,7 +1114,7 @@ EXAMPLES
11011114
$ sf package version create report --package-create-request-id 08c... --target-dev-hub [email protected]
11021115
```
11031116

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

11061119
## `sf package version delete`
11071120

@@ -1142,7 +1155,7 @@ EXAMPLES
11421155
$ sf package version delete --package 04t... --target-org [email protected]
11431156
```
11441157

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

11471160
## `sf package version displayancestry`
11481161

@@ -1202,7 +1215,7 @@ FLAG DESCRIPTIONS
12021215
You can use the DOT code output in graph visualization software to create tree visualizations.
12031216
```
12041217

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

12071220
## `sf package version list`
12081221

@@ -1278,7 +1291,7 @@ EXAMPLES
12781291
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
12791292
```
12801293

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

12831296
## `sf package version promote`
12841297

@@ -1322,7 +1335,7 @@ EXAMPLES
13221335
$ sf package version promote --package "Awesome Package Alias"
13231336
```
13241337

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

13271340
## `sf package version report`
13281341

@@ -1362,7 +1375,7 @@ EXAMPLES
13621375
$ sf package version report --package "Your Package Alias" --target-dev-hub [email protected]
13631376
```
13641377

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

13671380
## `sf package version update`
13681381

@@ -1415,7 +1428,7 @@ EXAMPLES
14151428
$ sf package version update --package 04t... --version-description "New Package Version Description"
14161429
```
14171430

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

14201433
## `sf package1 version create`
14211434

@@ -1482,7 +1495,7 @@ FLAG DESCRIPTIONS
14821495
subscribers.
14831496
```
14841497

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

14871500
## `sf package1 version create get`
14881501

@@ -1515,7 +1528,7 @@ EXAMPLES
15151528
$ sf package1 version create get --request-id 0HD... --target-org [email protected]
15161529
```
15171530

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

15201533
## `sf package1 version display`
15211534

@@ -1549,7 +1562,7 @@ EXAMPLES
15491562
$ sf package1 version display --package-version-id 04t... --target-org [email protected]
15501563
```
15511564

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

15541567
## `sf package1 version list`
15551568

@@ -1587,6 +1600,6 @@ FLAG DESCRIPTIONS
15871600
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
15881601
```
15891602

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

15921605
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-packaging",
33
"description": "SF plugin that support Salesforce Packaging Platform",
4-
"version": "2.15.4",
4+
"version": "2.16.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,10 +1742,10 @@
17421742
dependencies:
17431743
"@salesforce/ts-types" "^2.0.12"
17441744

1745-
"@salesforce/packaging@^4.6.0":
1746-
version "4.6.0"
1747-
resolved "https://registry.yarnpkg.com/@salesforce/packaging/-/packaging-4.6.0.tgz#ae30f6593da66d32b451c879d1eec23dcf664161"
1748-
integrity sha512-DAt37E6C0KeVbkIZEiplN6vmqQ5NB58TSYAk6LjX6+ZbvSV4lnBc4mSCDcErmqCn5mWW3fdPvxL8FlyYhmpL4g==
1745+
"@salesforce/packaging@^4.7.0":
1746+
version "4.7.0"
1747+
resolved "https://registry.yarnpkg.com/@salesforce/packaging/-/packaging-4.7.0.tgz#550d450486cf28edd7f5c7c76e6bce6e4d76d4e0"
1748+
integrity sha512-fYwE0oChQ7MBqeAbi2vq3NZBe2qw0nsXbXdNwgl2ybREDE2RLqWRIB75OGxEa9ARQNrdWOVE7sR81cGLyCIupg==
17491749
dependencies:
17501750
"@jsforce/jsforce-node" "^3.6.5"
17511751
"@salesforce/core" "^8.11.1"

0 commit comments

Comments
 (0)