Salesforce Winter ’23 Release

What is new for Salesforce developer in Winter ’23 Release

1. Code Builder

Code Builder (beta) is a modern, web-based development environment that makes it easy for you to develop from anywhere without downloading software to your local device. With Code Builder, you can get a modern development environment that includes your favorite languages and frameworks, such as Apex, SOQL, and Lightning Web Components, all from within a browser.

Where: This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms. Also see Terms and Conditions for Code Builder on its App Exchange listing.

How: Install the Code Builder (beta) managed package from AppExchange. Go to Code Builder documentation to learn about how you can try Code Builder.

2. Enable Third-Party Integrations with Light DOM (Generally Available)

Lightning web components render in shadow DOM by default, providing strong encapsulation but posing challenges for global styling and many third-party integrations. With light DOM, your component markup is attached to the host element instead of its shadow tree. You can then access it like any other content in the document host.

3. Write Clear and Intentional Apex Assertions

Improve the readability of your Apex code by using the assert methods in the new System.Assert class that fit the exact conditions that you’re checking for. We still support the existing System class assert methods. But we also recommend that you start using the new ones soon and that you update your existing code to use them.


4. Enable Visualforce JavaScript Remoting Enforcement (Release Update)

The Visualforce Remoting API uses JavaScript to directly call methods in Apex controllers from Visualforce pages. To ensure that the API is properly secured, calls now have stricter validation. This update was first available in Summer ’22 and is enforced in Winter ’23.

To improve security of the Visualforce JavaScript Remoting API, this update modifies how the CSRF token is created for the Visualforce $RemoteAction global variable. This validation adds more protection to API remoting calls by guest users. Also, this update validates the {"apexType": "Object"} parameter used by the Visualforce $RemoteAction global variable against the Apex method parameter and throws an error if the apexType parameter is invalid. This validation prevents users from providing Apex objects that they can’t access or providing Apex objects that don’t satisfy the Apex method parameter.

5. Use Lightning Web Security by Default in New Salesforce Orgs

Lightning Locker has been the default security architecture for Lightning components. Lightning Web Security (LWS) is replacing Lightning Locker for Lightning web components initially, and then we intend to add support for Aura components over several releases. When enabled, LWS currently supports Lightning web components only. Lightning Locker still supports Aura components. This change affects your new org only if you add Lightning web components or install managed packages that contain Lightning web components. The Lightning web components then run with LWS instead of Lightning Locker.

What is new for Salesforce Admin in Winter ’23 Release

1.To Be Ready for Multi-Factor Authentication Auto-Enablement

The requirement to use multi-factor authentication (MFA) when accessing Salesforce products went into effect on February 1, 2022. All users must now use MFA when they log in to Salesforce, whether they’re logging in directly or using single sign-on (SSO). To help customers satisfy this requirement, in the first half of 2023, Salesforce is automatically enabling MFA for direct logins. In fall 2023, we’re enforcing MFA by making it a permanent part of the Salesforce login process. To avoid disruptions to your users when these milestones occur, enable MFA as soon as possible.

2. Create Custom Address Fields (Generally Available)

To improve address data accuracy and your users’ experience, create custom fields that mimic the behavior of standard address fields.

3. Resolve Cases Quickly with Interactive Einstein Search Answers (Pilot)

Your agents can take immediate action by using Einstein Search Answers to extract the most relevant information from a knowledge article. The returned answers are just three lines so that agents can copy the answer and its internal link to their clipboard and then share it without leaving the page. Previously, agents opened the record page and then copied the URL and section of an article.

4. Enhance More Object Record Pages With Dynamic Forms

You can make your account, including person account, contact, and opportunity record pages more robust by configuring them with Dynamic Forms.

5. Do More with Dynamic Related List Filters

When we filter dynamic related lists in the Lightning App Builder, we can select multiple filter values for picklist fields. For example, on the Account record page, filter a dynamic related list to show all cases with a priority of Medium or High. Previously, we could filter by only one picklist value.

6. Set Field-Level Security for a Field on Permission Sets Instead of Profiles During Field Creation (Beta)

Now when you create a field on an object, you can follow best practices and set field-level security for a field on permission sets instead of profiles. And rather than manually granting access to a field in each permission set, you can set field-level security on permission sets during field creation. This feature is also available when you set field-level security on a field or change the field type on a field.