From 51e12e8d94ece6749e33307a0888f8e39667e19d Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:12:18 -0800 Subject: [PATCH 1/6] Update README.md --- releasenotes/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/releasenotes/README.md b/releasenotes/README.md index a720f9cce..8368c4818 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -25,12 +25,14 @@ Additional documentation: * [Salesforce CLI Plugin Developer Guide](https://github.com/salesforcecli/cli/wiki/Quick-Introduction-to-Developing-sf-Plugins) * [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm) -## 2.125.1 (March 4, 2026) [stable-rc] +## 2.126.1 (March 11, 2026) [stable-rc] These changes are in the Salesforce CLI release candidate. We plan to include these changes in next week's official release. This list isn't final and is subject to change. ------------ +## 2.125.1 (March 4, 2026) [stable] + * NEW: When generating an authoring bundle with the `agent generate authoring-bundle` Agentforce DX command, use the `--force-overwrite` flag to overwrite the existing authoring bundle if one with the same API name already exists locally. For example: ```bash @@ -38,7 +40,7 @@ These changes are in the Salesforce CLI release candidate. We plan to include th ``` (plugin-agent PR [#327](https://github.com/salesforcecli/plugin-agent/pull/327)) -## 2.124.7 (Feb 25, 2026) [stable] +## 2.124.7 (Feb 25, 2026) * NEW: Generate an Experience Cloud site in your DX project with the new `template generate digital-experience site` command. After you pass the command the name of a template (currently only `BuildYourOwnLWR`), the new site name, and an URL path prefix, all the required metadata files are created locally. The metadata files correspond to metadata components such as DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite. From aeb15131dbdfb7607326ca2070b25ec19b437354 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:27:55 -0800 Subject: [PATCH 2/6] Update README.md --- releasenotes/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releasenotes/README.md b/releasenotes/README.md index 8368c4818..6356c5bb0 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -31,6 +31,8 @@ These changes are in the Salesforce CLI release candidate. We plan to include th ------------ +* FIX: Salesforce CLI is now better able to recognize the shell that it's being run from. (oclif GitHub Issue [#1538](https://github.com/oclif/core/issues/1538), oclif core PR [#1548](https://github.com/oclif/core/pull/1548)) + ## 2.125.1 (March 4, 2026) [stable] * NEW: When generating an authoring bundle with the `agent generate authoring-bundle` Agentforce DX command, use the `--force-overwrite` flag to overwrite the existing authoring bundle if one with the same API name already exists locally. For example: From 57846208520f4641b582942e4aca6fec68a473b2 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Tue, 3 Mar 2026 12:38:18 -0800 Subject: [PATCH 3/6] Update README.md --- releasenotes/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/releasenotes/README.md b/releasenotes/README.md index 6356c5bb0..e7f8814b3 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -31,6 +31,10 @@ These changes are in the Salesforce CLI release candidate. We plan to include th ------------ +* CHANGE: If you specify the `--json` flag for an interactive Agentforce DX command, but you don't also specify values for all the required flags, then the command now correctly stops executing and displays an error. By "interactive", we mean commands that prompt you for values if you don't provide one for a required flag. + + For example, the `--name` flag is required for `agent generate authoring-bundle`. If you don't provide it (and also don't provide `--json`), then the command prompts you for a name for the new authoring bundle. However, if you specify `--json` but not `--name`, then the command fails with an error. (plugin-agent PR [#336](https://github.com/salesforcecli/plugin-agent/pull/336)) + * FIX: Salesforce CLI is now better able to recognize the shell that it's being run from. (oclif GitHub Issue [#1538](https://github.com/oclif/core/issues/1538), oclif core PR [#1548](https://github.com/oclif/core/pull/1548)) ## 2.125.1 (March 4, 2026) [stable] From d7463415a95feb0c7a2b58ac1642049f6b4de331 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Tue, 3 Mar 2026 17:12:50 -0800 Subject: [PATCH 4/6] Update README.md --- releasenotes/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/releasenotes/README.md b/releasenotes/README.md index e7f8814b3..4bb4f9953 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -31,11 +31,16 @@ These changes are in the Salesforce CLI release candidate. We plan to include th ------------ -* CHANGE: If you specify the `--json` flag for an interactive Agentforce DX command, but you don't also specify values for all the required flags, then the command now correctly stops executing and displays an error. By "interactive", we mean commands that prompt you for values if you don't provide one for a required flag. +* CHANGE: If you specify the `--json` flag for an interactive Agentforce DX command, but not a required flag, the command now correctly stops executing and displays an error. By "interactive", we mean commands that prompt you for values if you don't explicitly specify a required flag. - For example, the `--name` flag is required for `agent generate authoring-bundle`. If you don't provide it (and also don't provide `--json`), then the command prompts you for a name for the new authoring bundle. However, if you specify `--json` but not `--name`, then the command fails with an error. (plugin-agent PR [#336](https://github.com/salesforcecli/plugin-agent/pull/336)) + For example, the `--name` flag is required for `agent generate authoring-bundle`. -* FIX: Salesforce CLI is now better able to recognize the shell that it's being run from. (oclif GitHub Issue [#1538](https://github.com/oclif/core/issues/1538), oclif core PR [#1548](https://github.com/oclif/core/pull/1548)) + * If you run `sf agent generate authoring-bundle`, then you're prompted for the name of the authoring bundle. + * If you run `sf agent generate authoring-bundle --json`, then the command returns an error because in this case you must specify `--name`. + + (plugin-agent PR [#336](https://github.com/salesforcecli/plugin-agent/pull/336)) + +* FIX: We fixed an issue in how Salesforce CLI recognizes the shell that it's being run from. (oclif GitHub Issue [#1538](https://github.com/oclif/core/issues/1538), oclif core PR [#1548](https://github.com/oclif/core/pull/1548)) ## 2.125.1 (March 4, 2026) [stable] From 148df234cf045c7264e8dec33fbf5db9e8e3c590 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Tue, 3 Mar 2026 17:14:39 -0800 Subject: [PATCH 5/6] Update README.md --- releasenotes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasenotes/README.md b/releasenotes/README.md index 4bb4f9953..3c292fbd1 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -31,7 +31,7 @@ These changes are in the Salesforce CLI release candidate. We plan to include th ------------ -* CHANGE: If you specify the `--json` flag for an interactive Agentforce DX command, but not a required flag, the command now correctly stops executing and displays an error. By "interactive", we mean commands that prompt you for values if you don't explicitly specify a required flag. +* CHANGE: If you specify the `--json` flag for an interactive Agentforce DX command, but not a required flag, the command now correctly stops executing and displays an error. In this context, "interactive" refers to a command that prompts you for values if you don't explicitly specify a required flag. For example, the `--name` flag is required for `agent generate authoring-bundle`. From aa405597807db7b6f7edfacf65ee5acc80b71a06 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Wed, 4 Mar 2026 07:59:40 -0800 Subject: [PATCH 6/6] Update README.md --- releasenotes/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/releasenotes/README.md b/releasenotes/README.md index 3c292fbd1..f9121c8bc 100644 --- a/releasenotes/README.md +++ b/releasenotes/README.md @@ -31,6 +31,10 @@ These changes are in the Salesforce CLI release candidate. We plan to include th ------------ +* NEW: The `dev generate flag` command now supports generating flags for commands that use the `src/commands/hello/world/index.ts` file layout in the plugin repo, in addition to `src/commands/hello/world.ts`. The command now also tries to find an existing messages file for adding the new flag's help text. + + Many thanks to [AndrewLPetersonSF](https://github.com/AndrewLPetersonSF) for contributing this useful feature! (plugin-dev PR #533) + * CHANGE: If you specify the `--json` flag for an interactive Agentforce DX command, but not a required flag, the command now correctly stops executing and displays an error. In this context, "interactive" refers to a command that prompts you for values if you don't explicitly specify a required flag. For example, the `--name` flag is required for `agent generate authoring-bundle`.