diff --git a/CHANGELOG.md b/CHANGELOG.md index 99d16b35..49a907fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# [2.5.0](https://github.com/salesforcecli/plugin-packaging/compare/2.4.6...2.5.0) (2024-06-18) + +### Bug Fixes + +- bump core and kit and regen schemas ([26032ea](https://github.com/salesforcecli/plugin-packaging/commit/26032ea11fda54b2dc72a244010153a4aea6aa45)) +- deprecated field and spacing issue ([a3cc60f](https://github.com/salesforcecli/plugin-packaging/commit/a3cc60fbc0309bf3c8fdf9d5cc380e948c555163)) +- removing changes other than package version create ([03ade82](https://github.com/salesforcecli/plugin-packaging/commit/03ade82cf1573e0e26a8a960d9eb1f1cac7ab6a4)) + +### Features + +- add fields to package version list ([4d9a11e](https://github.com/salesforcecli/plugin-packaging/commit/4d9a11edf6f068cc99e1cb087af19c95712cc03e)) +- async validation for package version create ([19357af](https://github.com/salesforcecli/plugin-packaging/commit/19357aff6c0403af76030b3edfe1bc97f30d2cd0)) + ## [2.4.6](https://github.com/salesforcecli/plugin-packaging/compare/2.4.5...2.4.6) (2024-06-06) ### Bug Fixes diff --git a/README.md b/README.md index 941c3d18..92efa470 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ FLAG DESCRIPTIONS Org-Dependent Unlocked Packages" in the Salesforce DX Developer Guide. ``` -_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/create.ts)_ +_See code: [src/commands/package/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/create.ts)_ ## `sf package delete` @@ -172,7 +172,7 @@ EXAMPLES $ sf package delete --package 0Ho... --target-dev-hub devhub@example.com ``` -_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/delete.ts)_ +_See code: [src/commands/package/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/delete.ts)_ ## `sf package install` @@ -270,7 +270,7 @@ FLAG DESCRIPTIONS specify DeprecateOnly or Delete only for unlocked package upgrades. ``` -_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/install.ts)_ +_See code: [src/commands/package/install.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/install.ts)_ ## `sf package install report` @@ -303,7 +303,7 @@ EXAMPLES $ sf package install report --request-id 0Hf... --target-org me@example.com ``` -_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/install/report.ts)_ +_See code: [src/commands/package/install/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/install/report.ts)_ ## `sf package installed list` @@ -335,7 +335,7 @@ EXAMPLES $ sf package installed list --target-org me@example.com ``` -_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/installed/list.ts)_ +_See code: [src/commands/package/installed/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/installed/list.ts)_ ## `sf package list` @@ -373,7 +373,7 @@ EXAMPLES $ sf package list --target-dev-hub devhub@example.com --verbose ``` -_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/list.ts)_ +_See code: [src/commands/package/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/list.ts)_ ## `sf package uninstall` @@ -421,7 +421,7 @@ EXAMPLES $ sf package uninstall --package "Undesirable Package Alias" ``` -_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/uninstall.ts)_ +_See code: [src/commands/package/uninstall.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/uninstall.ts)_ ## `sf package uninstall report` @@ -454,7 +454,7 @@ EXAMPLES $ sf package uninstall report --request-id 06y... --target-org me@example.com ``` -_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/uninstall/report.ts)_ +_See code: [src/commands/package/uninstall/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/uninstall/report.ts)_ ## `sf package update` @@ -509,7 +509,7 @@ FLAG DESCRIPTIONS associated with your package. ``` -_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/update.ts)_ +_See code: [src/commands/package/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/update.ts)_ ## `sf package version create` @@ -518,9 +518,10 @@ Create a package version in the Dev Hub org. ``` USAGE $ sf package version create -v [--json] [--flags-dir ] [--api-version ] [-b ] [-c | - --skip-validation | --async-validation] [-f ] [-k ] [-x] [-p ] [-d ] [--post-install-script ] - [--post-install-url ] [--releasenotes-url ] [--skip-ancestor-check] [-t ] [--uninstall-script - ] [-e ] [-a ] [-n ] [-w ] [--language ] [--verbose] + --skip-validation] [-f ] [-k ] [-x] [-p ] [-d ] [--post-install-script ] + [--post-install-url ] [--releasenotes-url ] [--skip-ancestor-check] [--async-validation | ] [-t + ] [--uninstall-script ] [-e ] [-a ] [-n ] [-w ] [--language ] + [--verbose] FLAGS -a, --version-name= Name of the package version to be created; overrides the sfdx-project.json value. @@ -546,6 +547,7 @@ FLAGS -x, --installation-key-bypass Bypass the installation key requirement. (either --installation-key or --installation-key-bypass is required) --api-version= Override the api version used for api requests made by this command + --async-validation Return a new package version before completing package validations. --language= Language for the package. --post-install-script= Name of the post-install script; applies to managed packages only. --post-install-url= Post-install instructions URL. @@ -554,7 +556,6 @@ FLAGS that isn’t the highest released package version. --skip-validation Skip validation during package version creation; you can’t promote unvalidated package versions. - --async-validation Return a new package version before completing package validations. --uninstall-script= Uninstall script name; applies to managed packages only. --verbose Display verbose command output. @@ -603,7 +604,8 @@ EXAMPLES $ sf package version create --path common --installation-key password123 --skip-validation - Create a package version and perform package validations asynchronously: + Create a package version and perform package validations asynchronously: + $ sf package version create --path common --installation-key password123 --async-validation FLAG DESCRIPTIONS @@ -629,6 +631,12 @@ FLAG DESCRIPTIONS If you bypass this requirement, anyone can install your package. + --async-validation Return a new package version before completing package validations. + + Specifying async validation returns the package version earlier in the process, allowing you to install and test the + new version right away. If your development team is using continuous integration (CI) scripts, async validation can + reduce your overall CI run time. + --language= Language for the package. Specify the language using a language code listed under "Supported Languages" in Salesforce Help. If no language is @@ -656,12 +664,6 @@ FLAG DESCRIPTIONS versions. Skipping validation can suppress important errors that can surface at a later stage. You can specify skip validation or code coverage, but not both. Code coverage is calculated during validation. - --async-validation Return a new package version before completing package validations. - - Specifying async validation returns the package version earlier in the process, allowing you to install and test - the new version right away. If your development team is using continuous integration (CI) scripts, async validation - can reduce your overall CI run time. - --uninstall-script= Uninstall script name; applies to managed packages only. The uninstall script is an Apex class within this package that is run in the installing org after uninstallations of @@ -674,7 +676,7 @@ FLAG DESCRIPTIONS periods of no output from commands. ``` -_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/create.ts)_ +_See code: [src/commands/package/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/create.ts)_ ## `sf package version create list` @@ -735,7 +737,7 @@ EXAMPLES $ sf package version create list --created-last-days 0 --status Success ``` -_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/create/list.ts)_ +_See code: [src/commands/package/version/create/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/create/list.ts)_ ## `sf package version create report` @@ -778,7 +780,7 @@ EXAMPLES $ sf package version create report --package-create-request-id 08c... --target-dev-hub devhub@example.com ``` -_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/create/report.ts)_ +_See code: [src/commands/package/version/create/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/create/report.ts)_ ## `sf package version delete` @@ -817,7 +819,7 @@ EXAMPLES $ sf package version delete --package 04t... --target-org devhub@example.com ``` -_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/delete.ts)_ +_See code: [src/commands/package/version/delete.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/delete.ts)_ ## `sf package version displayancestry` @@ -877,7 +879,7 @@ FLAG DESCRIPTIONS You can use the DOT code output in graph visualization software to create tree visualizations. ``` -_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/displayancestry.ts)_ +_See code: [src/commands/package/version/displayancestry.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/displayancestry.ts)_ ## `sf package version list` @@ -946,7 +948,7 @@ EXAMPLES $ sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0 ``` -_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/list.ts)_ +_See code: [src/commands/package/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/list.ts)_ ## `sf package version promote` @@ -990,7 +992,7 @@ EXAMPLES $ sf package version promote --package "Awesome Package Alias" ``` -_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/promote.ts)_ +_See code: [src/commands/package/version/promote.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/promote.ts)_ ## `sf package version report` @@ -1030,7 +1032,7 @@ EXAMPLES $ sf package version report --package "Your Package Alias" --target-dev-hub devhub@example.com ``` -_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/report.ts)_ +_See code: [src/commands/package/version/report.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/report.ts)_ ## `sf package version update` @@ -1083,7 +1085,7 @@ EXAMPLES $ sf package version update --package 04t... --version-description "New Package Version Description" ``` -_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package/version/update.ts)_ +_See code: [src/commands/package/version/update.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package/version/update.ts)_ ## `sf package1 version create` @@ -1150,7 +1152,7 @@ FLAG DESCRIPTIONS subscribers. ``` -_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package1/version/create.ts)_ +_See code: [src/commands/package1/version/create.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package1/version/create.ts)_ ## `sf package1 version create get` @@ -1183,7 +1185,7 @@ EXAMPLES $ sf package1 version create get --request-id 0HD... --target-org myorg@example.com ``` -_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package1/version/create/get.ts)_ +_See code: [src/commands/package1/version/create/get.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package1/version/create/get.ts)_ ## `sf package1 version display` @@ -1217,7 +1219,7 @@ EXAMPLES $ sf package1 version display --package-version-id 04t... --target-org myorg@example.com ``` -_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package1/version/display.ts)_ +_See code: [src/commands/package1/version/display.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package1/version/display.ts)_ ## `sf package1 version list` @@ -1255,6 +1257,6 @@ FLAG DESCRIPTIONS If not specified, shows all versions for all packages (managed and unmanaged) in the org. ``` -_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.4.6/src/commands/package1/version/list.ts)_ +_See code: [src/commands/package1/version/list.ts](https://github.com/salesforcecli/plugin-packaging/blob/2.5.0/src/commands/package1/version/list.ts)_ diff --git a/package.json b/package.json index 5a828ad9..be3642f3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-packaging", "description": "SF plugin that support Salesforce Packaging Platform", - "version": "2.4.6", + "version": "2.5.0", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": {