You made it to Part 2 of our Salesforce Spring 25 Release– top features every developer should know. In our first part, we covered the highlights of Agentforce updates and the data cloud updates, but there’s still more to discover. This time, we will focus on more updates, pro tips, and how you can use these updates to build smarter and faster in Salesforce.

Get ready to take your development skills to the next level! Here’s a sneak peek at other major key updates.

New Apex File Handling Capabilities:

A long-awaited feature is finally here! Developers can now compress and extract zip files using Apex. This is made possible through the new Compression namespace, which provides built-in methods for zipping and unzipping files.

Things to keep in mind:

  • Heap size limits apply, so be sure to test your code to determine the maximum file size you can work with.
  • The heap limit may vary depending on the compression methods used.

Here’s a quick example of how you can use Compression.ZipWriter to create a zip file containing documents from a specific library and save it back to the same library:

spring 25 part 2 - 1

spring 25 part 2 - 2

spring 25 part 2 - 3

spring 25 part 2 - 4

This feature allows for better file management in Apex, making it easier to handle large document libraries and automated file processing.

Enhanced Apex Formula & Scheduling Features

Another exciting update—dynamic formulas in Apex are now generally available!

With the FormulaEval namespace, you can now:

✔ Build and evaluate dynamic formulas in Apex
✔ Access polymorphic relationship fields
✔ Reference standard and custom lookups in formula fields

This feature adds a new level of flexibility, especially when working with custom business logic that requires real-time formula evaluation.

To see this in action, check out the demo video: Apex Updates for Developers: Summer ’25.

Updated Limits for Long-Running Apex Requests

Previously, Salesforce limited organizations to 10 concurrent Apex requests for transactions running longer than five seconds. With this update, the limit is now based on the number of user licenses an organization has.

New Limits:

  • The minimum remains 10 concurrent requests.
  • The maximum limit is now 50 concurrent requests.
  • The limit is calculated at a ratio of 100 user licenses per long-running request.

Example:

  • An organization with 4,000 licenses can now have 40 concurrent long-running requests.
  • If an organization has 5,000+ licenses, the limit is capped at 50.

Control Scheduled Jobs with Pause and Resume

Now, you can pause and resume scheduled jobs programmatically using new system methods:

  • pauseJobByName()
  • pauseJobById()
  • resumeJobByName()
  • resumeJobById()

Example: Pausing a Scheduled Job

spring 25 part 2 - 5

This makes it easier to control job execution without needing manual intervention.

Additional Apex Updates:

Several additional Apex changes apply to API version 63.0 and beyond:

✔ JSON Serialization Update:

  • Custom exception types and most built-in exceptions can no longer be serialized into JSON.

✔ Stricter Master-Detail Reparenting Rules:

  • If reparenting is not enabled in the master-detail definition, attempting to reparent a child record will now throw a System.DmlException.

✔ Default “Accept” Header for Apex Callouts:

  • The default value for the Accept header in Apex callouts has changed.
  • New default: /*
  • Previous default: text/html, image/gif, image/jpeg, *; q=.2, and */*; q=.2

These updates improve system performance, enhance security, and give developers more control over scheduled jobs and API behaviors.

LWC Improvements

Local Development is Now Generally Available 🚀

Good news for developers! Local Development (Local Dev) is now generally available in Spring ’25 sandboxes and scratch orgs.

What does this mean for you?

  • You can now instantly preview your LWC changes as you code—no more manual page refreshes!
  • This feature uses hot module reloading and WebSockets to provide a real-time development experience.
  • It supports LWR sites, mobile apps, and Lightning Experience.

Want to set it up? Check out the documentation or watch the setup video to get started.

SLDS 2 (Beta): A More Adaptive Design System

Salesforce is rolling out SLDS 2 (Beta), available for orgs that opt into Salesforce Cosmos.

Why should you care?

  • SLDS 2 provides a more adaptive design system, ensuring UI themes remain flexible for future changes.
  • The new SLDS Validator extension helps you check if your LWC components comply with the latest SLDS 2 guidelines.
  • If your code needs adjustments, the validator even suggests fixes for an easy transition.

This update ensures that your LWC components stay modern, flexible, and future-proof!

spring 25 part 2 image 1

LWC Enhancements in API Version 63.0

With API version 63.0, Salesforce has introduced some key improvements for LWC developers.

Better Type Checking for TypeScript Developers

  • If you’re using TypeScript, you’ll now benefit from enhanced type checking for @wire configuration and property values.
  • This update helps ensure that reactive properties always match the expected type in your component, reducing potential errors.

Cleaner JavaScript Selectors

  • Extra whitespace in selectors is now automatically removed.
  • If your markup starts or ends with a space or tab, these will be stripped away for consistency.
  • Make sure to review and update your JavaScript code to avoid unexpected behavior.

Optimizing Salesforce Extensions for Mobile and Offline Use

The latest update to Salesforce Extensions for Visual Studio Code brings new diagnostic tools to help developers identify and fix mobile and offline performance issues.

What’s New?

  • Detects if too many fields are being used (over 32KB), which can slow down performance.
  • Flags Base Lightning Web Components (LWC) that aren’t optimized for offline use.
  • Identifies issues with wire adapters like getRelatedListRecords and getRelatedListCount when used offline.

These improvements will help ensure smoother performance for mobile and offline applications.

Developer Productivity & Tools

Agentforce for Developers

Agentforce is an AI-powered assistant for Salesforce developers, helping with Apex and LWC coding. Key updates include:

  • Smarter autocomplete that understands metadata and related files.
  • Optimized LWC Jest test case generation for better unit testing.
  • LWC Code Optimization to improve accessibility, style, and mobile performance.
  • Enhanced error fixing with Code Analyzer suggestions.

Watch for these improvements rolling out soon!

Salesforce CLI Updates

Salesforce CLI gets weekly updates! Recent highlights:

  • Support for multiple –query flags in data exports.
  • New Bulk API 2.0 commands for handling large datasets.
  • SOSL search from the command line for quick lookups.
  • Beta GraphQL API command to query and modify data.
  • Better tabular output for commands like org list limits.

Code Analyzer v5 (Beta)

A major upgrade to Code Analyzer makes it more flexible:

  • New Flowtest engine to detect security issues in Flows.
  • Duplicate code detection with a Copy/Paste Detector.
  • Expanded PMD rules aligned with AppExchange security reviews.
  • GitHub action support for automated analysis.

APIs & Integrations

  • Bulk API 2.0 job notifications via platform events—no more polling!
  • AWS Private Connect now available in new Asia regions.
  • Event Relay now packageable in 2GP Managed Packages for AWS event streaming.

Conclusion for Salesforce spring 25 release

The Salesforce Spring 25 Release has introduced some amazing features, and now you’re fully prepared to make the most of them! From AI-driven enhancements to powerful automation tools, this update offers exciting opportunities for developers.

Stay curious, keep experimenting, and we’ll see you in the next release update. Also, stay tuned with The Pinq Clouds available on AppExchange for insightful blogs and updates. Happy coding!