Skip to content

Commit b128387

Browse files
Update README with package update command details
Added update on using the package update command to set recommended versions.
1 parent f393e90 commit b128387

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

releasenotes/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ These changes are in the Salesforce CLI release candidate. We plan to include th
3333

3434
* NEW: The debug log information outputted by the `--dev-debug` flag now includes the list of files that were ignored during a deployment or retrieval. This information is useful to debug your `.forceignore` file and understand exactly what's being ignored when you run `project deploy|retrieve start`. (GitHub Issue [#3345](https://github.com/forcedotcom/cli/issues/3345), source-deploy-retrieve PR [#1656](https://github.com/forcedotcom/source-deploy-retrieve/pull/1656))
3535

36+
* UPDATE: Use the existing `package update` command to set the recommended version of a package. When you set a package version as the recommended version, your subscribers see an **Upgrade to Recommended Version** option on the Installed Package page in their org. Only released package versions can be set as the recommended version. This example sets `PackageA@1.0 as` the recommended version.
37+
38+
```bash
39+
sf package update --package 0Ho.. --target-dev-hub devhub@example.com --recommended-version PackageA@1.0
40+
```
41+
42+
Run `package update --help` for more information. NOTE: This feature is available for only Spring '26 orgs (API version 66.0).
43+
3644
* FIX: Salesforce DX projects now support these [metadata types](https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json):
3745

3846
* IntegArtifactDef

0 commit comments

Comments
 (0)