Top 10 Features for Salesforce Developers in Winter’20 Release #BeReleaseReady

Top 10 Features for Salesforce Developers in Winter’20 Release!
#Salesforce #Release #Winter20 #Developers

1. Lightning Web Components: Open Source

Why: In the past, you had to use different frameworks to build different sides of an application. For example, you used Aura to build the employee-facing side of an application on Salesforce. You used React, Angular, or Vue to build the customer-facing side of the application, and you deployed it on Heroku or on another platform. Today, you can use Lightning web components to build both sides of the application.

The benefits are significant. You can now learn one framework instead of several. You can share code between apps. And you’re using a cutting-edge framework built on web standards and based on the latest patterns and best practices.

How: To develop off-platform Lightning web components, see lwc.dev. To contribute to the open-source code, see the Lightning Web Components GitHub repository.

To develop on-platform Lightning web components, see the Salesforce Lightning Web Components Developer Guide.

2. Enforce Field-Level Security in Apex (Beta)

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

Why: You can use the stripInaccessible method to strip the fields that the current user can’t access from query and subquery results. You can use it to remove inaccessible fields from sObjects before a DML operation to avoid exceptions. You can also use the method to sanitize sObjects that have been deserialized from an untrusted source.

How: The stripInaccesible method checks the source records for subquery fields that don’t meet the field-level security check for the current user. The method returns a list of sObjects that contain only the fields that are accessible to the current user. If the user doesn’t have access to the relationship field from child to parent, the return list of sObjects doesn’t include the child relationship.

Refer: https://releasenotes.docs.salesforce.com/en-us/winter20/release-notes/rn_apex_Security_stripInaccessible_beta.htm

3. Expand Apex Testing with the ApexSettings Metadata Type

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

How: You can use the ApexSettings metadata type in many ways.

  • To enable tracking of aggregate, instead of detailed, totals for Apex test coverage data, use the new enableAggregateCodeCoverageOnly field.
  • To enable serial execution of Apex tests, use the new enableDisableParallelApexTesting field.
  • To suppress Apex debug log details in unhandled exception emails, use the new enableDoNotEmailDebugLog field.
  • To prevent Apex test executions from incrementing auto-number fields for non-test records and creating gaps, use the newenableGaplessTestAutoNum field.

4. Query in Bulk API 2.0

Why: Bulk queries are also available in Bulk API (that is, the /services/async/ endpoint introduced in version 16 of the Lightning Platform API). But the Bulk API 2.0 implementation has several advantages:

  • It does not require you to handle batches. All results are returned in one set.
  • Limits have been simplified and are available to clients via a /limits endpoint.
  • This implementation is better integrated with other Salesforce REST APIs:
  • It does not require a special X-SFDC-Session header.
  • It supports all the regular OAuth workflows.
  • Its design is more consistent with the other Salesforce APIs.

5. Control Who Gets Read Access to Custom Metadata Types

Where: This change applies to Lightning Experience and Salesforce Classic in Professional, Enterprise, Performance, and Unlimited editions.

Who: Admins with the Customize Application permission can modify permission sets and profiles to grant direct read API access to a specific custom metadata type.

How: To grant a specific profile or permission set read access to a custom metadata type, go to the Custom Metadata Types permissions.

Edit the profile or permission set to add the desired custom metadata type to the list of enabled custom metadata types.

6. Migrate Change Data Capture Channels and Members with Metadata API and Tooling API

Where: This change applies to Enterprise, Performance, Unlimited, and Developer editions.

How: As part of this change, we removed the channelMembers field of PlatformEventChannel. If you upgrade your metadata PlatformEventChannel components from API version 46.0 or 45.0, remove the channelMembers fields in your components. Then replace each field with a PlatformEventChannelMember component.

7. New Aura Components & Events

forceCommunity:analytics: InteractionGtagTracks events triggered by Lightning components, and sends the data to Google Analytics using the global site tag (gtag) standard. Supported only in template-based communities. To use the gtag standard, enable Google Analytics in Community Builder and publish your community. For more information, see Improve Tracking with the New Google Analytics™ Standard.

8. Lightning Console JavaScript API

In the utility bar, change a utility’s icon color to indicate success, warning, or error when using the setUtilityIcon()method

Use the new iconVariant value with the options argument.

In a utility’s panel header, change the utility’s icon color to indicate success, warning, or error when using the setPanelHeaderIcon() method

Use the new iconVariant value with the options argument.

Return the SLDS icon color variant of a utility’s icon and its panel icon when using the getUtilityInfo() method

Use the new utilityIconVariant and panelHeaderIconVariant fields, respectively, on the utilityInfo object.

Return the SLDS icon color variants of all utility icons and utility panel icons when using the getAllUtilityInfo()method

Use the new utilityIconVariant and panelHeaderIconVariant fields, respectively, on each utilityInfo object.

9. Monitor Platform Event Publishing Usage in REST API

Where: This change applies to Enterprise, Performance, Unlimited, and Developer editions.

How: The limits resource contains these new values.

  • HourlyPublishedPlatformEvents — High-volume platform event notifications published per hour
  • HourlyPublishedStandardVolumePlatformEvents — Standard-volume platform event notifications published per hour

10. Callouts Are Excluded from Long-Running Request Limit

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

This change applies to callouts made directly from Apex, including SOAP callouts generated by WSDL2Apex. It also applies to callouts from other platform features, such as External Services and External Objects.

There are lot many other features as well, Official release notes are available HTML format as well as PDF file.

Say Hello To Me On: Twitter | Facebook | Linkedin | MyBlog | Blogger | MyWebsite

#HappyLearning #Platform #SalesforceDeveloper #BeReleaseReady #Salesforceguy

--

--

Salesforce Evangelist || Blockchain Enthusiast || Architect || Trainer || Blogger || Believes in turning Ideas to reality || Day Dreamer || Happy Person

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Swayam Chouksey

Salesforce Evangelist || Blockchain Enthusiast || Architect || Trainer || Blogger || Believes in turning Ideas to reality || Day Dreamer || Happy Person