Close Menu
SalesforceCodex
    Facebook X (Twitter) Instagram
    Trending
    • 10 Salesforce Chrome Extensions to Boost Your Productivity
    • How to Build a Generic Modal Window in Lightning Web Component
    • Top 10 Salesforce Flow Features of Salesforce Summer ’25
    • Unlock the Power of Vibe Coding in Salesforce
    • How to Implement Dynamic Queueable Chaining in Salesforce Apex
    • How to Implement Basic Queueable Chaining in Salesforce Apex
    • How to Suppress PMD Warnings in Salesforce Apex
    • Top 10 PMD Issues Salesforce Developers Should Focus on in Apex
    Facebook X (Twitter) Instagram
    SalesforceCodex
    Subscribe
    Saturday, June 21
    • Home
    • Architecture
    • Salesforce
      • News
      • Apex
      • Integration
      • Books Testimonial
    • Questions
    • Certification
      • How to Prepare for Salesforce Integration Architect Exam
      • Certification Coupons
    • Integration Posts
    • Downloads
    • About Us
      • Privacy Policy
    SalesforceCodex
    Home»Salesforce»Top Developer Features in Salesforce Spring ’24 Release

    Top Developer Features in Salesforce Spring ’24 Release

    Dorian SabitovBy Dorian SabitovFebruary 6, 2024Updated:February 6, 2024No Comments9 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Top Developer Features in Salesforce Spring ’24 Release
    Share
    Facebook Twitter LinkedIn Pinterest Email

    The Salesforce platform is always advancing, with three major updates rolled out each year: Winter, Spring, and Summer. These updates introduce a wide range of new functionalities and improvements. For developers, it’s essential to have a clear strategy for these releases. This approach guarantees that you and your team are ready to fully utilize the newest developer features of the platform, optimizing the benefits of the latest functionalities.

    With the Salesforce Spring ’24 release, a collection of innovations is introduced, specifically designed to boost developer and administrator capabilities. This upgrade is focused on three key areas:

    • enhancing productivity,
    • integrating artificial intelligence (AI) to provide deeper analytics, not limited to simple
      Einstein Search or basic insights,
    • improving the overall user experience across the platform.

    Through these advancements, the Spring ’24 release aims to streamline processes, offer more profound insights, and deliver a smoother interface for users, thereby elevating the Salesforce ecosystem for all its users.

    Key Developer Features in Salesforce Spring ’24 Release

    Lightning Web Components Enhancements

    The release of LWC API version 60.0 brings numerous bug fixes and enhancements. Developers are encouraged to transition their LWC projects from LWC.studio to StackBlitz for a more robust development environment, benefiting from faster prototyping and easier bug reproduction. Below are key features and enhancements for Lightning Components:

    Workspace Management

    The LWC Workspace API now offers methods to manage
    workspace tabs and subtabs within Lightning console apps, featuring minor bug fixes and
    improvements since its beta version.

    Record Selection Made Easy

    The ‘lightning-record-picker component’ (available now) allows both desktop and mobile users to swiftly find and select Salesforce records. This component now supports fetching up to 100 records, enhanced error messaging, and new attributes for a more tailored user experience. It utilizes the GraphQL wire adapter for offline usage.

    Native Shadow DOM Support

    Prepare your components for the native shadow DOM with the beta mixed shadow mode, aiming for improved performance and web standards compliance. Migration to StackBlitz: With the impending shutdown of LWC.studio, developers should migrate their projects to StackBlitz, leveraging its efficient coding environment and integration with VS Code.

    Enhanced Accessibility with ARIA

    Additional ARIA attributes are now reflected in properties, expanding the accessibility of web components. Security and Observability Enhancements: Lightning Web Security introduces new
    protections and the Custom Component Instrumentation API, which allows the monitoring of
    component events within Salesforce’s Event Monitoring system.

    Internal DOM Structure Changes

    Salesforce is updating the internal DOM structure of base Lightning components like lightning-input, in preparation for adopting native shadow DOM. This aims to enhance performance and compliance with Web Components standards while cautioning developers to adjust their tests and styles accordingly.

    👉 Additional info: Full Lightning Components release notes

    💡 Insight:

    A notable improvement is seen in the ‘lightning-datatable’ component, which now features a ‘wrap-table-header’ attribute. This addition enables the wrapping of header text to fit within the confines of column widths, addressing the need for better space utilization in data presentation. Additionally, the ‘lightning-input’ component has been enriched with a ‘role’ attribute. This enhancement facilitates the creation of accessible combo boxes, streamlining the development of user interfaces that are both more intuitive and compliant with accessibility standards.

    Apex Enhancements

    The Spring ’24 release of Salesforce introduces a variety of Apex enhancements aimed at simplifying and enriching the development experience. Spring ‘24 Salesforce Apex key updates:

    Null Coalescing Operator

    Simplify your code by using the null coalescing operator ‘??’ to bypass null checks. This operator selects the first non-null value from its two operands, streamlining expressions and reducing code verbosity. This addition was inspired by community feedback on IdeaExchange.

    UUID Generation

    The introduction of a new UUID class enables the generation of version 4 UUIDs, utilizing a strong pseudo-random number generator. This feature provides a standard method for creating unique identifiers, a functionality requested by the Salesforce community.

    Enhanced DML Operations

    Salesforce now allows for more flexible transaction management. By using a savepoint, developers can roll back all uncommitted DML operations. The addition of the ‘Database.releaseSavepoint’ method further permits the explicit release of savepoints before making external callouts, addressing previous limitations around callouts post-savepoint creation.

    Compression Namespace

    The new Compression namespace, currently in Developer Preview, offers methods for generating and extracting compressed zip files. This feature allows for efficient data handling and storage, enabling the compression of multiple files into a zip archive and selective extraction.

    Formula Evaluation

    The FormulaEval namespace, also in Developer Preview, supports the evaluation of user-defined formulas for Apex and sObjects. This capability eliminates the need for DML operations to recalculate formula values, facilitating dynamic formula evaluation directly in Apex.

    REST Response Header Validation

    Following RFC 7230 standards, Salesforce enforces validation for REST response headers defined in Apex, ensuring compliance and enhancing the reliability of API interactions.

    Logging Enhancements for FOR UPDATE Locks

    Salesforce now logs the release of record locks obtained with the ‘FOR UPDATE’ clause, improving transparency and debugging for developers.

    Type.forName Method Behavior

    The behaviour of the ‘Type.forName’ method has been adjusted. Now, specifying an invalid namespace returns null, promoting clearer error handling and code correctness.

    DML Enhancements for External Objects

    Spring ’24 refines DML operations for external objects, restricting certain DML methods to external and big objects, and improving limit accounting and validation to prevent misuse.

    New Quiddity Enum Value

    A new default quiddity value, undefined (UD), has been introduced for events without a specific descriptive quiddity, streamlining event handling and categorization.

    These updates, many of which were driven by user suggestions on IdeaExchange, showcase Salesforce’s commitment to enhancing the Apex programming environment, making it more powerful, user-friendly, and efficient for developers.

    👉 Additional info: Full Spring ‘24 Salesforce Apex release notes

    International Components for Unicode (ICU) Locale Formats

    The Spring ’24 update introduces a feature that integrates International Components for Unicode (ICU) locale formats into Salesforce. This allows for the customization of dates, times, numbers, and currencies to match the local preferences of users from various regions.

    If you create applications within Salesforce intending to present information in a way that feels familiar and intuitive to a global audience you have to enable ICU locale formats. By enabling this feature, you’re essentially harnessing a powerful tool that automatically adjusts these elements according to the cultural and regional standards of your users. This capability ensures that your applications provide a consistent and culturally relevant experience to users everywhere.

    This enhancement significantly improves your applications by ensuring that all presentations of time, numerical data, and monetary values are appropriate for each user’s cultural context. It enables your applications to fluidly navigate between different languages and locales, offering a seamless experience for all users.

    With ICU locale formats, you’re offered a wide range of formatting choices, ensuring that your application not only looks professional but also aligns accurately with cultural norms. Additionally, this feature simplifies the task of formatting, allowing you to dedicate more effort to the development of your application’s key features. Essentially, it acts as a supportive tool that enhances both the appearance and functionality of your application, making it more accessible and enjoyable for a worldwide audience.

    👉 Additional info: Full Enable ICU Locale Formats release update

    Visualforce JavaScript Remoting API Security

    The next Spring ’24 release also addresses security improvements, notably through the Visualforce JavaScript Remoting API. The Visualforce Remoting API enables the use of JavaScript to call Apex controller methods directly from Visualforce pages. To enhance security, particularly to guard against unauthorized data serialization and deserialization across different package namespaces, this update introduces validation for the JsonAccess annotation in Apex classes. Initially introduced in the Winter ’23 release, this security measure is being strictly enforced starting with the Spring ’24 update. This ensures that only properly annotated Apex classes can be serialized or deserialized, providing an additional layer of protection against potential vulnerabilities.

    Salesforce Packaging

    Packaging serves as a key tool in the development and distribution of business applications. For creating and selling apps on the AppExchange, developers should utilize second-generation managed packages. Meanwhile, unlocked packages are recommended for the development of internal business applications.

    The introduction of the ‘scopeProfiles’ setting in the ‘sfdx-project.json’ file offers developers precise control over which profile settings are packaged. This feature comes into play when creating a new package version with the ‘sf package version create’ command, allowing for a more tailored package content.

    Salesforce has enhanced the management of second-generation managed packages by enabling the removal of both protected and public records from a custom metadata type. The impact of removing these records on the subscriber org varies based on the records’ visibility:

    Visible Records: Marked as deprecated in the subscriber org, still counting against the org’s limit.

    Invisible Records: Deleted from the subscriber org.

    Package developers are encouraged to inform subscribers about deprecated records and the importance of deleting them to manage their org limits. This improvement was implemented in response to feedback shared on IdeaExchange.

    The process for managing push upgrades has been simplified. The Package Manager page now only shows valid production orgs in the Target Organization list, specifically including orgs with a status of trial, free, or active. This update makes it easier for developers to identify and select the appropriate orgs for push upgrades, streamlining the upgrade process.

    👉 Additional info: Full Spring ‘24 Packaging release notes

    💡 Insight:

    Do not forget to check features that will be retired, such as Salesforce Functions.

    Salesforce Functions will be retired from January 31, 2025. You may keep using your current subscription until the end of your existing Order Term. To maintain the functionalities that Salesforce Functions offered to your organization, it’s necessary to implement a replacement solution before.

    Conclusion

    The Salesforce Spring ’24 release brings an array of new features and enhancements designed to transform the way office-based and remote Salesforce developers create and refine applications on the platform. This update focuses on increasing component flexibility, bolstering security measures, ensuring global compatibility, and providing more efficient tools for debugging. Together, these advancements facilitate a smoother, safer, and more inclusive approach to development. Developers are invited to delve into these updates to fully harness the capabilities of Salesforce in their projects, potentially elevating their applications to new levels of performance and user experience.

    Similar posts

    Verify API Connection in Flow HTTP Callout

    apex lightning lightning component Lightning web component lwc salesforce salesforce apex salesforce spring 24 spring 24
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleUltimate Guide to Monitoring Platform Events using Streaming Monitor
    Next Article Setting Up Live Chat with Salesforce Messaging
    Dorian Sabitov
    • Website
    • X (Twitter)

    Dorian Sabitov, a Salesforce expert with four certifications, transitioned from CRM Administration to Salesforce, leveraging Trailhead and Focus on Force for rapid advancement. His unwavering dedication to continuous learning underscores his commitment to the Salesforce community. As the lead writer for the sfapps.info blog, Dorian shares his deep knowledge and passion for cloud-based CRM solutions, further establishing his expertise and dedication in the field.

    Related Posts

    By Dhanik Lal Sahni9 Mins Read

    10 Salesforce Chrome Extensions to Boost Your Productivity

    June 1, 2025
    By Dhanik Lal Sahni4 Mins Read

    How to Build a Generic Modal Window in Lightning Web Component

    May 26, 2025
    By Dhanik Lal Sahni6 Mins Read

    Top 10 Salesforce Flow Features of Salesforce Summer ’25

    May 11, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Ranked #1 SALESFORCE DEVELOPER BLOG BY SALESFORCEBEN.COM
    Featured on Top Salesforce Developer Blog By ApexHours
    Recent Posts
    • 10 Salesforce Chrome Extensions to Boost Your Productivity
    • How to Build a Generic Modal Window in Lightning Web Component
    • Top 10 Salesforce Flow Features of Salesforce Summer ’25
    • Unlock the Power of Vibe Coding in Salesforce
    • How to Implement Dynamic Queueable Chaining in Salesforce Apex
    Ranked in Top Salesforce Blog by feedspot.com
    RSS Recent Stories
    • Top 20 Salesforce Data Cloud Interview Questions & Answers for Admins June 5, 2025
    • How to Connect Excel to Salesforce to Manage Your Data and Metadata February 9, 2025
    • Difference Between With Security and Without Security in Apex January 2, 2025
    • Top Reasons to Love Salesforce Trailhead: A Comprehensive Guide December 5, 2024
    • How to Utilize Apex Properties in Salesforce November 3, 2024
    Archives
    Categories
    Tags
    apex (111) apex code best practice (8) apex rest (11) apex trigger best practices (4) architecture (22) Asynchronous apex (9) AWS (5) batch apex (9) batch processing (4) code analysis (3) code optimization (8) custom metadata types (5) design principle (9) flow (15) future method (4) google (6) google api (4) integration (19) integration architecture (6) lighting (8) lightning (65) lightning-combobox (5) lightning-datatable (10) lightning component (31) Lightning web component (63) lwc (52) named credential (8) news (4) optimize apex code (4) optimize apex trigger (3) Permission set (4) pmd (3) Queueable (9) rest api (23) S3 Server (4) salesforce (142) salesforce apex (47) salesforce api (4) salesforce api integration (5) Salesforce Interview Question (4) salesforce news (5) salesforce question (5) solid (6) tooling api (5) Winter 20 (8)

    Get our newsletter

    Want the latest from our blog straight to your inbox? Chucks us your detail and get mail when new post is published.
    * indicates required

    Facebook X (Twitter) Instagram Pinterest YouTube Tumblr LinkedIn Reddit Telegram
    © 2025 SalesforceCodex.com. Designed by Vagmine Cloud Solution.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.