Next Release: changelog and version packages#393
Merged
Conversation
5f87ee3 to
67d5fdb
Compare
clavery
approved these changes
May 7, 2026
98308d9 to
310996b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@salesforce/b2c-cli@1.9.0
Minor Changes
#395
b947888- Addb2c debug clicommand for interactive terminal-based script debugging. Includes a REPL with commands for breakpoints, stepping, variable inspection, and expression evaluation. Use--rpcfor JSONL-over-stdio mode suitable for headless scripts and agents. (Thanks @clavery!)#399
6be308a- SupportassetQueryas a first-class config field. Set it indw.json(per-instance), inpackage.jsonunderb2c, or viaSFCC_ASSET_QUERYto control which JSON dot-paths are extracted as assets during content library parsing. The VS Code Content Libraries tree andb2c content exportboth honor it automatically; the--asset-queryflag still wins when provided, and the fallback remains["image.path"]. (Thanks @clavery!)#408
a26226c- Addedb2c bm userscommand topic for managing instance-level Business Manager users via the OCAPI Data API:list,get,search,whoami,update, anddelete. Also addedb2c bm users access-keys(get,create,set,delete) for provisioning and rotating WebDAV/OCAPI/SCAPI access keys for externally-managed (AM/SSO) users. The SDK now exposes a matching@salesforce/b2c-tooling-sdk/operations/bm-usersmodule. (Thanks @clavery!)#408
a26226c- Added--columnsand--extendedflags to all list and search commands for consistent column selection across the CLI. Roughly 30 commands that previously had no column-customization support — includingbm roles list,webdav ls,cap list,code list,content list,docs search,job search,logs list,sites list,slas client list, allmrtlist commands, plus severalsetupandscaffoldcommands — now accept-c id,name,...to pick columns and-xto include extended fields (e.g.webdav ls --extendedexposes the previously-hiddenmodifiedandcontentTypecolumns). (Thanks @clavery!)The SDK now exposes shared
columnFlagsFor()/selectColumns()helpers (replacing 22 duplicated implementations) and aprintFieldsBlock()helper for rendering "label / value" detail blocks.#405
b1600fa- Refresh the MRT admin API schema and add new commands: (Thanks @clavery!)b2c mrt env clone— clone an environment from an existing source, optionally copying redirects, environment variables, and B2C target infob2c mrt bundle delete— delete one or more bundles (uses bulk-delete when more than one ID is supplied)b2c mrt org member list|add|get|update|remove— manage organization-level membersb2c mrt org cert list|get|create|delete|restart-validation— manage custom domain certificates referenced by environments#328
31e136b- ODS CLI:b2c sandbox createadds--emailsfor notification addresses;b2c sandbox updateadds--start-scheduler,--stop-scheduler,--clear-start-scheduler, and--clear-stop-scheduler;b2c realm updateadds--emails,--start-scheduler,--stop-scheduler,--clear-start-scheduler, and--clear-stop-scheduler. (Thanks @charithaT07!)Sandbox API:
b2c sandbox operations listandb2c sandbox operations get(inspect lifecycle operations);b2c sandbox alias get(get one alias by ID, same endpoint asalias list --alias-id).User guide updated for scheduling flags, sandbox operations, and
b2c sandbox alias get.Patch Changes
#407
f1a4ac0- CLI cleanup and correctness fixes: (Thanks @clavery!)b2c cip query,cip describe,cip tables, andcip report *now stream output through oclif'sux.stdoutinstead of writing directly toprocess.stdout. This restores the--jsonflag and makes output capturable by tests and CI.code:watch,logs:tail,mrt:tail-logs) now deregister their SIGINT/SIGTERM handlers when finished, so re-invocations no longer stack handlers on the same process.job:runafterOperation hooks,logs:tailstop,setup:ide:prophetconsole fallbacks) now log at debug instead of disappearing.am clients|roles|users list) share a singleamPageSizeFlagdefinition.LocalSourceResultre-export.3cefda3-b2c debug --helpnow deep-links to the Debug command reference page on the docs site. (Thanks @clavery!)Updated dependencies [
b947888,6be308a,f1a4ac0,a26226c,a26226c,51aed02,b53d75e,b1600fa]:@salesforce/b2c-dx-mcp@1.1.0
Minor Changes
#395
b947888- Add script debugger MCP tools to the CARTRIDGES and STOREFRONTNEXT toolsets. Includesdebug_start_session,debug_end_session,debug_list_sessions,debug_set_breakpoints,debug_wait_for_stop,debug_get_stack,debug_get_variables,debug_evaluate,debug_continue,debug_step_over,debug_step_into,debug_step_out, anddebug_capture_at_breakpoint. (Thanks @clavery!)#395
b947888- AddServerContextfor persistent server-scoped state across MCP tool invocations. Enables stateful tools (debug sessions, log watches) while preserving per-call config reloading for existing tools. (Thanks @clavery!)Patch Changes
f1a4ac0- - Telemetry send failures are no longer silently swallowed; they now log at debug level so deployment-monitoring drift is visible behind the--debugflag. (Thanks @clavery!)registerToolsets()throws a clear error if invoked more than once for the same server instance (instead of producing a cryptic duplicate-tool error from the SDK).b947888,6be308a,f1a4ac0,a26226c,a26226c,51aed02,b53d75e,b1600fa]:@salesforce/b2c-tooling-sdk@1.9.0
Minor Changes
#395
b947888- AddresolveBreakpointPathutility that normalizes user-provided file paths to SDAPI script paths. Accepts server paths, absolute/relative local paths, and cartridge-name-prefixed paths with helpful error messages on failure. (Thanks @clavery!)#399
6be308a- SupportassetQueryas a first-class config field. Set it indw.json(per-instance), inpackage.jsonunderb2c, or viaSFCC_ASSET_QUERYto control which JSON dot-paths are extracted as assets during content library parsing. The VS Code Content Libraries tree andb2c content exportboth honor it automatically; the--asset-queryflag still wins when provided, and the fallback remains["image.path"]. (Thanks @clavery!)#408
a26226c- Addedb2c bm userscommand topic for managing instance-level Business Manager users via the OCAPI Data API:list,get,search,whoami,update, anddelete. Also addedb2c bm users access-keys(get,create,set,delete) for provisioning and rotating WebDAV/OCAPI/SCAPI access keys for externally-managed (AM/SSO) users. The SDK now exposes a matching@salesforce/b2c-tooling-sdk/operations/bm-usersmodule. (Thanks @clavery!)#408
a26226c- Added--columnsand--extendedflags to all list and search commands for consistent column selection across the CLI. Roughly 30 commands that previously had no column-customization support — includingbm roles list,webdav ls,cap list,code list,content list,docs search,job search,logs list,sites list,slas client list, allmrtlist commands, plus severalsetupandscaffoldcommands — now accept-c id,name,...to pick columns and-xto include extended fields (e.g.webdav ls --extendedexposes the previously-hiddenmodifiedandcontentTypecolumns). (Thanks @clavery!)The SDK now exposes shared
columnFlagsFor()/selectColumns()helpers (replacing 22 duplicated implementations) and aprintFieldsBlock()helper for rendering "label / value" detail blocks.#405
b1600fa- Refresh the MRT admin API schema and add new commands: (Thanks @clavery!)b2c mrt env clone— clone an environment from an existing source, optionally copying redirects, environment variables, and B2C target infob2c mrt bundle delete— delete one or more bundles (uses bulk-delete when more than one ID is supplied)b2c mrt org member list|add|get|update|remove— manage organization-level membersb2c mrt org cert list|get|create|delete|restart-validation— manage custom domain certificates referenced by environmentsPatch Changes
#407
f1a4ac0- Hardened auth and long-running operation paths: (Thanks @clavery!)auth-session.json.OAuthStrategy.getAccessToken()coalesces concurrent refreshes onto a single in-flight request, preventing token-endpoint stampedes.connect()fails after starting them.downloadCartridgesanddeployCartridgesuse try/finally around progress timers so an aborted or failing request can no longer leak intervals.@salesforce/b2c-tooling-sdk/uxexport surfaces the canonicalconfirm()prompt; CLI re-exports from here.auth/jwt-utilsconsolidates JWTexp/scopedecoding previously duplicated across three auth strategies.SFCC_OAUTH_LOCAL_PORT).#392
51aed02- Fixactive: trueonconfigs[]instances being ignored unless the root object also hasactive: false(Thanks @clavery!)b53d75e- Fixbm users searchreturning onlyloginandlinkfields. The underlying SDKsearchBmUsers()now sendsselect=(**)(matchinglistBmUsers()), so--sort-by,--columns, and the default table now work as expected. A newselectoption is also exposed for callers that want a narrower projection. (Thanks @clavery!)b2c-vs-extension@0.6.0
Minor Changes
#399
6be308a- SupportassetQueryas a first-class config field. Set it indw.json(per-instance), inpackage.jsonunderb2c, or viaSFCC_ASSET_QUERYto control which JSON dot-paths are extracted as assets during content library parsing. The VS Code Content Libraries tree andb2c content exportboth honor it automatically; the--asset-queryflag still wins when provided, and the fallback remains["image.path"]. (Thanks @clavery!)#399
6be308a- Enforce Safety Mode in the VS Code extension. Destructive operations initiated from the extension (sandbox delete/stop/restart, WebDAV writes, jobs, etc.) now honorSFCC_SAFETY_LEVEL,SFCC_SAFETY_CONFIRM,SFCC_SAFETY_CONFIG, and the per-instancesafetyblock indw.json, consistent with the CLI. Every extension command is also evaluated against command rules (e.g.{ "command": "b2c-dx.sandbox.delete", "action": "block" }), and confirmation-mode policies surface a native VS Code modal before the command runs. (Thanks @clavery!)Patch Changes
#407
f1a4ac0- VS Code extension reliability fixes: (Thanks @clavery!)postMessageafter the panel has been disposed (previously could throw on token refresh or proxy responses arriving after close).#399
6be308a- Fix Content Libraries tree not updating when switching instances. The tree previously kept libraries from the old instance; it now re-seeds from the newly active instance's configuredcontentLibraryon switch. (Thanks @clavery!)Updated dependencies [
b947888,6be308a,f1a4ac0,a26226c,a26226c,51aed02,b53d75e,b1600fa]:@salesforce/mrt-utilities@0.1.7
Patch Changes
#407
f1a4ac0- - The Lambda response adapter'spipeToDestinationnow destroys the destination stream when the underlying pipeline rejects, so consumers fail fast instead of hanging. (Thanks @clavery!)pipedDestinationscleanup is unified between the success and error paths.#398
18471af- Keep ACH header in request (Thanks @kieran-sf!)@salesforce/b2c-dx-docs@0.3.0
Minor Changes
a26226c- Replaced the BM Roles docs page with a comprehensive Business Manager reference covering allb2c bmcommands —bm roles(list/get/create/delete/grant/revoke + permissions),bm users(list/get/search/update/delete),bm whoami, andbm access-key(get/create/set/delete). The new page documents the user-auth requirement on whoami and access-key endpoints, the access-key scope enum, and common workflows like rotating your own WebDAV password. (Thanks @clavery!)Patch Changes
#395
b947888- Add debug command documentation and b2c-debug agent skill covering interactive REPL, RPC mode, and DAP usage. (Thanks @clavery!)3cefda3- Documentation audit pass: corrected mismatched flags and missing commands across the CLI reference. Highlights: (Thanks @clavery!)b2c sandbox ips,b2c mrt env var push, andb2c debug(previously omitted).mrt project get/update/deleteexamples to use the required positional slug; correctedmrt project member add/update --roleto integer values; replacedmrt env invalidate --pathwith the actual--patternflag; correctedmrt env redirect create/delete/cloneflag names; rewrotemrt user api-keyandmrt user email-prefsagainst the real flags.ecdn zones create,ecdn cache purge,ecdn security update,ecdn speed update, andecdn logpush jobs createflag tables to match source.--display-name, etc.) fromam users update.>=22.16.0across all installation guides.account-managerguide no longer recommends the unsupportedclient_secret_post; theauthenticationwarning was reframed as guidance towardclient_secret_basic.bm-roles,setup,ecdn,replications,scapi-schemas,cap,logs).#389
23205eb- Updated plugin install examples to default to user scope (Thanks @amit-kumar8-sf!)#328
31e136b- ODS CLI:b2c sandbox createadds--emailsfor notification addresses;b2c sandbox updateadds--start-scheduler,--stop-scheduler,--clear-start-scheduler, and--clear-stop-scheduler;b2c realm updateadds--emails,--start-scheduler,--stop-scheduler,--clear-start-scheduler, and--clear-stop-scheduler. (Thanks @charithaT07!)Sandbox API:
b2c sandbox operations listandb2c sandbox operations get(inspect lifecycle operations);b2c sandbox alias get(get one alias by ID, same endpoint asalias list --alias-id).User guide updated for scheduling flags, sandbox operations, and
b2c sandbox alias get.@salesforce/b2c-agent-plugins@1.3.0
Minor Changes
a26226c- Added a newb2c-bm-users-rolesskill covering allb2c bminstance commands —bm roles,bm users,bm whoami, andbm access-key. The existingb2c-amskill now defers to it for Business Manager content and stays focused on Account Manager (cross-instance) administration. (Thanks @clavery!)Patch Changes
#395
b947888- Add debug command documentation and b2c-debug agent skill covering interactive REPL, RPC mode, and DAP usage. (Thanks @clavery!)#394
5ae3691- Improve skill trigger accuracy: rewrite b2c-scapi-admin and b2c-site-import-export descriptions, merge b2c-users-roles into b2c-am, fix weak eval prompts for b2c-job (Thanks @clavery!)#405
b1600fa- Document new MRT environment clone, bundle delete, organization member, and organization certificate commands in theb2c-mrtskill. (Thanks @clavery!)