Apex: New and Changed Items

These namespaces have new or changed classes, methods, interfaces, enums, or exceptions.

AppLauncher Namespace

The AppLauncher namespace has these new methods.

New or Changed Methods in Existing Classes

Get the single sign-on URL for a community subdomain
Use the new getCommunityDomainSsoUrl(startUrl, developerName) method in the AppLauncher.SocialLoginController class.

Schema Namespace

The Schema namespace has these new or changed classes, methods, interfaces, enums, or exceptions.

New or Changed Methods in Existing Classes

Get the effective describe option used by the system for the SObject
Use the new getSObjectDescribeOption method in the Schema.DescribeSObjectResult class.

System Namespace

The System namespace has these new or changed classes, methods, interfaces, enums, or exceptions.

New or Changed Methods in Existing Classes

Initiate a verification service for email, phone (SMS), and the Salesforce Authenticator verification methods
Use the new initVerificationMethod(method) in the System.UserManagement class.
Complete the verification service for email, phone (SMS), Salesforce Authenticator, password, or time-based one-time password (TOTP) verification methods
Use the new verifyVerificationMethod(method) in the System.UserManagement class.
Use stronger encryption and signing algorithms with Crypto methods
Use the new RSA-SHA384 and RSA-SHA512 values in the algorithmName parameter in Crypto.sign, Crypto.signWithCertificate, Crypto.signXML(), and Crypto.verify() (methods) in the System.Crypto class.
Enforce Field- and Object-Level Security for Relationship Fields
Use the stripInaccessible method in the System.Security class.