Release 17
Release 17 has been in work for quite some. We are excited to share some awesome features across Azure Pipelines and CLI
This release features the following versions
Azure Pipelines : 17.1.7
CLI: 0.13.9
Before we delve into the changes, please note this release features breaking changes, and we recommend to update all your tasks. Updating individual tasks alone would break the pipelines.
Breaking Changes
- CLI packaging commands will write the artifact (a folder consisting of the source code & artifact metadata) to an artifacts directory, which is called 'artifacts' by default
- Removed CLI support for the installation of old artifact format, 'artifact_metadata'.
New Feature
-
#149 Generate Changelog Task
Automate generation of your changelog while working with multiple sfdx packages in a monorepo. This task generates a release changelog
in markdown in your repo -
#101 Install Source Package Task
Simplify installation of source packages by introducing a new task which utilizes the changes in artifact structure (#151,#131) which align deployment of source packages similar to Unlocked Packages -
#159 Add RunAllTestsInPackage test level to Trigger Apex Test
sfpowerscripts (utilizing awesome @nawforce/apex-parser) can autodetect the test classes in a source package. This can be used for individually validating coverage of each classes in a package as well as provide a pathway for optimized deployment.
Enhancements
- #151, #131 Revamp Artifacts
Artifacts generated by sfpowerscripts have a major revamp. Artifacts now carry the source that needs to be deployed as well as more detailed artifact metadata enabling features like 'Skipping Installation of already installed Source Packages' (Azure Pipelines only) etc. - #133 Simplify CLI usage by deprecating readvars
Simplify the usage of cli via means of Output variables, Read more about Output variables in https://dxatscale.gitbook.io/sfpowerscripts/cli/getting-started - #141 Display metadata to be deployed during installation of packages
BugFixes
- #169 Fix System.RunAs & TestMethod parse errors by using CaseInsensitiveInputStream instead of ANTLRInputStream
- #170 Throw error if InstallSource sub-directory does not exist during Source Package installation
- #167 Specify test level as NoTestRun when skip test is true
- #165 Fix Package Diff for large repositories
- #157 Fix Trigger Apex Test during validation of code coverage of individual package
A full list of other minor bugs and enhancements are available at this link https://github.com/Accenture/sfpowerscripts/milestone/4?closed=1