February 23
sfpowerscripts
February 23(v20.26.2) is all about quality of life improvements! We believe these enhancements will make your experience a bit more friendly.
⭐ New Features
- feat(validate): display info about the org that is used for validation #1239
Displays information about the org that is used for validation. Use --orginfo
flag to display information to authenticate to the org that is being currently used by the validate job. If you are using -x flag, the information is valid only during the life of the current running job
- feat(validate): disable parallel testing using a flag #1255
Now you can disable parallel testing during validate across all packages using a new flag in --disableparalleltesting
. Useful for scenarios when you are running full suite of tests across all the packages in a repo such as in nightly jobs and where do you need that additional consistency. This is also quite useful when you are recfactoring into writing better tests
- feat(validate): disable source package override in validate commands [#1240]
Use --disablesourcepkgoverride
in validate to build and install unlocked packages in your project as such, instead of using source packages (metadata api) while validating your packages. This will give you more accurate behaviour especially when used on a sandbox. (validateAgainstOrg).
- feat(pool): recover orphaned scratch orgs #1234
sfpowerscripts will not utilize the description field of ScratchOrgInfo object to identify scratch orgs that are created. Using this information, the pool: delete
command when coupled with --orphans
flag can help you delete scratch orgs that were created but never got associated to any pools. The output is also prettified by classifying the operation
- feat(prepare): Add the ability to increment retry counts in prepare [#1233]
You can attempt more retries for packages installation in prepare by adding a maxRetryCount
in your pool config. sfpowerscripts will now retry the package installation the number of times specified by this option. By default it always attempt for 2 installations during prepare
- feat(fetch) : Display error messages when fetching dev Scratch Org Pool in different git Repository for sfdx Project [#1251]
- feat(prepare): prevent from downloading / creating artifacts that are not used while preparing without installAll #1223
🪲 Bug Fixes
- fix(validate): fix for validate failing in individual mode due to missing dependencies #1241
- fix(apextests): fix apex tests trigger crashing on unlocked packages
- fix(fetch): sfpowerscripts:pool:fetch --json returns non-json #1254
- fix(external-dependencies): add support for detecting package ids with 15 chars and skipping it #1244
- fix(logs): add/remove misplaced spaces and typo (https://github.com/dxatscale/sfpowerscripts/actions/runs/4310619443/jobs/7519233163#step:4:37)
- fix(logs): add/remove misplaced spaces #1231
- fix(logs): fix typo on promote message in release/deploy
sfp-cli
We are reviving sfp-cli, as a unified cli for sfpowerscripts and other functionality to come. The repository is migrated to the sfpowerscripts repository and is operated as a project in the same mono repository space. The current version is still incredibly early in development, and we will be pushing in changes faster to stabilize.
sfp-cli is still unstable and is recommended to be in use as a daily driver. Rest assured we are furiously working on it for making it prime time
❤️ Contributors
We'd like to thank all the contributors who worked on this release!