Skip to content

Commit 0fa8c27

Browse files
committed
chore(release): 2.23.0 [skip ci]
1 parent d6b6873 commit 0fa8c27

3 files changed

Lines changed: 79 additions & 29 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# [2.23.0](https://github.com/salesforcecli/plugin-packaging/compare/2.22.4...2.23.0) (2025-10-30)
2+
3+
### Features
4+
5+
- unhide package version retrieve command ([ac81bb8](https://github.com/salesforcecli/plugin-packaging/commit/ac81bb8358c84d19af8316dd138a633330974ad1))
6+
17
## [2.22.4](https://github.com/salesforcecli/plugin-packaging/compare/2.22.3...2.22.4) (2025-10-26)
28

39
### Bug Fixes

README.md

Lines changed: 72 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ See [DEVELOPING.md](DEVELOPING.md)
5353
- [`sf package version list`](#sf-package-version-list)
5454
- [`sf package version promote`](#sf-package-version-promote)
5555
- [`sf package version report`](#sf-package-version-report)
56+
- [`sf package version retrieve`](#sf-package-version-retrieve)
5657
- [`sf package version update`](#sf-package-version-update)
5758
- [`sf package1 version create`](#sf-package1-version-create)
5859
- [`sf package1 version create get`](#sf-package1-version-create-get)
@@ -154,7 +155,7 @@ FLAG DESCRIPTIONS
154155
--installation-key-bypass flag is required.
155156
```
156157

157-
_See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/convert.ts)_
158+
_See code: [src/commands/package/convert.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/convert.ts)_
158159

159160
## `sf package create`
160161

@@ -233,7 +234,7 @@ FLAG DESCRIPTIONS
233234
Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide.
234235
```
235236

236-
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/create.ts)_
237+
_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/create.ts)_
237238

238239
## `sf package delete`
239240

@@ -275,7 +276,7 @@ EXAMPLES
275276
$ sf package delete --package 0Ho... --target-dev-hub devhub@example.com
276277
```
277278

278-
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/delete.ts)_
279+
_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/delete.ts)_
279280

280281
## `sf package install`
281282

@@ -374,7 +375,7 @@ FLAG DESCRIPTIONS
374375
- Delete: Delete removed components, except for custom objects and custom fields, that don't have dependencies.
375376
```
376377

377-
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/install.ts)_
378+
_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/install.ts)_
378379

379380
## `sf package install report`
380381

@@ -407,7 +408,7 @@ EXAMPLES
407408
$ sf package install report --request-id 0Hf... --target-org me@example.com
408409
```
409410

410-
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/install/report.ts)_
411+
_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/install/report.ts)_
411412

412413
## `sf package installed list`
413414

@@ -439,7 +440,7 @@ EXAMPLES
439440
$ sf package installed list --target-org me@example.com
440441
```
441442

442-
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/installed/list.ts)_
443+
_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/installed/list.ts)_
443444

444445
## `sf package list`
445446

@@ -477,7 +478,7 @@ EXAMPLES
477478
$ sf package list --target-dev-hub devhub@example.com --verbose
478479
```
479480

480-
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/list.ts)_
481+
_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/list.ts)_
481482

482483
## `sf package push-upgrade abort`
483484

@@ -516,7 +517,7 @@ EXAMPLES
516517
$ sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com
517518
```
518519

519-
_See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/push-upgrade/abort.ts)_
520+
_See code: [src/commands/package/push-upgrade/abort.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/push-upgrade/abort.ts)_
520521

521522
## `sf package push-upgrade list`
522523

@@ -575,7 +576,7 @@ EXAMPLES
575576
$ sf package push-upgrade list --package 033xyz –-status Failed
576577
```
577578

578-
_See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/push-upgrade/list.ts)_
579+
_See code: [src/commands/package/push-upgrade/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/push-upgrade/list.ts)_
579580

580581
## `sf package push-upgrade report`
581582

@@ -617,7 +618,7 @@ EXAMPLES
617618
$ sf package push-upgrade report --push-request-id 0DV... --target-dev-hub devhub@example.com
618619
```
619620

620-
_See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/push-upgrade/report.ts)_
621+
_See code: [src/commands/package/push-upgrade/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/push-upgrade/report.ts)_
621622

622623
## `sf package push-upgrade schedule`
623624

@@ -704,7 +705,7 @@ FLAG DESCRIPTIONS
704705
Overrides the value of the target-dev-hub configuration variable, if set.
705706
```
706707

707-
_See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/push-upgrade/schedule.ts)_
708+
_See code: [src/commands/package/push-upgrade/schedule.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/push-upgrade/schedule.ts)_
708709

709710
## `sf package uninstall`
710711

@@ -752,7 +753,7 @@ EXAMPLES
752753
$ sf package uninstall --package "Undesirable Package Alias"
753754
```
754755

755-
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/uninstall.ts)_
756+
_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/uninstall.ts)_
756757

757758
## `sf package uninstall report`
758759

@@ -785,7 +786,7 @@ EXAMPLES
785786
$ sf package uninstall report --request-id 06y... --target-org me@example.com
786787
```
787788

788-
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/uninstall/report.ts)_
789+
_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/uninstall/report.ts)_
789790

790791
## `sf package update`
791792

@@ -848,7 +849,7 @@ FLAG DESCRIPTIONS
848849
notified to upgrade to the recommended version.
849850
```
850851

851-
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/update.ts)_
852+
_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/update.ts)_
852853

853854
## `sf package version create`
854855

@@ -1023,7 +1024,7 @@ FLAG DESCRIPTIONS
10231024
periods of no output from commands.
10241025
```
10251026

1026-
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/create.ts)_
1027+
_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/create.ts)_
10271028

10281029
## `sf package version create list`
10291030

@@ -1084,7 +1085,7 @@ EXAMPLES
10841085
$ sf package version create list --created-last-days 0 --status Success
10851086
```
10861087

1087-
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/create/list.ts)_
1088+
_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/create/list.ts)_
10881089

10891090
## `sf package version create report`
10901091

@@ -1127,7 +1128,7 @@ EXAMPLES
11271128
$ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com
11281129
```
11291130

1130-
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/create/report.ts)_
1131+
_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/create/report.ts)_
11311132

11321133
## `sf package version delete`
11331134

@@ -1168,7 +1169,7 @@ EXAMPLES
11681169
$ sf package version delete --package 04t... --target-org devhub@example.com
11691170
```
11701171

1171-
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/delete.ts)_
1172+
_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/delete.ts)_
11721173

11731174
## `sf package version displayancestry`
11741175

@@ -1228,7 +1229,7 @@ FLAG DESCRIPTIONS
12281229
You can use the DOT code output in graph visualization software to create tree visualizations.
12291230
```
12301231

1231-
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/displayancestry.ts)_
1232+
_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/displayancestry.ts)_
12321233

12331234
## `sf package version displaydependencies`
12341235

@@ -1290,7 +1291,7 @@ FLAG DESCRIPTIONS
12901291
package, which must be installed last.
12911292
```
12921293

1293-
_See code: [src/commands/package/version/displaydependencies.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/displaydependencies.ts)_
1294+
_See code: [src/commands/package/version/displaydependencies.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/displaydependencies.ts)_
12941295

12951296
## `sf package version list`
12961297

@@ -1366,7 +1367,7 @@ EXAMPLES
13661367
$ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0
13671368
```
13681369

1369-
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/list.ts)_
1370+
_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/list.ts)_
13701371

13711372
## `sf package version promote`
13721373

@@ -1410,7 +1411,7 @@ EXAMPLES
14101411
$ sf package version promote --package "Awesome Package Alias"
14111412
```
14121413

1413-
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/promote.ts)_
1414+
_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/promote.ts)_
14141415

14151416
## `sf package version report`
14161417

@@ -1450,7 +1451,50 @@ EXAMPLES
14501451
$ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com
14511452
```
14521453

1453-
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/report.ts)_
1454+
_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/report.ts)_
1455+
1456+
## `sf package version retrieve`
1457+
1458+
Retrieve package metadata for a specified package version. Package metadata can be retrieved for second-generation managed package versions or unlocked packages only.
1459+
1460+
```
1461+
USAGE
1462+
$ sf package version retrieve -v <value> -p <value> [--json] [--flags-dir <value>] [--api-version <value>] [-d
1463+
<value>]
1464+
1465+
FLAGS
1466+
-d, --output-dir=<value> [default: force-app] Path within your Salesforce DX project directory in which to
1467+
download the metadata. This directory must be empty.
1468+
-p, --package=<value> (required) Subscriber package version ID (starts with 04t).
1469+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
1470+
configuration variable is already set.
1471+
--api-version=<value> Override the api version used for api requests made by this command
1472+
1473+
GLOBAL FLAGS
1474+
--flags-dir=<value> Import flag values from a directory.
1475+
--json Format output as json.
1476+
1477+
DESCRIPTION
1478+
Retrieve package metadata for a specified package version. Package metadata can be retrieved for second-generation
1479+
managed package versions or unlocked packages only.
1480+
1481+
Retrieving a package version downloads the metadata into the directory you specify.
1482+
1483+
When you run this command, specify the subscriber package version ID (starts with 04t) and the path to an empty
1484+
directory.
1485+
1486+
By default, the package version retrieve command is available to 2GP managed packages that were converted from 1GP. To
1487+
use this command with a managed package created using 2GP (not converted from 1GP) or with an unlocked package,
1488+
specify IsDevUsePkgZipRequested = true in the Package2VersionCreateRequest Tooling API object. If you run this command
1489+
and the zip folder with the package version’s source files is missing, confirm that IsDevUsePkgZipRequested is set to
1490+
true.
1491+
1492+
EXAMPLES
1493+
Retrieve package metadata for a converted subscriber package version ID (starts with 04t) into my-directory/ within your Salesforce DX project directory:
1494+
sf package version retrieve --package 04tXXX --output-dir my-directory/ --target-dev-hub devhub@example.com
1495+
```
1496+
1497+
_See code: [src/commands/package/version/retrieve.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/retrieve.ts)_
14541498

14551499
## `sf package version update`
14561500

@@ -1503,7 +1547,7 @@ EXAMPLES
15031547
$ sf package version update --package 04t... --version-description "New Package Version Description"
15041548
```
15051549

1506-
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package/version/update.ts)_
1550+
_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package/version/update.ts)_
15071551

15081552
## `sf package1 version create`
15091553

@@ -1570,7 +1614,7 @@ FLAG DESCRIPTIONS
15701614
subscribers.
15711615
```
15721616

1573-
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package1/version/create.ts)_
1617+
_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package1/version/create.ts)_
15741618

15751619
## `sf package1 version create get`
15761620

@@ -1603,7 +1647,7 @@ EXAMPLES
16031647
$ sf package1 version create get --request-id 0HD... --target-org myorg@example.com
16041648
```
16051649

1606-
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package1/version/create/get.ts)_
1650+
_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package1/version/create/get.ts)_
16071651

16081652
## `sf package1 version display`
16091653

@@ -1637,7 +1681,7 @@ EXAMPLES
16371681
$ sf package1 version display --package-version-id 04t... --target-org myorg@example.com
16381682
```
16391683

1640-
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package1/version/display.ts)_
1684+
_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package1/version/display.ts)_
16411685

16421686
## `sf package1 version list`
16431687

@@ -1675,6 +1719,6 @@ FLAG DESCRIPTIONS
16751719
If not specified, shows all versions for all packages (managed and unmanaged) in the org.
16761720
```
16771721

1678-
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.22.4/src/commands/package1/version/list.ts)_
1722+
_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.23.0/src/commands/package1/version/list.ts)_
16791723

16801724
<!-- 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.22.4",
4+
"version": "2.23.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)