Sub topic 4
Release Updates and enforcement dates
This chapter assumes you can navigate Setup, you know the difference between a sandbox and production, and you have a working idea of Apex, Flow and Lightning customizations. You do not need to know the release calendar in detail. That is covered in the timeline chapter.
What a Release Update is
A Release Update is a Salesforce change that improves security, performance or the user experience, but could break existing customizations. Salesforce does not switch these changes on silently. It publishes them in Setup, gives you time to test, and enforces them on a stated date.
A Release Update is different from a normal release feature. A normal feature, such as a new Flow element, is usually opt-in and does nothing until you use it. A Release Update changes the behavior of something that already exists. If your code or configuration depends on the old behavior, it can fail after the change.
You find Release Updates in Setup by searching for "Release Updates" in Quick Find. The page lists each update with its status, its type and its enforcement date. You need the right permission to see and change them. Usually that means the Customize Application permission or a role your administrator sets up. Confirm who in your team has it, so that no one finds out about a deadline late.
The lifecycle of an update
Each update moves through a predictable set of stages. The exact labels in Setup can change, but the pattern stays the same.
- Announced. The update appears in Setup and in the release notes. It is not yet enforced.
- Available to test. You can turn the update on or off yourself, in a sandbox or in production, and check what breaks.
- Enforced. Salesforce turns the update on automatically for every org on the enforcement date. After this point you can no longer turn it off.
Some updates are also auto-activated at a set time, and some can be postponed. A postponement moves the enforcement date once, and often only for a limited time. Treat a postponement as extra testing time, not as a way to avoid the change.
Reading the Release Updates page
For each update, check these fields before you decide what to do.
| Field | What it tells you | Why it matters |
|---|---|---|
| Name | A short title for the change | Search release notes for the same title to find the full detail |
| Type | Critical Update, Release Update or similar category | Shows how urgent and how risky Salesforce considers the change |
| Status | Whether it is active, not active or not yet available to test | Tells you if you can test it now |
| Enforcement date | The date Salesforce turns it on for everyone | This is your hard deadline |
| Action | The button to turn on, turn off, postpone or get started | Shows what you can do now |
Open each update and read the description and the "Get Started" steps. Most include a link to the documentation or a Knowledge article that explains which features are affected and how to find them in your org.
Enforcement dates and why they matter
The enforcement date is when the choice is taken away from you. Salesforce typically aligns these dates with a major release, so an update that becomes enforced "with Summer" arrives when production receives that upgrade. Check the date against your sandbox and production upgrade weekends, because sandboxes on the preview instance may receive enforcement before production does.
This has a practical effect on testing. If you test an update only in a non-preview sandbox, the update may behave as you expect there, but be enforced earlier or in a different order in a preview sandbox. Always record two dates for each update: the date you must finish testing, and the enforcement date itself. Plan to finish testing well before the second one.
Testing an update safely
Turn the update on in a sandbox first, never in production. The usual method has four steps.
- Read the description. Note which objects, features or code patterns it affects.
- Search your org for the affected pattern. For example, if an update changes how a certain Apex method behaves, search your source code for that method. If it changes a Flow behavior, review your active Flows.
- Activate the update in a full or partial sandbox that contains realistic data and customizations.
- Run your regression tests and key user journeys. Compare the results with a baseline from before you turned the update on.
A baseline matters because you can only say an update broke something if you know the code worked before. Run the tests first, record the result, enable the update, and run them again.
The Salesforce CLI can run all local Apex tests in a sandbox where you have enabled the update:
sf apex run test \
--target-org my-preview-sandbox \
--test-level RunLocalTests \
--result-format human \
--wait 20The command runs every test in your org that is not part of a managed package and waits up to 20 minutes for the results. Run it once before you activate the update and once after. Save both outputs so you can compare failures.
Apex tests only cover code. Many Release Updates affect declarative configuration, page layouts, sharing, or what users see. For these, walk through the main user journeys by hand, or with a UI test tool, using the same profiles and permission sets your users have.
Turning updates on before enforcement
Once testing is clean, you have two options.
- Activate early in production. You control the timing, pick a quiet period, and can usually switch the update off again if something unexpected appears, as long as it has not been enforced.
- Wait for automatic enforcement. This saves effort but gives you no control over the moment of change. Everything breaks, if it breaks, at the time Salesforce chooses.
Activating early is usually the better choice for updates that affect many users. It lets you monitor for problems and revert while a revert is still possible. Keep a short record of who activated which update, when, and what testing supported the decision.
Common errors
These problems appear often in real orgs.
- Testing only in a sandbox with little data. A developer sandbox may not contain the records or configuration that trigger the problem. Use a sandbox that mirrors production for the updates with the highest risk.
- Ignoring updates marked as low risk. A low-risk label is general. Your org may depend on exactly the behavior that is changing.
- Missing managed packages. An update may break a managed package you do not control. Contact the vendor and ask whether their package is compatible, and check their release notes.
- No owner. Nobody is assigned to review the page, so the enforcement date arrives without testing.
- Forgetting integrations. External systems that call your org through an API can be affected by behavior changes. Include integration owners in your review.
- Postponing repeatedly. Postponement is allowed only once for many updates. Using it without fixing the underlying issue only delays the same failure.
A simple review routine
Run this routine at the start of each of the three yearly releases.
- Open the Release Updates page in production and in a preview sandbox.
- List every update with an enforcement date in the next two releases.
- For each one, record the owner, the risk to your org, and the test date.
- Test the highest-risk updates first, in a sandbox that mirrors production.
- Activate in production where testing passes, or postpone and open a fix task where it does not.
- Record the outcome and share a summary with admins, developers and the people who support end users.
How this connects to other chapters
Release Updates feed into your impact assessment, because each one is a concrete, dated change to weigh. They also feed the release-readiness checklist, where every unresolved update becomes a blocking item before the production upgrade. API versions, covered in a nearby chapter, are a separate mechanism. An API version change is something you choose to adopt, while an enforced Release Update is something you must prepare for.
Exercise
Your production org shows a Release Update with an enforcement date three weeks after the production upgrade weekend. You tested it only in a developer sandbox with sample data, and nothing broke. Give two reasons that this is not enough evidence, and say what you would do next.
Show answer
A developer sandbox usually lacks the realistic data, volume and configuration of production, so the problem may not appear there. Managed packages, integrations and user profiles may also be missing or different. Next, activate the update in a full or partial sandbox that mirrors production, record a regression baseline first, then run Apex tests and the key user journeys again. If they pass, activate in production at a quiet time before the enforcement date.
Exercise
Why do you record both a testing deadline and the enforcement date for each Release Update?
Show answer
The enforcement date is when Salesforce removes your ability to turn the update off, so it is the last moment anything can be changed. The testing deadline is earlier, because you need time to find problems, fix code or configuration, and retest. Without a separate testing deadline, you tend to test on the enforcement date, when a failure can no longer be handled calmly.