Salesforce Spring '26 Release
Complete guide to Agentforce, Flow Builder, LWC, Apex, and Security updates - compiled from the official 826-page Salesforce Release Notes
01 Release Timeline
This article has been refreshed with post-release information now that Spring '26 is fully live, including current Agentforce model guidance and the latest integration best practices. Added a short look at what came next in Winter '27, with four videos. Originally published January 2026.
What's New in This Update (November 2026)
- Added: "What came next: Winter '27" section with four videos on the Winter '27 developer, admin, integration and Agentforce changes
- Updated: Connected App and External Client App notes now point to the Winter '27 migration changes
- Updated: Agent topics are now called subagents (formerly topics)
- Updated: Spring '26 is fully live — all three production waves completed in February 2026
- Added: Summer '26 context — the next release shipped May-June 2026 (sandbox preview May 8; production May 15, June 5, and June 12-13)
- Updated: Agentforce model guidance is current through the Claude Sonnet 4.5 and Claude Haiku 4.5 reroutes
- Updated: Agentforce Builder canvas is now the default building experience
- Added: Component Library retirement completed — the Lightning Component Reference is the new home
- Updated: Integration guidance for the SOAP login() retirement path (External Client Apps)
My Favorite Features
Real problems I've faced and how Spring '26 solves them
Apex Cursors GA
Page through very large SOQL results with cursor-based pagination, fetching from any position - perfect for data migrations and large-scale processing.
Screen Flow URLs GA
Open flows directly via URL with parameter passing. Include flow links in emails, external apps, or custom navigation - no embedding required.
MCP Tools for LWC BETA
Connect Claude, Cursor, or VS Code to your Salesforce org via MCP. Get context-aware code suggestions, LWC development help, and metadata-integrated AI assistance.
Complex Template Expressions BETA
Write expressions directly in templates: {quantity * price}, ternary operators, string concatenation - all without JavaScript getters.
External Client Apps NEW
Modern replacement for Connected Apps with enhanced OAuth, better packaging support, and improved security model. Connected App creation is now disabled by default. Winter '27 adds more: see What came next.
Agentforce Canvas View DEFAULT
Visual canvas that summarizes Agent Script into expandable blocks — now the default building experience in the new Agentforce Builder. See the entire agent flow, connect subagents (formerly topics), and manage escalation paths in one place.
Named Query API GA
Define SOQL queries in Setup and expose them as REST endpoints - no Apex required. Automatic security enforcement and parameter support for external integrations.
The Spring '26 release helps companies accelerate their journey to becoming an Agentic Enterprise by combining human expertise and AI agents. Here are the key dates from the official Salesforce Admin blog:
Pre-release Developer Edition
Pre-release Developer Edition orgs became available to explore Spring '26 features early.
Release Notes Available
Official Spring '26 Release Notes (826 pages) became available for review.
Sandbox Refresh Deadline
Last day to refresh sandboxes before preview (by 5 p.m. PT).
Sandbox Preview Begins
Sandbox preview instances were upgraded to Spring '26.
First Production Rollout
First wave of production orgs received Spring '26.
Second Production Rollout
Second wave of production orgs received Spring '26.
Final Production Rollout
Final wave of production orgs received Spring '26.
02 Agentforce & Einstein
Supercharge your workforce efficiency with predictive and generative AI. Spring '26 brought major enhancements to the Agentforce platform, and several of them have since become the standard experience.
Agentforce Builder Enhancements
Build Complex Agents Faster with Canvas View
Canvas View debuted in Spring '26 as a visual, text editor-inspired interface for building sophisticated agents, and it is now the default building experience in the new Agentforce Builder. Built on Agent Script with an AI Assistant, the visual canvas summarizes Agent Script into expandable blocks so you can design conversation flows, manage branching logic, and visualize agent behavior all in one place.
Connect Agents to Enhanced Chat v2
Deploy your agents to Enhanced Chat v2 channels directly from Agentforce Builder. This integration enables seamless customer interactions through chat while maintaining full control over agent behavior and responses. Configure messaging connections without leaving the builder interface.
Create Employee Agents
Build internal-facing agents to help employees with common tasks like HR inquiries, IT support, and policy questions. Employee agents can access internal knowledge bases and systems, providing instant answers and reducing the burden on support teams while improving employee productivity.
Validation Enhancements
Enhanced validation in Agentforce Builder catches configuration issues before deployment. The improved validation checks for incomplete actions, missing connections, and potential runtime errors, helping you build reliable agents that perform correctly in production environments.
Agent Configuration
- Connect Agents to Knowledge Sources: Build agents grounded in your unique business data with the predictability your business demands. Use the Answer Questions with Knowledge action via an Agentforce Data Library in the new Agentforce Builder. Agents can access knowledge you've added to their assigned data library, ensuring they provide the most accurate and up-to-date responses to users.
- Migrate Connected Apps to External Client App Framework: With Spring '26, connected app creation is disabled by default. For the best customer experience, migrate your connected apps to external client apps, which provide enhanced security, streamlined packaging, and a more robust framework. Existing connected apps and connected apps for Slack in the legacy Agentforce Builder aren't impacted.
- Agentforce Agents Settings Have Moved: The Enable the Agentforce (Default) Agent and Select the Model for Agentforce settings have moved to the Einstein Audit, Analytics, and Monitoring Setup page. These settings were previously on the Agentforce Agents page in Setup. The Migrate to an Agentforce Employee Agent section has been replaced with a Migrate to an Employee Agent action in the action dropdown.
- New and Changed Standard Agent Topics and Actions: New standard subagents and actions for Agentforce help you build more powerful agents faster. Review the complete list of new subagents and actions available with this release to determine which capabilities you can leverage out-of-the-box rather than building custom solutions.
Einstein Development
Lightning Types MCP Tool
Accelerate custom Lightning type creation for Agentforce using the Model Context Protocol (MCP). This tool integrates with AI coding assistants like Claude to help developers generate type-safe Lightning components faster. Define your data structures and let AI assist with boilerplate code generation while maintaining proper typing.
Supported Models Updates
- Claude 3.5 Sonnet Reroute to Claude 3.7 Sonnet: On February 7, 2026, all features using the Claude 3.5 Sonnet v1 model were automatically rerouted to Claude 3.7 Sonnet. Model rerouting has continued since then — per the current Agentforce supported-models documentation, requests for Claude 3.7 Sonnet now route to Claude Sonnet 4.5, so test your agents against the current model to ensure continued performance.
- Claude 3 Haiku Reroute: Features using Claude 3 Haiku now route to Claude Haiku 4.5, per the current Agentforce supported-models documentation. Test your agents to confirm they continue to perform as expected on the newer model.
03 Flow Builder
Compose intelligent workflows with Flow Builder and Flow Orchestration. Integrate across any system with Flow Integration.
AI-Powered Flow Building
Get More Accurate Draft Flows with AI
AI-powered flow generation is now generally available. Describe your business process in natural language and let Einstein generate a draft flow with the correct elements, logic, and data operations. The improved AI produces more accurate flows that require less manual refinement, accelerating your automation development.
Evolve Flows Iteratively with Agentforce
Continue refining your flows through conversation with Agentforce. Ask for modifications, explain issues, or request new functionality and watch your flow evolve iteratively. This collaborative approach combines human intent with AI capabilities to build better automations faster.
Builder Experience Improvements
- Simplify Your Flow Builder Layout by Collapsing Branching Elements: Reduce visual clutter in complex flows by collapsing Decision and Loop elements on the canvas. This enhancement makes it easier to navigate and understand large flows by hiding nested branches until you need to see them, helping admins work more efficiently with complex automation.
- Navigate Flow Builder Faster with Enhanced Scrolling: Use enhanced mouse scrolling to pan around the Flow Builder canvas more quickly and intuitively. This improvement is especially helpful for large flows with many elements, allowing you to navigate to different sections without using the minimap or zoom controls.
- Decision Logic Labels Were Updated for Clarity: The labels for decision outcome logic in Flow Builder have been updated to use clearer, more descriptive terminology. These changes help flow builders better understand what conditions are being evaluated without ambiguity.
- View Subflow Input and Output Variable Descriptions More Easily: When configuring subflow elements, you can now more easily view the descriptions of input and output variables defined in the referenced flow. This improvement helps builders understand what data to pass into subflows and what to expect back without leaving the current flow.
- View Action Input Descriptions More Easily: Action input descriptions are now more prominently displayed when configuring actions in Flow Builder. This enhancement helps you understand what each input field expects, reducing configuration errors and improving flow quality.
- Set Up the Agentforce Panel Without Admin Configuration: Flow builders can now set up the Agentforce panel to use AI assistance directly in Flow Builder without requiring admin pre-configuration. This self-service capability lets builders leverage Agentforce AI features to help create and troubleshoot flows more quickly.
Flow Orchestration
- Create Orchestrations from the Automation Lightning App: Start building orchestrations directly from the Automation Lightning App without navigating to Setup. This new entry point streamlines the orchestration creation process and puts the capability where automation builders work most often.
- Complete Orchestration Work Items in Flow Builder While Debugging: Debug orchestration work items directly in Flow Builder to test end-to-end processes without leaving the builder. You can now simulate work item completion during debugging sessions to verify orchestration behavior throughout the entire workflow.
- Debug Specific Segments of Flow Orchestrations: Set custom start and end points when debugging orchestrations to focus testing on specific segments. This targeted debugging capability saves time when troubleshooting issues in long or complex orchestration flows.
Flow Marketing Cloud Integration
- Automate Marketing Cloud Engagement Emails from Flow Builder: Send Marketing Cloud Engagement emails directly from Salesforce flows without leaving Flow Builder. This integration enables you to trigger marketing emails as part of your automated business processes, connecting CRM actions with marketing communications seamlessly.
- Ensure Recipients Don't Get Duplicate Messages: Improved contact point selection logic prevents recipients from receiving duplicate messages when the same person exists multiple times in your flow audience. This enhancement ensures cleaner communications and better subscriber experience.
- Send Email Messages Using Activation Data: Pass activation data from your flow directly into Marketing Cloud email messages for personalization. This capability enables dynamic content in your emails based on the data that triggered the flow or was processed during flow execution.
- Run Segment-Triggered Flows at The Right Time with More Scheduling Options: Configure when segment-triggered flows execute with expanded scheduling options. Control timing more precisely to reach recipients at optimal moments and align automated campaigns with your marketing calendar.
04 Screen Flows
Screen flows get major enhancements for data management, visualization, and user experience.
Data Table Enhancements
Organize Data Table Records with Column Sorting
Users can now click column headers to sort data table records at runtime, making it easier to find and organize information. Flow builders can configure which columns are sortable and set default sort order, giving users familiar spreadsheet-like functionality within screen flows.
Edit Records Directly in the Data Table
Enable inline editing in data tables to let users modify field values directly without opening separate edit forms. Users can click cells to edit, and changes are captured in the flow for saving. This streamlines data entry workflows and reduces the number of screens users navigate.
Kanban Boards
Visualize and Track Record Progress with Kanban Boards
Add Kanban board components to screen flows for visual record management. Users can drag and drop cards between columns to update status fields, view records grouped by stages, and quickly understand work distribution. Ideal for managing opportunities, cases, tasks, or any records with status-based workflows.
Styling and UX
- Tailor Screen Flows to Your Audience with Component-Level Styling Overrides: Apply custom CSS styling to individual screen flow components to match your brand or specific use case requirements. Override default styles at the component level for precise control over appearance, enabling unique visual experiences for different audiences within the same flow.
- Add Visually Distinct and Accessible Messages to Screen Flows: Use the new message component to display information, warnings, success, or error messages with consistent styling and full accessibility support. These pre-styled messages help guide users through flows with clear, visually distinct feedback at each step.
- Preview Files Natively in Screen Flows: Display file previews directly within screen flows so users can view documents, images, and other attachments without navigating away. This native preview capability improves user experience and keeps users focused on completing the flow.
- Find and Select Flow Resources More Easily in Screen Flows: The enhanced resource picker makes it faster to find and select variables, formulas, and other resources when configuring screen components. Improved search and filtering capabilities reduce the time spent locating resources in flows with many elements.
Navigation
Launch screen flows directly from a URL in Lightning Experience without embedding them in pages or using buttons. Pass parameters through URL query strings to pre-populate flow variables. This capability enables direct linking to flows from emails, external systems, or custom navigation, making flows more accessible across your organization.
# Basic Flow URL
/lightning/flow/My_Onboarding_Flow
# Run Specific Flow Version
/lightning/flow/My_Onboarding_Flow/301xx000000001ABC
# Pass Single Variable
/lightning/flow/Case_Handler?flow__CaseId={!Case.Id}
# Pass Multiple Variables
/lightning/flow/User_Setup?flow__FirstName={!$User.FirstName}&flow__LastName={!$User.LastName}
# Control Finish Behavior (redirect after completion)
/lightning/flow/My_Flow?retURL=/lightning/o/Account/list
# Full URL Example for Email Links
https://yourorg.lightning.force.com/lightning/flow/Support_Case_Flow?flow__CaseNumber={!Case.CaseNumber}
05 Lightning Web Components & Development
Whether you're using Lightning components, Visualforce, Apex, or Salesforce APIs with your favorite programming language, these enhancements help you develop amazing applications.
LWC API Version 66.0
Write JavaScript expressions directly in LWC templates using a comprehensive subset of operators including arithmetic, comparison, logical, and ternary. Reduce component complexity by eliminating helper getters for simple transformations. Write cleaner, more readable templates while maintaining full reactivity. Note that as of the Summer '26 release, Complex Template Expressions remains in Beta, and Salesforce advises against enabling it in production orgs.
<!-- Before: Required getter in JS -->
<template if:true={isHighPriority}>
<span class="priority-badge">{priorityLabel}</span>
</template>
<!-- After: Direct expressions in template (Beta) -->
<template lwc:if={priority > 5}>
<span class="priority-badge">{priority > 8 ? 'Critical' : 'High'}</span>
</template>
<!-- More expression examples -->
<p>Total: {quantity * price}</p>
<p class={isActive && hasPermission ? 'enabled' : 'disabled'}>Status</p>
<span>{firstName + ' ' + lastName}</span>
LWC TypeScript Converter MCP Tool
Convert existing JavaScript-based LWC components to TypeScript using the Model Context Protocol (MCP) tool. Integrates with AI coding assistants to analyze your components and generate type-safe TypeScript versions, helping teams modernize their codebase while maintaining functionality.
MCP Tools for LWC Development
To get started with MCP tools, you have two options:
- Recommended: Use the Agentforce for Developers Extension in VS Code, which comes pre-configured with the Salesforce DX MCP Server
- Alternative: Install the Salesforce DX MCP Server separately for use with other AI clients like Cursor, Claude Code, or VS Code with Copilot
Configure MCP Server for Your AI Client
Add the following configuration to your MCP client's settings file. Replace DEFAULT_TARGET_ORG with your authorized org alias:
Claude Code / Cursor / Cline Configuration
Add to .mcp.json (Claude Code), mcp.json (Cursor), or cline_mcp_settings.json (Cline):
{
"mcpServers": {
"Salesforce DX": {
"command": "npx",
"args": [
"-y", "@salesforce/mcp",
"--orgs", "DEFAULT_TARGET_ORG",
"--toolsets", "lwc-experts,aura-experts,metadata,data",
"--allow-non-ga-tools"
]
}
}
}
VS Code Configuration
Add to .vscode/mcp.json in your project:
{
"servers": {
"Salesforce DX": {
"command": "npx",
"args": [
"-y", "@salesforce/mcp",
"--orgs", "DEFAULT_TARGET_ORG",
"--toolsets", "lwc-experts,aura-experts,metadata,data",
"--allow-non-ga-tools"
]
}
}
}
Available Toolsets
| Toolset | Purpose |
|---|---|
| lwc-experts | LWC development, testing, optimization, and TypeScript tools |
| aura-experts | Aura framework analysis and LWC migration support |
| metadata | Deploy/retrieve metadata between projects and orgs |
| data | Data management operations including SOQL queries |
| code-analysis | Static code analysis using Salesforce Code Analyzer |
| testing | Apex and agent test execution |
| all | Enables all 60+ tools across all toolsets |
Learn more in the official MCP Tools documentation and the Salesforce DX MCP GitHub repository.
Display Consistent Empty State Illustrations with Theme Support
Use new standard empty state illustrations that automatically adapt to light and dark themes. These consistent visuals improve user experience when displaying no-data scenarios like empty lists, search results, or initial states. Reduces custom illustration development while ensuring UI consistency.
Get Expanded Type Definitions for Lightning Base Components
Access expanded TypeScript type definitions covering many Lightning base components through the @salesforce/lightning-types package. LWC TypeScript support remains a Developer Preview, and the definitions enable better IDE support, compile-time error checking, and code completion, helping developers catch errors earlier and write more maintainable component code with proper typing.
Lightning Component Updates
- Update Your Custom Components for Use in Setup with Agentforce (Beta): Add AI-readable descriptions to your custom LWC and Aura components so Agentforce can understand and use them in Setup. This integration enables AI-assisted configuration using your custom components, expanding the capabilities of Setup with Agentforce.
- Check For Errors From the Disconnected DOM Node Rehydration Fix: A fix for disconnected DOM node rehydration may surface previously hidden issues in your components. Review your error logs for new rehydration-related errors and update affected components to ensure proper DOM node handling.
- Manage Page Errors with Error Console: The new Error Console provides a centralized view of errors occurring on Lightning pages. Developers and admins can quickly identify, diagnose, and resolve component errors without digging through browser developer tools or server logs.
- Do More with Lightning Out 2.0 Improvements: Lightning Out 2.0 receives enhancements for embedding Lightning components in external applications. These improvements offer better performance, expanded functionality, and improved compatibility with modern web frameworks and hosting environments.
- LWS Trusted Mode Enablement Is Discontinued: Salesforce is no longer enabling Lightning Web Security (LWS) trusted mode for orgs. If your org relies on trusted mode behavior, review your components and update them to work correctly under standard LWS security policies.
- API Distortion Changes in Lightning Web Security: LWS distortion rules have been updated, which may affect how your components access certain browser and DOM APIs. Review the specific changes to ensure your components continue to function correctly under the new distortion rules.
Lightning Design System
- Salesforce Lightning Design System Component Blueprints Updates: SLDS component blueprints have been updated with new patterns, accessibility improvements, and design refinements. Review the updated blueprints to ensure your custom components align with the latest Salesforce design standards and best practices.
- Use Dark Mode in More Editions (Beta): Dark mode support expands to additional Salesforce editions in this beta release. Users can switch to dark mode for a more comfortable viewing experience in low-light environments. Test your custom components to ensure they display correctly in both light and dark themes.
06 Apex & API
Apex Enhancements
Deploy Apex Components Faster by Running Only Relevant Tests
Significantly reduce deployment times by running only tests that cover the specific components being deployed. The platform analyzes code dependencies to identify relevant tests, eliminating unnecessary test execution. This improvement is especially impactful for large orgs with extensive test suites.
Apex Cursors enable processing of SOQL query results that are too large for a single transaction. Iterate through millions of records efficiently using cursor-based pagination. Ideal for batch operations, data migrations, and reports requiring large dataset processing.
// Process one page per transaction, then re-enqueue with the next position
public class ContactCursorJob implements Queueable {
private Database.Cursor cursor;
private Integer position;
public ContactCursorJob(Database.Cursor cursor, Integer position) {
this.cursor = cursor;
this.position = position;
}
private static final Integer PAGE_SIZE = 200; // fetch count is at most 2,000
public void execute(QueueableContext ctx) {
// Fetched rows still count against this transaction's limits
List<Contact> page = (List<Contact>) cursor.fetch(position, PAGE_SIZE);
for (Contact c : page) {
System.debug('Processing: ' + c.Name);
}
// Advance by the span requested, not by page.size(): rows deleted after the
// cursor was created can make a page shorter than PAGE_SIZE
position += PAGE_SIZE;
if (position < cursor.getNumRecords()) {
System.enqueueJob(new ContactCursorJob(cursor, position));
}
}
}
// Start the job
Database.Cursor cursor = Database.getCursor(
'SELECT Id, Name, Email FROM Contact WHERE CreatedDate = THIS_YEAR'
);
System.enqueueJob(new ContactCursorJob(cursor, 0));
Learn more in the Apex Cursors Developer Guide.
Transform your existing Apex methods into Agentforce actions with minimal code changes. REST endpoints and AuraEnabled methods can be exposed to agents, enabling AI to call your custom business logic. Leverage your existing Apex investment to power intelligent agent capabilities.
// Expose existing logic as an Agent Action: separate methods for each annotation
public class OrderService {
@AuraEnabled(cacheable=false)
public static OrderStatus getOrderStatusForUi(String orderId) {
return getStatuses(new List<String>{ orderId }).get(0);
}
@InvocableMethod(label='Get Order Status'
description='Retrieves the current status of an order')
public static List<OrderStatus> getOrderStatus(List<String> orderIds) {
return getStatuses(orderIds);
}
// One result per input, in input order
private static List<OrderStatus> getStatuses(List<String> orderIds) {
Map<Id, Order__c> orders = new Map<Id, Order__c>(
[SELECT Id, Status__c, ShipDate__c FROM Order__c WHERE Id IN :orderIds]
);
List<OrderStatus> results = new List<OrderStatus>();
for (String orderId : orderIds) {
Order__c order = orders.get(orderId);
results.add(order == null ? new OrderStatus() : new OrderStatus(order));
}
return results;
}
public class OrderStatus {
@AuraEnabled @InvocableVariable public String status;
@AuraEnabled @InvocableVariable public Date estimatedDelivery;
public OrderStatus() {}
public OrderStatus(Order__c order) {
this.status = order.Status__c;
this.estimatedDelivery = order.ShipDate__c;
}
}
}
Retrieve picklist values that are available for a specific record type programmatically. This capability enables dynamic UIs that show only valid picklist options, respecting record type configurations. Essential for building custom forms and validation logic that honor your data model.
public class PicklistHelper {
@AuraEnabled(cacheable=true)
public static ConnectApi.PicklistValuesCollection getPicklistValues(
String objectApiName,
String recordTypeId
) {
// Values for all picklist fields of this record type (API 66.0)
return ConnectApi.RecordUi.getPicklistValuesByRecordType(
objectApiName,
recordTypeId
);
}
}
Use Visualforce PDF Rendering Service with Apex Blob.toPdf()
The Blob.toPdf() method now uses the Visualforce PDF rendering service for consistent PDF generation across the platform. This release update improves reliability and ensures PDF output matches Visualforce page rendering behavior.
// Generate PDF from HTML content using Blob.toPdf()
public class PdfGenerator {
public static void generateInvoicePdf(Id accountId) {
Account acc = [SELECT Id, Name, BillingStreet, BillingCity
FROM Account WHERE Id = :accountId];
// Build HTML content for PDF
String htmlContent = '<html><head>' +
'<style>body { font-family: Arial, sans-serif; } ' +
'.header { background: #032D60; color: white; padding: 20px; } ' +
'.content { padding: 20px; }</style></head>' +
'<body><div class="header"><h1>Invoice</h1></div>' +
'<div class="content"><h2>' + acc.Name + '</h2>' +
'<p>' + acc.BillingStreet + ', ' + acc.BillingCity + '</p>' +
'</div></body></html>';
// Convert HTML to PDF using Visualforce rendering service
Blob pdfBlob = Blob.toPdf(htmlContent);
// Save as ContentVersion (File)
ContentVersion cv = new ContentVersion();
cv.Title = 'Invoice_' + acc.Name + '.pdf';
cv.PathOnClient = cv.Title;
cv.VersionData = pdfBlob;
cv.FirstPublishLocationId = accountId;
insert cv;
}
}
Additional Apex Features
- Review Apex Code for Changed Sharing Recalculation Behavior: Sharing recalculation behavior has changed in specific scenarios. Review your Apex code that depends on sharing rules to ensure correct behavior, especially code that runs with inherited sharing context or modifies record ownership.
- Filter Test Discovery API Results by Test Category: The Test Discovery API now supports filtering by test category, making it easier to organize and run specific test suites. Use categories to group related tests and improve your deployment and testing workflows.
- Specify the Number of Async Jobs to Delete: A new overloaded method lets you specify exactly how many old async jobs to purge when cleaning up. This granular control helps manage storage and maintain system performance while preserving job history as needed.
API Updates
Create named queries that expose custom SOQL through REST API endpoints without writing Apex. Define queries with parameters in Setup, then call them via REST with automatic security enforcement. Enables secure, governed data access for external integrations and mobile apps without custom code.
// Define Named Query in Setup (no code required!)
// Query Name: GetActiveOpportunities
// SOQL: SELECT Id, Name, Amount, CloseDate
// FROM Opportunity
// WHERE StageName != 'Closed Lost'
// AND OwnerId = :userId
// Call via REST API
fetch('/services/data/v66.0/named/query/GetActiveOpportunities?userId=005xx000001234ABC', {
method: 'GET',
headers: {
'Authorization': 'Bearer ' + accessToken,
'Content-Type': 'application/json'
}
})
.then(response => response.json())
.then(data => {
console.log('Opportunities:', data.records);
// Returns: [{ Id, Name, Amount, CloseDate }, ...]
});
API Changes and Retirements
| Change | Impact |
|---|---|
| Update Instanced URLs in API Traffic (Release Update) | Instanced URLs (like na1.salesforce.com) are deprecated. Update all API integrations to use your My Domain URL to ensure continued connectivity. Review your codebase and third-party integrations for hardcoded instance URLs. |
| Sending Session IDs in Outbound Messages Is Being Removed | Session IDs can no longer be sent in outbound messages. Update your external systems to authenticate using OAuth 2.0 or other supported authentication methods instead of relying on session IDs. |
| Metadata Deployments and Retrievals Have New Limits | New limits apply to metadata deployments and retrievals. Review your deployment processes and package sizes to ensure they remain within the new limits. Consider breaking large deployments into smaller chunks if needed. |
| Data 360 SOQL Query Results Are Limited to 12-MB | Data 360 SOQL queries now have a 12-MB result size limit. Optimize queries that return large result sets by adding filters, limiting fields, or using pagination to stay within the limit. |
| SOAP API login() Call Versions 31.0-64.0 Being Retired in Summer '27 | In Summer '27, the SOAP API login() call in versions 31.0 through 64.0 will no longer be supported and will be unavailable. The login() call doesn't exist in API version 65.0 and later, and it's already disabled by default in new orgs. Before Summer '27, migrate affected integrations to OAuth 2.0 flows using External Client Apps for authentication instead of username-and-password login() calls. |
| EventBusSubscriber Position and Tip Fields Deprecated | The Position and Tip fields on EventBusSubscriber are deprecated. Update any code or reports that reference these fields to use the recommended replacement fields before they are removed. |
07 Security, Identity, and Privacy
Redirections are ending for legacy host names, including instanced host names in API calls. Connected app creation is disabled by default for all Salesforce orgs.
Backup & Recover
Protect and Recover Your Data with the Backup & Recover App
Salesforce Backup & Recover is now available as a native Lightning app for comprehensive data protection. Schedule automated backups, monitor backup status, and restore individual records or entire datasets when needed. The native integration ensures seamless recovery without third-party tools, protecting against accidental deletions and data corruption.
Identity and Access Management
Creation of New Connected Apps Is Disabled by Default
Creating new Connected Apps is disabled by default in all Salesforce orgs to improve security, although, per Salesforce guidance, you request the ability to create one from Salesforce Support; new connected apps can still arrive through package installation. Existing Connected Apps continue to function normally. For new integrations, use External Client Apps, which offer enhanced security features, better OAuth support, and streamlined management. Plan your migration strategy now. Update: Winter '27 adds a Migrate to External Client App button, and Salesforce says support for connected apps ends in Summer '27. See What came next: Winter '27.
<!-- externalClientApps/MyIntegration.eca-meta.xml -->
<?xml version="1.0" encoding="UTF-8"?>
<ExternalClientApp xmlns="http://soap.sforce.com/2006/04/metadata">
<label>My Integration App</label>
<contactEmail>admin@company.com</contactEmail>
<description>Integration for external system</description>
<!-- OAuth Configuration -->
<oauthConfig>
<callbackUrl>https://myapp.com/oauth/callback</callbackUrl>
<scopes>api</scopes>
<scopes>refresh_token</scopes>
<isSecretRequired>true</isSecretRequired>
<certificate>MyCertificate</certificate>
</oauthConfig>
<!-- IP Restrictions -->
<ipRanges>
<start>192.168.1.0</start>
<end>192.168.1.255</end>
</ipRanges>
</ExternalClientApp>
Set Up Passwordless Login with Passkeys
Passwordless authentication with FIDO2-compliant passkeys, stored on users' devices or password managers, was introduced in Beta in Spring '26. Passkeys eliminate password-related security risks like phishing and credential stuffing while providing a seamless login experience. Users authenticate using biometrics or device PINs.
Configure Canvas Plugin for External Client App
Configure Canvas apps as plugins within the External Client App framework. This capability enables embedding third-party applications in Salesforce while using the modern External Client App security model. Migrate existing Canvas Connected Apps to take advantage of improved security and management features.
Domain Updates
- Update References to Legacy Host Names (Release Update): Redirections from legacy host names are ending. Update all bookmarks, integrations, and hardcoded references to use your My Domain URL. Failure to update will result in connection failures after the enforcement date.
- Replace Instanced URLs in API Traffic: API calls using instanced URLs (like na1.salesforce.com) must be updated to use My Domain URLs. Audit your integrations, middleware, and custom code to identify and replace all instanced URL references.
- Switch to a Stable Target Host Name for Your Custom Domain: Use the new stable target host name for your custom domain CNAME records. This change improves reliability by decoupling your domain from instance-specific infrastructure and simplifies future migrations.
- A Warning Was Added for Potential Custom Domain Disruption: New warnings alert admins when domain configuration changes could disrupt access. Pay attention to these warnings when modifying domain settings to avoid unintended service interruptions.
Security Health Check
- New Configurable Settings Added to Health Check: Additional security settings have been added to the Health Check tool, giving you more comprehensive visibility into your org's security posture. Review the new settings and remediate any identified risks to maintain a strong security baseline.
- Stay Secure with Proactive Health Check Notifications: Receive proactive notifications when your Security Health Check score drops or new risks are detected. These automated alerts help you stay ahead of security issues and maintain compliance without constantly monitoring the dashboard.
Additional Security Updates
- Track Attempts to Use Uninstalled Connected Apps: Monitor and track when users or integrations attempt to use connected apps that have been uninstalled from your org. This visibility helps identify potential security risks and unauthorized access attempts.
- New and Updated Security Alerts for OAuth Flows: Enhanced security alerts for OAuth flows help you monitor and respond to suspicious authentication activity. Review these alerts to quickly identify potential credential compromise or unauthorized access attempts.
- Device Activation Is Required for Single Sign-On: Users must now activate their devices when logging in via SSO from unrecognized devices. This additional verification step strengthens security by ensuring only authorized devices can access your org.
- API-Only Users Are Blocked from Bridging into UI Sessions: API-only users can no longer use frontdoor.jsp or similar mechanisms to bridge into UI sessions. This change closes a potential security gap and enforces proper separation between API and UI access.
- Migrate SAML-Enabled Connected Apps to External Client Apps: A clear migration path is now available for SAML-enabled connected apps to the External Client App framework. Follow the migration guide to transition your SAML apps and take advantage of enhanced security features.
- New LinkedIn Authentication Providers Use LinkedIn API v2: Newly created LinkedIn authentication providers automatically use LinkedIn API v2. Existing providers continue to work, but consider updating to v2 for improved functionality and continued LinkedIn support.
- Triple DES for SAML Single Sign-On Stopped Working in Summer '26: Per the release notes, SAML SSO configurations using the Triple Data Encryption Standard (Triple DES) algorithm stopped working in Summer '26, which has now shipped. This affects all SSO configurations whether Salesforce is used as an identity provider or service provider, because Triple DES uses a cryptographic key that's too short to be secure. If any configurations still reference Triple DES, update them to AES 128 or AES 256 algorithms, which offer stronger security with longer encryption keys.
08 Frequently Asked Questions
Sandbox preview began on January 9, 2026, and production rollouts completed on January 16, February 13, and February 20, 2026, depending on your instance. Pre-release Developer Edition environments were available from December 18, 2025.
Key features include Canvas View for building complex agents (now the default building experience in the new Agentforce Builder), Enhanced Chat v2 connectivity (Beta), Employee Agents (Beta), validation enhancements, knowledge source connections, and the Lightning Types MCP Tool for Einstein Development.
LWC API Version 66.0 introduces Complex Template Expressions (still in Beta as of Summer '26) for using JavaScript expressions in templates, TypeScript Converter MCP Tool (Beta), Error Console for page errors, Lightning Out 2.0 improvements, and expanded type definitions for base components (Developer Preview). The Lightning Component Library retirement is complete, and component documentation now lives in the Lightning Component Reference.
Key improvements include AI-powered draft flows (GA), Evolve Flows Iteratively with Agentforce, collapsible branching elements, Kanban Boards in Screen Flows (Beta), component-level styling overrides, inline editing in data tables, and enhanced scrolling navigation.
Creation of new Connected Apps is disabled by default starting in Spring '26, although, per Salesforce guidance, you request the ability to create one from Salesforce Support; new connected apps can still arrive through package installation. Salesforce recommends External Client Apps as the go-forward framework for new integrations. Existing Connected Apps continue to work, but plan a migration to the new framework. Update: Winter '27 adds a Migrate to External Client App button, and Salesforce says support for connected apps ends in Summer '27. See What came next: Winter '27.
Apex Cursors let you work through SOQL results that are too large to query and process in a single transaction. Create a cursor with Database.getCursor() (or Database.getCursorWithBinds()), read the total with getNumRecords(), then page through the rows with cursor.fetch(position, count). Each call returns up to 2,000 records, a transaction can make at most 100 fetch() calls, and fetched rows still count against that transaction's governor limits, so process one chunk per transaction (for example in a Queueable that re-enqueues itself with the next position). This suits batch operations and data migrations.
Use the URL format /lightning/flow/Your_Flow_Name to open a flow directly. Pass variables using query parameters like ?flow__VariableName={!Record.Field}. For multiple variables, chain with &. Control finish behavior with ?retURL=/lightning/o/Object/list. This enables direct linking from emails, external systems, or custom navigation.
Add a JSON configuration to your .mcp.json (Claude Code) or mcp.json (Cursor) file. Set "command": "npx" with args ["-y", "@salesforce/mcp", "--orgs", "YOUR_ORG_ALIAS", "--toolsets", "lwc-experts,aura-experts,metadata,data"]. For VS Code, use .vscode/mcp.json with a "servers" object. Available toolsets include lwc-experts, aura-experts, metadata, data, code-analysis, and testing.
Build an HTML string with your content and styling, then call Blob.toPdf(htmlContent) to convert it to a PDF blob. Save as a ContentVersion by setting VersionData = pdfBlob, Title, PathOnClient, and optionally FirstPublishLocationId to link it to a record. The method now uses the Visualforce PDF rendering service for consistent output.
Call ConnectApi.RecordUi.getPicklistValuesByRecordType(objectApiName, recordTypeId), new in API version 66.0. It returns a ConnectApi.PicklistValuesCollection with the values for all picklist fields of that record type, so you no longer need to walk Schema describe results.
Use the Named Query API: define your SOQL query with parameters in Setup, then call it via REST at /services/data/vXX.X/named/query/YourQueryName. Pass parameters as URL query strings. The API automatically enforces security and supports parameterized queries. This enables secure data access for integrations without custom Apex code.
In LWC templates, you can now write expressions like {quantity * price}, {priority > 5 ? 'High' : 'Normal'}, and {firstName + ' ' + lastName} directly without JavaScript getters. Use arithmetic, comparison, logical, and ternary operators. This feature, still in Beta as of Summer '26 (Salesforce advises against production use), reduces component complexity by eliminating helper functions for simple transformations.
Create a metadata file externalClientApps/YourApp.eca-meta.xml with the ExternalClientApp structure. Include label, contactEmail, description, and oauthConfig with callbackUrl, scopes (api, refresh_token), isSecretRequired, and certificate. Optionally add ipRanges for IP restrictions. External Client Apps replace Connected Apps with enhanced security features.
Add the @InvocableMethod annotation with label and description to your Apex method. Use @InvocableVariable on inner class properties for input/output parameters. @AuraEnabled cannot be combined with @InvocableMethod on one method, so for dual use put each annotation on its own method and share the logic. Return one result per input, in input order, and give the parameter class a public no-argument constructor. Agents can then call your custom business logic through these exposed actions with automatic parameter handling.
09 What came next: Winter '27
This guide stays about Spring '26. Two releases later, Winter '27 followed up on several Spring '26 topics, especially Connected Apps and External Client Apps. I covered it in four short videos. The notes below follow Salesforce's Winter '27 release notes (release 264).
Winter '27 for developers
The release notes describe Apex integration tests that "call real HTTP endpoints, including external service endpoints, without requiring mock callouts" (a developer preview for scratch orgs), and FORMULA() in a SOQL WHERE clause to compare values between fields (a beta, not available in production). The Apex heap limit rises from 6 MB to 10 MB for synchronous transactions and from 12 MB to 25 MB for asynchronous ones.
Winter '27 for admins
Collection Filter Criteria lets a flow get matching records from a collection "without using the Loop element"; Salesforce notes that filtering with loops is "a leading cause of flow performance problems." Flow Test Mode (the video title says Beta; on 9 November 2026 the Help article title reads "Generally Available") adds assertions so a saved test scenario reports pass or fail, and a Sharing Settings option can keep manual shares when a record changes owner (off by default).
Connected Apps, External Client Apps and OAuth flows
This is the follow-up to the Spring '26 change above. The Migrate All Connected Apps to External Client Apps release update says: "In Summer '27, Salesforce is ending support for connected apps. Connected apps will keep working, but Salesforce will no longer fix bugs or provide support for the integrations and authorization flows that use them." It is available from Winter '27, with a Migrate to External Client App action in App Manager. The user-agent and hybrid user-agent flow retirement is enforced on February 20, 2027.
Agentforce Builder: compare versions
Salesforce says "You can now compare two versions and merge changes from one into another in Canvas and Script view" (see Compare and merge agent versions); the current version must be a draft to apply changes. Separately, Agentforce is enabled by default in Winter '27 for orgs with Agentforce access, "at no additional cost."
10 Abbreviations & Glossary
Official Resources
This guide was compiled from the official 826-page Salesforce Spring '26 Release Notes PDF. For complete details, visit:
- Salesforce Spring '26 Release Notes - Complete official release notes
- Admin Release Countdown - Key dates and preparation tips
- Release in a Box - Enablement kit for teams
- Be Release Ready - Consolidated release resources
Related Reading
Continue your Salesforce learning journey with these related guides:
- Salesforce Security Ultimate Guide - Comprehensive guide to securing your Salesforce org with profiles, permission sets, sharing rules, and more.
- 7 Ways to Secure Experience Cloud - Best practices for securing your Salesforce Experience Cloud sites and portals.
- Apex Design Patterns - Learn essential design patterns for writing maintainable and scalable Apex code.
- Solution vs Technical Architect - Understand the key differences between these two Salesforce architect roles.
[…] Jitendra Zaa – also check the look of the article, awesome! […]