Summer '21 (v18.11) - Release Notes

Updated 1 week ago by Copado Solutions

Key Features

Copado Core
  • Copado has upgraded its component's API version to v52.
Static Code Analysis
  • The PMD rule generation is updated from a VisualForce page to a Lightning Flow with Lightning web component. This allows you to have a better performance and enhanced experience based on Lightning standards.  For more information, review the PMD SCA Settings article. 
To create Default Rules you must have the Flow User checkbox selected for your user or the Run Flows permission at permission set or profile level.

Upgrade Instructions

If you are using the Copado_User permission set, you don't need to follow the OLS, FLS, and tab visibility upgrade instructions, as this permission set is already updated by Copado with each new version. However, if you are using a cloned version of this permission set, you need to manually upgrade it.

OLS, FLS for New Object Fields and Tab Visibility

Make sure relevant profiles and permission sets have read access to the below field:

Object: Promotion

Type

Name/Label

API Name

CustomObject

Promotion

copado__Promotion__c

CustomField

Platform

copado__Platform__c

Object: Test*

Type

Name/Label

API Name

CustomObject

Test

Test__c

CustomField

Test Type

Test__c.Category__c

CustomField

Configuration

Test__c.Configuration__c

CustomField

Reference

Test__c.Reference__c

CustomField

Tool

Test__c.Tool__c

CustomField

User Story

Test__c.User_Story__c

Object: Result*

Type

Name/Label

API Name

CustomObject

Result

Copado__Result__c

 

CustomField

Test

Result__c.Test__c

Object: User Story*

Type

Name/Label

API Name

CustomObject

User Story

Copado__User_Story__c

 

CustomField

Feature

User_Story__c.US_Feature__c

Object: Automation*

Type

Name/Label

API Name

CustomObject

Automation

Copado__Quality_Gate__c

CustomField

Test

Quality_Gate__c.Test__c

Custom Metadata Types

  • TestType*

Tabs

  • Test*
FieldSets, Visualforce Pages, and Apex Classes

Make sure the relevant profiles and permission sets have access to the below Apex classes and Visualforce pages. See Setting Apex Class Access from Permission Sets for elaborate steps.

Apex Classes

  • DeploymentExecutionService
  • DeployJobTemplateHelper
  • JobTemplateService
  • PromotedUserStoriesDatatableController
  • PromotionExecutionService
  • ResultDetailService
  • ResultStatusContainerLWCHelper
  • ResultStatusDetail
  • ResultStatusHelper
  • ResultStatusLWCInterface
  • RunDeployJobTemplateHandler
  • RunPromoteAndDeployJobTemplateHandler
  • RunPromoteJobTemplateHandler
  • CreateExtensionTestCtrl*
  • RunTestAction*
  • TestsManagerCtrl*
All components with an * have been added to Copado’s User permission set and are part of a functionality that is still in development and will be released soon. Therefore, you can not use this functionality yet. We will announce when it’s released, stay tuned!
Layouts

Promotion

Add the Platform (copado__Platform__c) field to the Promotion layout.

Lightning Record Pages

Result

The resultStatusMonitor Lightning web component on the Result Record Page has been replaced with a new component called Result Status Container. This update is automatically reflected on the Lightning record page. However, if you are using a cloned version of this page, you need to manually update it. To do that, follow these steps:

  1. Navigate to an existing Result record and click on the gear icon at the top right corner. You can also go to Setup > Object Manager > Result > Lightning Record Pages.
  2. Click on Edit Page.
  3. Click on the resultStatusMonitor component at the top right corner of the canvas and then on the rubbish bin icon to remove it.
  4. Next, find Result Status Container on the list of components and drag and drop where the old component was located.
  5. Select Result Detail as context and save the changes.

Static Code Analysis Settings

As part of Static Code Analysis enhancements, the default Lightning page Static Code Analysis Settings Record Page has been updated with the new PMD lightning web component. If you’re not using this record page as the default, you need to activate it in order to see and use all new implementations. To do so, follow these steps: 

  1. Navigate to Setup > Object Manager > Static Code Analysis Settings.
  2. Click on Lightning Record Pages and then on Static Code Analysis Settings Record Page.
  3. Next, click on View.
  4. At the top right corner of the page, click on Activation and then on Assign as Org Default.
  5. Select Desktop as form factor.
  6.  Click on Next and then on Save.
Help Text Updates

The help text in some of the Promotion object fields has been updated:

Field

Help text

Create Full Permission Sets Step

Select this checkbox if you wish to move added profiles to a Full Permission Sets step. Doing this will remove the profiles from the Metadata step.

Create Full Profiles Step

Select this checkbox if you wish to move added permission sets to a Full Profiles step. Doing this will remove the permission sets from the Metadata step.

Destination Credential

The destination credential that will be used when creating the deployment. This credential is auto-populated based on the pipeline linked to the project.

Exclude From Auto Resolve

Select the metadata types that you want to manually resolve when a conflict occurs while merging the feature branch into the promotion branch.

Notify When Complete

Select this checkbox if you want the promotion owner to receive an email notification when the promotion is complete.

Is Back-Promotion

Select this checkbox if you are promoting from a higher to a lower environment in the pipeline.

Order User Stories by

Populate this field if you want to set an ascending or descending merge order for the selected user stories in a deployment. For example, status__c asc.

Project

Select a project linked to an active pipeline.

Source Credential

The source credential that will be used when creating the deployment. This credential is auto-populated based on the pipeline linked to the project.

If you want to update the help text in your org, follow these steps:

  1. Navigate to Setup > Object Manager > Promotion.
  2. From the Fields & Relationships section, click on each of the fields listed above.
  3. Click on Edit and replace the existing help text with the new help text.
  4. Click on Save.

Bug Fixes

  • Copado no longer returns the error message “No data to display” when you view the results of a data template deployment if the name of the data template contains a special character (KI-00449).
  • In the latest versions of Copado, email or chatter post notifications for manual task deployment steps were not being sent. This issue has now been fixed (KI-00460).
  • The Deploy Later functionality is now working as expected and will request for the date and time to be selected.  You need to upgrade to v18.11 for this fix to work (KI-00470).
  • When populating the Release field under user stories or promotions, you will no longer receive any error message (KI-00461).


How did we do?