From 8089db34c25f688c32a89a84215ba4bb36015e7c Mon Sep 17 00:00:00 2001 From: Steve Hetzel Date: Thu, 14 May 2026 08:58:14 -0600 Subject: [PATCH 1/3] Add agent preview/publish JWT fix to 2.135.7 release notes Co-Authored-By: Claude Opus 4.7 --- releasenotes/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releasenotes/README.md b/releasenotes/README.md index ccb89462c..bde23686b 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -79,6 +79,8 @@ These changes are in the Salesforce CLI release candidate. We plan to include th * FIX: We are now correctly digitally signing all downloadable Salesforce CLI packages and executables. (GitHub Issue [#3547](https://github.com/forcedotcom/cli/issues/3547)) +* FIX: (Agentforce DX) The `agent preview` and `agent publish` commands no longer fail with JWT token errors when calling their associated APIs. The fix isolates JWT connections used for Salesforce AI Platform APIs from standard connections used for org operations, which prevents token clobbering during connection refresh. (plugin-agent PR [#421](https://github.com/salesforcecli/plugin-agent/pull/421), agents PR [#278](https://github.com/forcedotcom/agents/pull/278)) + ## 2.134.6 (May 13, 2026) [stable] * NEW: Successfully run Apex tests in a scratch org that send emails to users with unverified email domains by setting the `EmailAuthorizationSettings.enableSubstituteFromAddress` field to `true` in your scratch org definition file. With this scratch org feature you can work around the [new Salesforce requirement](https://help.salesforce.com/s/articleView?id=005316090&type=1) that emails sent from Salesforce must have verified email domains. Here's an example of including this setting in a scratch org definition file. From 7388c6313340dfea274caa3946eeb8d927ed115c Mon Sep 17 00:00:00 2001 From: Steve Hetzel Date: Thu, 14 May 2026 09:08:20 -0600 Subject: [PATCH 2/3] chore: less details in the release note --- releasenotes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasenotes/README.md b/releasenotes/README.md index bde23686b..c3ec31c39 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -79,7 +79,7 @@ These changes are in the Salesforce CLI release candidate. We plan to include th * FIX: We are now correctly digitally signing all downloadable Salesforce CLI packages and executables. (GitHub Issue [#3547](https://github.com/forcedotcom/cli/issues/3547)) -* FIX: (Agentforce DX) The `agent preview` and `agent publish` commands no longer fail with JWT token errors when calling their associated APIs. The fix isolates JWT connections used for Salesforce AI Platform APIs from standard connections used for org operations, which prevents token clobbering during connection refresh. (plugin-agent PR [#421](https://github.com/salesforcecli/plugin-agent/pull/421), agents PR [#278](https://github.com/forcedotcom/agents/pull/278)) +* FIX: (Agentforce DX) The `agent preview` and `agent publish` commands no longer fail with HTTP 404 errors when user permissions are correct. The fix isolates connections used when calling server APIs, preventing token clobbering during connection refreshes. (plugin-agent PR [#421](https://github.com/salesforcecli/plugin-agent/pull/421), agents PR [#278](https://github.com/forcedotcom/agents/pull/278)) ## 2.134.6 (May 13, 2026) [stable] From be5847a5271c0b5a2983324cc4a249579ace9094 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Thu, 14 May 2026 08:22:51 -0700 Subject: [PATCH 3/3] Fix command descriptions in release notes Updated the description of the 'agent preview' and 'agent publish' commands to include 'authoring-bundle'. --- releasenotes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasenotes/README.md b/releasenotes/README.md index c3ec31c39..c1a470fb6 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -79,7 +79,7 @@ These changes are in the Salesforce CLI release candidate. We plan to include th * FIX: We are now correctly digitally signing all downloadable Salesforce CLI packages and executables. (GitHub Issue [#3547](https://github.com/forcedotcom/cli/issues/3547)) -* FIX: (Agentforce DX) The `agent preview` and `agent publish` commands no longer fail with HTTP 404 errors when user permissions are correct. The fix isolates connections used when calling server APIs, preventing token clobbering during connection refreshes. (plugin-agent PR [#421](https://github.com/salesforcecli/plugin-agent/pull/421), agents PR [#278](https://github.com/forcedotcom/agents/pull/278)) +* FIX: (Agentforce DX) The `agent preview` and `agent publish authoring-bundle` commands no longer fail with HTTP 404 errors when user permissions are correct. The fix isolates connections used when calling server APIs, preventing token clobbering during connection refreshes. (plugin-agent PR [#421](https://github.com/salesforcecli/plugin-agent/pull/421), agents PR [#278](https://github.com/forcedotcom/agents/pull/278)) ## 2.134.6 (May 13, 2026) [stable]