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

Releases: dxatscale/sfpowerscripts

Release 18.3 Hotfix Release

22 Jan 02:23
Compare
Choose a tag to compare

Fix #304 Ability to use custom rulesets

This release features the following versions

CLI - 1.6.12
Azure Pipelines - 18.0.58

Release 18.2 Hotfix Release

15 Jan 12:04
Compare
Choose a tag to compare

This release fixes issues caused by recent updates in SFDX CLI. The CLI has been bumped to 1.6.11

The following issues have been fixed
#315 Prepare failing to provision scratch orgs
#312 Validate failing to authenticate to an org

Release 18.1 Hotfix Release

15 Jan 01:21
Compare
Choose a tag to compare

This release features a hotfix for the issue
#306: source:deploy failing on large metadata deployment

The version number of the components are
CLI : 1.6.6
Azure Pipelines: 18.0.57

Release 18

23 Dec 12:33
Compare
Choose a tag to compare

Release 18 features some new powerful commands and a complete realignment of the CLI, including a "Orchestrator" topic that enables one to work with multiple packages in a mono-repo through the development lifecycle or stages.

Packaging and deployment metrics can now be collected through StatsD and delivered to a dashboard platform like Splunk/DataDog. There is also a new 'Data' package type that leverages the SFDMU plugin to create and deploy Salesforce records based configurations

We have deprecated Export Source Task from the Azure Pipelines / CLI tasks and has re-aligned all the CLI commands to match sfdx plugin naming conventions (This is a breaking change, all pipelines using it has to be fixed with the new command namespace)

Release Changelog Task (in Azure Pipelines) which were in alpha in Release 17 is now moved into a separate extension and can be downloaded separately from https://marketplace.visualstudio.com/items?itemName=dxatscale.sfpowerscripts-release-extension

This release features the following versions
sfpowerscripts (Azure Pipelines) : 18.0.0
sfpowerscripts-release-extension(Azure Pipelines): 1.0.0
CLI: 1.6.5

New Features

  • #251 Prepare a pool of scratch orgs and validate against earlier prepared scratch orgs
  • #173 Build command (CLI only)
    All -in-one command that parses the sfdx-project.json and creates packages in parallel, ordered by package dependencies.
  • #247 Deploy artifacts driven by properties in sfdx-proejct.json
  • #225 Promote a set of artifacts
  • #238 Publish packages to an artifact directory
  • #194 #202 Packaging & deployment metrics, enabled by StatsD integration
  • #174 Create and Install Data package task
    Introduce a new package type called 'Data' package which contains Salesforce records in CSV format generated using SFDX plugin: SFDMU. The 'Create Data Package' task produces a versioned artifact that can be used to upload Salesforce records to an org, using the 'Install Data Package' task.
  • #246 Add support for PermsetAssignment as a post deployment step
  • #232 Add 'validate package coverage' option to TriggerApexTest task

Enhancements

  • #195 Log branch name in artifact metadata
  • #185 Port 'Install Source Package' task to the CLI
  • #162 Print table of classes with unsatisfactory code coverage

Bugfixes

  • #235 Fixed issue where created scratch org with a custom alias does not get deleted at the end of the pipeline
  • #182 Fix TriggerApexTest validate coverage when there are no triggers

Deprecated

  • #204 Deprecate Export Source From Org Task (Azure Pipelines)
  • #226 Deprecate Export Source From Org Task (CLI)
  • #281 Deprecate subfolder option for Install Source Package & Install Unlocked Package Task - We recommend creating additional packages instead of subfolders

Wish you all a happy and safe 2021!

Release 17.1

19 Oct 05:01
Compare
Choose a tag to compare

Hotfix for issue #176

Release 17

12 Oct 07:09
7323124
Compare
Choose a tag to compare

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

Release 16

09 Aug 23:42
c47198a
Compare
Choose a tag to compare

Release 16 mainly features enhancements to the packaging/installation tasks, and the Trigger Apex Test task. There are also bug fixes impacting usability, and the PMD Apex Analysis tab which has been fixed.

This release features the following versions
Azure Pipelines : 16.0.4
CLI: 0.9.3

Enhancements

  • #90 Introduce optional artifact directory flag in the CLI
    • Allows the user to specify the directory to write the artifact metadata
  • #98 Skip installation of unlocked package if it is already installed in the org
  • #103 Show latest 10 tags only in the log output for package diff
  • #107 Add support for the ignore warnings and ignore errors flags, in the Deploy Source task
  • #109 #112 Validate code coverage of individual classes, in the Trigger Apex Test task
    • New optional flag for validating the code coverage of individual classes, when test level is Apex Test Suite
    • Specify a package to validate, in order to filter out code coverage of classes belonging to dependencies
    • Refactored Trigger Apex Test core implementation
  • #115 Output a table of metadata to be deployed, in the Deploy Source task
    • Refactored Deploy Source task to use utility function for converting from source to mdapi format

Bug fixes

  • #93 Fix output variable for scratch org username, in the Manage Scratch Org task
  • #94 Artifact is no longer a required input for the Install Unlocked Package task
  • #106 Fix deploy errors not being visible in some cases
  • #110 Fix the lack of info when the package or package version number to increment is missing
  • #113 Fix the PMD Apex Analysis tab which has been down for some time due to non-compatible updates from the vendor. Moved logs to extension document storage and fixed build ID retrieval.

Release 15

07 Jul 03:44
1219047
Compare
Choose a tag to compare

This release features the following versions

  • Azure Pipelines : 15.4.0
  • CLI: 0.5.5

New Features

  • #36 Support for Azure Artifacts as another source for build artifacts (useful for scenarios where your CI is non Azure Pipeline)
  • #21 Generate build artifacts only if there is change
    Enhancements
  • #15 Deploy destructive manifest breaks when destructiveChanges.xml file not generated
  • #44 Add an option for git authentication where the agent is already authenticated to the repository
  • #23 Support for .NEXT in Increment Version for unlocked packages
  • #45 SkipOnMissingArtifact Flag , Deployment tasks can skip if the artifact is missing, Useful when you are working in a monorepo and only deploy a certain artifact

Bug Fixes

  • #63 Manage Scratchorg Task can be used for creating/deleting a scratchorg. When this task is used exclusively only for a delete scenario, (where a scratchorg is fetched from the pool) the post job of the task fails, as the scratchorg would already be deleted by the delete action.
  • #80 Update Validate Package Test Coverage Task to work with recent breaking updates from sfpowerkit
  • #79 Update Install Dependencies Task with the recent updates of sfpowerkit on package keys

Thanks to @Caitlyn-Mills and @aly76 We have a whole new updated docs website and thanks to @gitbook.io for hosting the website

Release 14

02 Jun 08:15
Compare
Choose a tag to compare

This release features the following

  • Azure Pipelines - 14.0.4
  • CLI - 0.1.4

Enhancement

  • #19 Deploy Source task should identify source directory as empty if it only contains ignored files

Bugfixes

  • #18 Promote task failing to promote unlocked package bug

  • #24 Increment version number task fails to increment major and minor segments bug

  • #22 fix: increment task bug for major and minor versions bug

Release 13.8000.9

16 May 13:34
Compare
Choose a tag to compare

Hotfix for Increment Build Number Task, as the earlier task was not reflecting the correct build task in the package and sample pipelines.