Releases: SalesforceCommerceCloud/b2c-developer-tooling
VS Code Extension 0.7.0
B2C DX VS Code Extension v0.7.0
Download the .vsix file below and install via:
code --install-extension b2c-vs-extension-0.7.0.vsix
Or in VS Code: Extensions → ⋯ → Install from VSIX...
Changelog
Minor Changes
-
#422
e4b8238- Thelibrariesconfig field now accepts{id, siteLibrary?}objects in addition to bare strings (mixed forms allowed in the same array). This lets you mark site-private libraries indw.jsonorpackage.jsonsob2c content list/content exportcan default--site-librarybased on which library you target, and the VS Code Content Libraries tree auto-loads every configured library on activation. To upgrade, optionally replace"libraries": ["RefArchSharedLibrary"]with"libraries": ["RefArchSharedLibrary", {"id": "SiteGenesis", "siteLibrary": true}]. The existing string-only form continues to work unchanged. Also addslibraries,assetQuery, andrealmto the documentedpackage.jsonallowed fields list (already supported in code). (Thanks @clavery!) -
#409
ec31234- Add anonymous usage telemetry (extension activation/deactivation lifecycle, broad feature-category usage, exceptions) to help prioritize fixes during the Developer Preview. Sending is non-blocking. Honors the newb2c-dx.telemetry.enabledsetting (defaulttrue), VS Code'stelemetry.telemetryLevel, and theSFCC_DISABLE_TELEMETRY/SF_DISABLE_TELEMETRYenvironment variables. No credentials, hostnames, or business data are collected. (Thanks @clavery!)
Patch Changes
- Updated dependencies [
e4b8238]:- @salesforce/b2c-tooling-sdk@1.10.0
Agent Plugins 1.3.1
Skills artifacts for b2c-agent-plugins v1.3.1
Version Packages — b2c-cli 1.10.0,b2c-tooling-sdk 1.10.0,b2c-dx-mcp 1.1.1,b2c-vs-extension 0.7.0,docs 0.3.1
@salesforce/b2c-cli@1.10.0
Minor Changes
- #422
e4b8238- Thelibrariesconfig field now accepts{id, siteLibrary?}objects in addition to bare strings (mixed forms allowed in the same array). This lets you mark site-private libraries indw.jsonorpackage.jsonsob2c content list/content exportcan default--site-librarybased on which library you target, and the VS Code Content Libraries tree auto-loads every configured library on activation. To upgrade, optionally replace"libraries": ["RefArchSharedLibrary"]with"libraries": ["RefArchSharedLibrary", {"id": "SiteGenesis", "siteLibrary": true}]. The existing string-only form continues to work unchanged. Also addslibraries,assetQuery, andrealmto the documentedpackage.jsonallowed fields list (already supported in code). (Thanks @clavery!)
Patch Changes
-
7b3524f-b2c slas:client:getnow displays redirect URIs and callback URIs as lists (one per line) instead of the raw pipe-delimited strings returned by the SLAS API, matching the formatting used for scopes. (Thanks @clavery!) -
Updated dependencies [
e4b8238]:- @salesforce/b2c-tooling-sdk@1.10.0
@salesforce/b2c-dx-mcp@1.1.1
Patch Changes
- Updated dependencies [
e4b8238]:- @salesforce/b2c-tooling-sdk@1.10.0
@salesforce/b2c-tooling-sdk@1.10.0
Minor Changes
- #422
e4b8238- Thelibrariesconfig field now accepts{id, siteLibrary?}objects in addition to bare strings (mixed forms allowed in the same array). This lets you mark site-private libraries indw.jsonorpackage.jsonsob2c content list/content exportcan default--site-librarybased on which library you target, and the VS Code Content Libraries tree auto-loads every configured library on activation. To upgrade, optionally replace"libraries": ["RefArchSharedLibrary"]with"libraries": ["RefArchSharedLibrary", {"id": "SiteGenesis", "siteLibrary": true}]. The existing string-only form continues to work unchanged. Also addslibraries,assetQuery, andrealmto the documentedpackage.jsonallowed fields list (already supported in code). (Thanks @clavery!)
b2c-vs-extension@0.7.0
Minor Changes
-
#422
e4b8238- Thelibrariesconfig field now accepts{id, siteLibrary?}objects in addition to bare strings (mixed forms allowed in the same array). This lets you mark site-private libraries indw.jsonorpackage.jsonsob2c content list/content exportcan default--site-librarybased on which library you target, and the VS Code Content Libraries tree auto-loads every configured library on activation. To upgrade, optionally replace"libraries": ["RefArchSharedLibrary"]with"libraries": ["RefArchSharedLibrary", {"id": "SiteGenesis", "siteLibrary": true}]. The existing string-only form continues to work unchanged. Also addslibraries,assetQuery, andrealmto the documentedpackage.jsonallowed fields list (already supported in code). (Thanks @clavery!) -
#409
ec31234- Add anonymous usage telemetry (extension activation/deactivation lifecycle, broad feature-category usage, exceptions) to help prioritize fixes during the Developer Preview. Sending is non-blocking. Honors the newb2c-dx.telemetry.enabledsetting (defaulttrue), VS Code'stelemetry.telemetryLevel, and theSFCC_DISABLE_TELEMETRY/SF_DISABLE_TELEMETRYenvironment variables. No credentials, hostnames, or business data are collected. (Thanks @clavery!)
Patch Changes
- Updated dependencies [
e4b8238]:- @salesforce/b2c-tooling-sdk@1.10.0
Documentation
Patch Changes
- #409
ec31234- Document the B2C DX VS Code Extension. New/vscode-extension/section with overview, installation (with a dynamic download link to the latest VSIX release), configuration reference, and a feature tour covering Sandbox Realm Explorer, Cartridge Code Sync, WebDAV Browser, Content Libraries, SCAPI API Browser, B2C Script Debugger, scaffold/CAP install, log tailing, and B2C CLI plugin support. (Thanks @clavery!)
Agent Skills Plugins
Patch Changes
VS Code Extension 0.6.0
B2C DX VS Code Extension v0.6.0
Download the .vsix file below and install via:
code --install-extension b2c-vs-extension-0.6.0.vsix
Or in VS Code: Extensions → ⋯ → Install from VSIX...
Changelog
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!)- Swagger API Browser webview no longer attempts
postMessageafter the panel has been disposed (previously could throw on token refresh or proxy responses arriving after close). - Sandbox tree polling no longer stacks "stop-check" timers when the configured polling interval is shorter than the 3-second stabilization window.
- Code Sync now drains pending uploads/deletes before tearing down its file watchers, so saves immediately preceding a stop are no longer dropped.
- Swagger API Browser webview no longer attempts
-
#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/b2c-tooling-sdk@1.9.0
Agent Plugins 1.3.0
Skills artifacts for b2c-agent-plugins v1.3.0
Version Packages — b2c-cli 1.9.0,b2c-tooling-sdk 1.9.0,b2c-dx-mcp 1.1.0,mrt-utilities 0.1.7,b2c-vs-extension 0.6.0,docs 0.3.0
@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.- Long-running commands (
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. - Hook and signal-handler errors that were previously swallowed (
job:runafterOperation hooks,logs:tailstop,setup:ide:prophetconsole fallbacks) now log at debug instead of disappearing. - AM list commands (
am clients|roles|users list) share a singleamPageSizeFlagdefinition. - Removed deprecated
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-tooling-sdk@1.9.0
@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
- #407
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).
- Updated dependencies [
b947888,6be308a,f1a4ac0,a26226c,a26226c,51aed02,b53d75e, [b1600fa](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/commit/b1600fa014f9bd23c93488155b37ac2cc5...
Version Packages — mrt-utilities 0.1.6
Version Packages — mrt-utilities 0.1.5,docs 0.2.22
@salesforce/mrt-utilities@0.1.5
Patch Changes
7ae80fe- Add a development-mode pseudo data-store implementation for@salesforce/mrt-utilities/data-storewith environment-variable-backed defaults, while preserving the existing public API and production behavior. (Thanks @bendvc!)
Documentation
Patch Changes
Version Packages — docs 0.2.20
VS Code Extension 0.5.0
B2C DX VS Code Extension v0.5.0
Download the .vsix file below and install via:
code --install-extension b2c-vs-extension-0.5.0.vsix
Or in VS Code: Extensions → ⋯ → Install from VSIX...
Changelog
Minor Changes
- #382
4f30de7- Add Code Sync feature: file watcher with automatic upload to instance, deploy command, cartridge tree view with download/upload/site path management, and code version management. Includes status bar toggle, per-instance state persistence, andautoUploaddw.json support. Move API Browser to separate SCAPI sidebar. (Thanks @clavery!)
Patch Changes
- Updated dependencies [
4f30de7]:- @salesforce/b2c-tooling-sdk@1.8.0