Slide deck from my presentation to the London Salesforce Developers Trailblazer Community Group on the new features in the Summer 24 Salesforce release.
Classic, all editions ▪ Applied on a rolling basis ▪ Add *.salesforce-setup.com to allow lists Google Chrome Storage Partitioning ▪ Enabled in Summer ‘24 ▪ Test any solutions that rely on localStorage ▪ Opt out until 3rd Sep 2024: User Interface -> Disable Google Chrome Partitioning for Salesforce Domains
pages ▪ New step in field creation ▪ Last field in first field section ▪ Only appears if dynamic forms-enabled pages exist Dynamic forms-enabled information on custom fields
to API 61.0 for Summer ‘24 features Component Lifecycle Hooks use Native Browser APIs ▪ Synthetic polyfill for older browsers Native DOM/Design System Architecture changes ▪ Unsupported customisations may break
API 61.0 Light and Native Shadow DOM Accessible Rich Internet Applications (ARIA) support Form association ▪ Submit component state as part of a form ▪ Participate in form lifecycle – form reset, element disabled, restore state ▪ Participate in form validation https://webkit.org/blog/13711/elementinternals-and-form-associated-custom-elements/
from all spaces in system mode Read-only object checks supported if user has access to data space, applies to : ▪ WITH USER_MODE ▪ WITH SECURITY_ENFORCED ▪ Security.StripInaccessible() ▪ Describe calls No field level security or record access control Mock SOQL Query Responses System.SoqlStubProvider class ▪ Override handleSoqlQuery() method
▪ Now errors if code references unlicensed objects ▪ Consistent with metadata/on-demand compilation FOR UPDATE locks released by rollback to savepoint ▪ Generates entry in debug log ▪ Includes most recently locked entity type Apex Exceptions Emails now include ▪ Org name ▪ User name ▪ My Domain name FOR_UPDATE_LOCKS_RELEASE | FOR UPDATE locks released due to a savepoint rollback. The most recent lock was Account.
List accts = [SELECT Name, (SELECT LastName, (SELECT AssetLevel, (SELECT Description, (SELECT LineItemNumber FROM WorkOrderLineItems) FROM WorkOrders) FROM Assets) FROM Contacts) FROM Account]; Each subquery consumes an aggregate query (limit 300)
version and defers validations ▪ Install and test faster ▪ Useful for CI Shorten install time in scratch orgs ▪ FeatureEnforcement skip handler ▪ Admins can turn off features that would would break app!
scratch org Includes : ▪ Installed Packages ▪ Configuration Metadata ▪ Data Enable in Dev Hub Manage through CLI ▪ Separate scratch org definition file Expires after 90 days