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

Releases: dxatscale/sfpowerscripts

December 23

04 Dec 05:45
Compare
Choose a tag to compare

Time flies! and thanks to everyone who contributed to sfp this year. It was monumental, we reached more users with more orgs actively approaching modular development like never before

We wrap the final release of the year and wish you all a prosperous new years.

December 23 (v25.5.3) of sfp introduces the following changes, and this release is mainly possible due to all of our contributions! Keep it coming!

⭐ New Features

  • feat(validate) : Always use the newest validation scratch org during Validate by @alanjaouen in #1428

🪲 Bug Fixes

New Contributors

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

October 23

17 Oct 04:15
Compare
Choose a tag to compare

October 23(v25.0.6) features the following

⭐ New Features

  • feat(install): introduce a unified package installation command #1420

sfp features a new command called sfp package:install which can auto determine the type of a package and proceed to install in an environment. This allows users to easily install a package into an environment without using the individual package commands. The individual commands now carry a deprecation notice and will be removed from future releases

  • feat(docker): use node 18 LTS instead of the latest 20.x version

We have downgraded the docker image to use LTS version of node rather than the latest, as there was some issues noted with certain plugins. Also @rody and @ethan-sargent was able to reduce the size of the image by 1.5Gigs, this results in quicker download. Thanks a heap guys!

  • feat(browserforce): Updated browserforce to dxatscale fork

Browserforce is temporarily switched to a dxatscale fork, with the latest salesforce dependencies, We plan to submit the changes to the main stream in a short while. You might need to use --targetusername in your script if you are using the same.

🪲 Bug Fixes

  • fix(picklist): PicklistEnabler errors out if picklist doesn't exist on target org #1414 . Thanks @cjbradshaw for figuring out the issue and the fix
  • fix(packagediff): fix packages being built when the path to package start with same structure. Fixes #1396. Thanks @thraco
  • fix(help): Fix help segments not getting displayed when using sfp topic in terminal
  • Minor bug fixes in error handling in apex tests

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

August 23

20 Sep 09:26
Compare
Choose a tag to compare

August23 (v24.5.0) features the following

Update to the the docker image is the key highlight for this release, We have started using ubuntu 22 as the base image as opposed to Salesforce CLI base image, due to the root issue as discussed in #1409. Finally, profile merge/retrieve makes a comeback and is available in sfp. Now you can really deprecate sfpowerkit :)

⭐ New Features

  • feat:(profiles) profile merge and retrieve is reintroduced to sfp #1353
  • feat(output) sfp features more richer output in .sfpowerscripts/logs folder in markdown formats, This is a work in progress feature which enables one to link markdown formatted output to your CI/CD platforms or notification platforms like Slack or Teams

🪲 Bug Fixes

  • fix(schema): update schema to remove warning around seedMetadata #1400
  • fix(package): install using v58.0 PackageInstallRequest parameters #1370
  • fix(pool): enable json flag for pool fetch command #1404
  • fix(docker):use lower uid in dockerfiles #1409
  • fix(apextests): handle conditions where test results are inaccurate from salesforce
  • fix(diff): throw error if an associated meta file is missing in repository such as *.meta-xml for a changed file such as .cls
  • fix(diff): diff package not correctly copying static resources

New Contributors

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

July 23

15 Aug 11:41
Compare
Choose a tag to compare

July23(v23.4.2) features the following

This release we focused mainly on updating to v5 @salesforce/core and updating many of the dependencies (#1366 and #1388). This will help you close many of the issues that your security team has been pestering you with on deprecated dependencies. Though sfpowerscripts is not used in the context of web application and many vulnerabilities are not really applicable, updating to the latest dependencies reduces so much friction in usage in the enterprise.

Special thanks to @rygramer for the fantastic effort in raising issues which helped to fix these dependencies easily.
Another contributor that needs a special mention is @petter-eikeland, who has taken additional effort to test Release Candiates.

⭐ New Features

  • Enhancements to transitive dependency resolver to support multiple version #1226

🪲 Bug Fixes

  • PicklistAnalyzer errors out if other other non CustomField Metadata is processed first #1367
  • Bad namespaced class names from apex-node break test retry logic #1362
  • fix(triggerApexTests): second test run results are not merged #1360
  • sfp orchestrator:validate with Code Coverage Validation #1359
  • validate fails to build package when fht is enabled during fast feedback mode #1358
  • sfp orchestrator:build - Language bug upon package version creation [#1347](#1347)
  • orchestrator:release --dryrun still attempts to install packages [#1340](#1340)
  • orchestrator:build job removes too many packages from queue after single failure #1199

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

June 23 - Patch 1

05 Jul 02:59
Compare
Choose a tag to compare

June 23 Patch (v 22.6.1) is a patch for an issue for picklist deployments.

What's Changed

  • fix(picklist-support): fix check for empty records on org by @Rocko1204 in #1341
  • feat(release): add an option to skip artifact record update in release|
    Add a new property called skipArtifactUpdate which allows for skipping insertion of artifact versions to sfpowerscripts_artifact2__c. This is useful in case of diff packages where hotfix deployments should not alter the version already recorded. A better variant of this will be
    released at later stage

New Contributors

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

June 23

30 Jun 03:55
Compare
Choose a tag to compare

June 23 (v22.5.5) features the following

💣 Breaking Change

Transition from sfdx plugin to npm module:

sfpowerscripts has transitioned from a Salesforce DX plugin to an npm module. It should now be installed using the command npm i -g @dxatscale/sfpowerscripts. The commands can be used directly, e.g. sfpowerscripts orchestrator:build ---. For a shorter alias, use sfp instead of sfpowerscripts.

sfpowerscripts is now independent of sfpowerkit

The new sfpowerscripts no longer relies on sfpowerkit for functionality. Any functionality that sfpowerscripts used to depend on sfpowerkit has been ported over.

Deprecations

  • This version discontinues the sfp-cli due to low usage.
  • The commands sfpowerscripts analyze:pmd and sfpowerscripts package:valid are no longer available.
  • vbt cli is no longer available in the docker image

Enhancements

Support for Picklist Deployment

sfpowerscripts now supports picklist deployment. This feature addresses Salesforce's limitation of not allowing picklist values to be deployed during unlocked package upgrades. Read more about it here https://medium.com/@gnemiq/deploy-picklists-from-unlocked-packages-102c1366664f

Support for Branches in package depdency (#1270 )

sfpowerscripts now supports branch attributes in dependencies, picking up the right dependencies of external packages from the right branches when being installed

Introduction of a 'Diff' Package Type

sfpowerscripts now offers a 'Diff' package type designed to facilitate organizations' transition from a monolithic structure to a modular DX@Scale model. A Diff package captures the differences in unpackaged metadata from the previous deployment, deploying only the delta. This approach allows unpackaged sections of the project to be deployed alongside packaged modules in a controlled manner .

Please note, this feature is still in early development, Please reach out if you have queries on how to use it

🪲 Bug Fixes

  • fix(apexlink): direct conversion to json breaks on large packages by @azlam-abdulsalam in #1306
  • fix(schema): new attributes in sfdx-project.json will result in warning as opposed to errors #1329
  • fix(orginfo): add front door display url to logint to the sandbox (0562998)
  • fix(analyzer): display the analyzer being used in pre/post analyzers
  • fix(sfpowerscripts): validate not reporting additional tags
    Validate and validateAgainstOrg was not reporting metrics correctly, as it was not hooked up with proper events. This change request fixes the same and also passes in release config

New Contributors

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

April 23

09 May 12:54
Compare
Choose a tag to compare

April 23 (v21.1.0) features the following

💣 Breaking Change

validate command will now respect aliasified packages. This means aliasified packages which do not have a default directory will fail during validation. To fix this, either ignore the package or add a default directory to the aliasified package which is the contents that you want to deploy to the scratch origin

Enhancements

  • feat(validate): validate will no longer display deployment options #1295
  • feat(metrics): new splunk metrics sender by @Rocko1204 in #1297

🪲 Bug Fixes

  • fix(links): add $schema properties #1203
  • fix(fht): rollbackOnError need to be true for production #1299
  • fix(validate): aliasified packages are ignored in validate by #1293

New Contributors

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

March 23 - Patch 1

05 Apr 13:56
Compare
Choose a tag to compare

v20.30.4 is a patch for the following issue

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

March 23

31 Mar 23:28
Compare
Choose a tag to compare

sfpowerscripts (v20.30.3) introduces the following new features more towards bringing release configuration everywhere. Release configuration can now be applied in prepare, build and deploy providing more flexibility especially when you have multiple independent teams

⭐ New Features

  • feat(deploy): deploy to support release config #1264

Deploy command now has an option to support release config, Thanks @alanjaouen for providing a detailed analysis on why this is required

image

  • feat(build): add support for release config to build #1272
  • feat(deploy): enable source tracking support for deploy command #1273
  • feat(publish): Add new flag to delete Git tags by age and limit minimum #1275

🪲 Bug Fixes

  • fix(prepare): ensure prepare in build mode respects releaseconfig by @azlam-abdulsalam in #1281
  • fix(delete): Fix typo in message for when no Scratch Orgs are found by @JoeffreyChaucer in #1283
  • fix(fetch): SFDX Org List recognizes fetched scratch orgs as non-scratch orgs. Thanks @petter-eikeland for following it up.

New Contributors

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]

Release - February 2023 Patch 1

09 Mar 13:54
Compare
Choose a tag to compare

sfpowerscripts(v 20.26.3) fixes the following issues

What's Changed

Full Changelog: https://github.com/dxatscale/sfpowerscripts/compare/@dxatscale/[email protected]...@dxatscale/[email protected]