diff --git a/CHANGELOG.md b/CHANGELOG.md index ff678518..8bd31f96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.20.1](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/1.20.0...1.20.1) (2023-11-08) + +### Bug Fixes + +- add ignore-warnings flag to deploy validate ([794c5e8](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/794c5e8276e2b14d463fc4e6e440add9657406a4)) +- update the nut ([6ab0e4e](https://github.com/salesforcecli/plugin-deploy-retrieve/commit/6ab0e4ea8cb1466f1089bc1cab05ad35b01b6d73)) + # [1.20.0](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/1.19.3...1.20.0) (2023-11-07) ### Features diff --git a/README.md b/README.md index 6fbcfd13..7c089bc0 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/convert/mdapi.ts)_ +_See code: [src/commands/project/convert/mdapi.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/convert/mdapi.ts)_ ## `sf project convert source` @@ -153,7 +153,7 @@ USAGE | -m ] FLAGS - -d, --output-dir= [default: metadataPackage_1699371527053] Output directory to store the Metadata + -d, --output-dir= [default: metadataPackage_1699470680209] Output directory to store the Metadata API–formatted files in. -m, --metadata=... Metadata component names to convert. -n, --package-name= Name of the package to associate with the metadata-formatted files. @@ -213,7 +213,7 @@ FLAG DESCRIPTIONS Override the api version used for api requests made by this command ``` -_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/convert/source.ts)_ +_See code: [src/commands/project/convert/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/convert/source.ts)_ ## `sf project delete source` @@ -351,7 +351,7 @@ FLAG DESCRIPTIONS - Separate the test names with spaces: --tests Test1 Test2 "Test With Space" ``` -_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/delete/source.ts)_ +_See code: [src/commands/project/delete/source.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/delete/source.ts)_ ## `sf project delete tracking` @@ -386,7 +386,7 @@ EXAMPLES $ sf project delete tracking --target-org my-scratch ``` -_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/delete/tracking.ts)_ +_See code: [src/commands/project/delete/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/delete/tracking.ts)_ ## `sf project deploy cancel` @@ -456,7 +456,7 @@ FLAG DESCRIPTIONS project deploy report". ``` -_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/deploy/cancel.ts)_ +_See code: [src/commands/project/deploy/cancel.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/deploy/cancel.ts)_ ## `sf project deploy preview` @@ -539,7 +539,7 @@ FLAG DESCRIPTIONS All child components are included. If you specify this flag, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/deploy/preview.ts)_ +_See code: [src/commands/project/deploy/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/deploy/preview.ts)_ ## `sf project deploy quick` @@ -623,7 +623,7 @@ FLAG DESCRIPTIONS deploy report". ``` -_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/deploy/quick.ts)_ +_See code: [src/commands/project/deploy/quick.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/deploy/quick.ts)_ ## `sf project deploy report` @@ -718,7 +718,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/deploy/report.ts)_ +_See code: [src/commands/project/deploy/report.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/deploy/report.ts)_ ## `sf project deploy resume` @@ -802,7 +802,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/deploy/resume.ts)_ +_See code: [src/commands/project/deploy/resume.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/deploy/resume.ts)_ ## `sf project deploy start` @@ -1013,7 +1013,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/deploy/start.ts)_ +_See code: [src/commands/project/deploy/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/deploy/start.ts)_ ## `sf project deploy validate` @@ -1023,12 +1023,13 @@ Validate a metadata deployment without actually executing it. USAGE $ sf project deploy validate -o [--json] [-a ] [--async] [--concise | --verbose] [-m ] [-d ] [--single-package --metadata-dir ] [-t -l RunAllTestsInOrg|RunLocalTests|RunSpecifiedTests] [-w - ] [--coverage-formatters + ] [-g] [--coverage-formatters clover|cobertura|html-spa|html|json|json-summary|lcovonly|none|teamcity|text|text-summary] [--junit] [--results-dir ] [--purge-on-delete -x ] [--pre-destructive-changes ] [--post-destructive-changes ] FLAGS -a, --api-version= Target API version for the validation. + -g, --ignore-warnings Ignore warnings and allow a deployment to complete successfully. -o, --target-org= (required) Login username or alias for the target org. -w, --wait= [default: 33 minutes] Number of minutes to wait for the command to complete and display results. @@ -1118,6 +1119,11 @@ FLAG DESCRIPTIONS If you specify this flag, don’t specify --metadata or --manifest. + -g, --ignore-warnings Ignore warnings and allow a deployment to complete successfully. + + If a warning occurs and this flag is set to true, the success status of the deployment is set to true. When this + flag is set to false, success is set to false, and the warning is treated like an error. + -l, --test-level=RunAllTestsInOrg|RunLocalTests|RunSpecifiedTests Deployment Apex testing level. Valid values are: @@ -1168,7 +1174,7 @@ FLAG DESCRIPTIONS --coverage-formatters lcov --coverage-formatters clover ``` -_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/deploy/validate.ts)_ +_See code: [src/commands/project/deploy/validate.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/deploy/validate.ts)_ ## `sf project generate manifest` @@ -1243,7 +1249,7 @@ EXAMPLES $ sf project generate manifest --from-org test@myorg.com --include-packages unlocked ``` -_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/generate/manifest.ts)_ +_See code: [src/commands/project/generate/manifest.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/generate/manifest.ts)_ ## `sf project list ignored` @@ -1284,7 +1290,7 @@ EXAMPLES $ sf project list ignored --source-dir package.xml ``` -_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/list/ignored.ts)_ +_See code: [src/commands/project/list/ignored.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/list/ignored.ts)_ ## `sf project reset tracking` @@ -1331,7 +1337,7 @@ EXAMPLES $ sf project reset tracking --revision 30 ``` -_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/reset/tracking.ts)_ +_See code: [src/commands/project/reset/tracking.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/reset/tracking.ts)_ ## `sf project retrieve preview` @@ -1386,7 +1392,7 @@ FLAG DESCRIPTIONS Overrides your default org. ``` -_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/retrieve/preview.ts)_ +_See code: [src/commands/project/retrieve/preview.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/retrieve/preview.ts)_ ## `sf project retrieve start` @@ -1532,6 +1538,6 @@ FLAG DESCRIPTIONS If you specify this parameter, don’t specify --metadata or --source-dir. ``` -_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.0/src/commands/project/retrieve/start.ts)_ +_See code: [src/commands/project/retrieve/start.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/1.20.1/src/commands/project/retrieve/start.ts)_ diff --git a/package.json b/package.json index 2216582f..fd75acc0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-deploy-retrieve", "description": "deploy and retrieve commands for sf", - "version": "1.20.0", + "version": "1.20.1", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": {