Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

February 23

Compare
Choose a tag to compare
@azlam-abdulsalam azlam-abdulsalam released this 02 Mar 05:42
· 416 commits to main since this release

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

image

  • 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

image

  • 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

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.

⚠️ Warning
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!