Skip to content

Releases: SalesforceCommerceCloud/b2c-developer-tooling

@salesforce/b2c-cli@0.5.0: chore: version packages (#145)

24 Feb 01:36
a13f86f

Choose a tag to compare

@salesforce/b2c-cli@0.5.0

Minor Changes

  • #155 55c81c3 - Add a new cip command topic for Commerce Intelligence platform (CCAC - Commerce Cloud Analytics) with cip query for raw SQL and curated cip report <report-name> subcommands for analytics workflows, including CIP host override support and tenant-based CIP instance targeting. (Thanks @clavery!)

  • #163 87321c0 - Add GitHub Actions for CI/CD automation: setup, run, code-deploy, mrt-deploy, job-run, and webdav-upload actions with starter workflow templates (Thanks @clavery!)

  • #151 f12984e - Add b2c setup ide prophet to generate a Prophet-compatible dw.js script from resolved CLI configuration (including plugin-resolved values), plus new IDE integration docs and setup command reference. (Thanks @clavery!)

Patch Changes

@salesforce/b2c-dx-mcp@0.4.0

Minor Changes

  • #133 1485923 - # Add new MCP tools (Thanks @yhsieh1!)
    • scapi-schemas-list: List and fetch SCAPI schemas (standard and custom)
    • scapi-custom-apis-status: Check custom API endpoint registration status
    • mrt_bundle_push: Push and deploy a pre-built Storefront Next PWA Kit project to Managed Runtime
    • cartridge_deploy: Find and deploy cartridges to a B2C Commerce instance via WebDAV
    • storefront_next_development_guidelines: Get critical architecture rules, coding standards, and best practices for Storefront Next development

Patch Changes

@salesforce/b2c-tooling-sdk@0.5.0

Minor Changes

  • #155 55c81c3 - Add a new cip command topic for Commerce Intelligence platform (CCAC - Commerce Cloud Analytics) with cip query for raw SQL and curated cip report <report-name> subcommands for analytics workflows, including CIP host override support and tenant-based CIP instance targeting. (Thanks @clavery!)

  • #163 87321c0 - --json no longer switches log output to JSONL. Logs are always human-readable on stderr; --json only controls the structured result on stdout. Use the new --jsonl flag (or SFCC_JSON_LOGS env var) to get machine-readable log lines. (Thanks @clavery!)

  • #133 1485923 - # Add new MCP tools (Thanks @yhsieh1!)

    • scapi-schemas-list: List and fetch SCAPI schemas (standard and custom)
    • scapi-custom-apis-status: Check custom API endpoint registration status
    • mrt_bundle_push: Push and deploy a pre-built Storefront Next PWA Kit project to Managed Runtime
    • cartridge_deploy: Find and deploy cartridges to a B2C Commerce instance via WebDAV
    • storefront_next_development_guidelines: Get critical architecture rules, coding standards, and best practices for Storefront Next development

Patch Changes

  • #181 556f916 - Fix --no-download flag on job export to actually skip downloading the archive from the instance (Thanks @clavery!)

@salesforce/b2c-cli@0.4.1: chore: version packages (#144)

13 Feb 14:01
1b26783

Choose a tag to compare

@salesforce/b2c-cli@0.4.1

Patch Changes

  • #143 ca9dcf0 - Fix AM role ID mapping between API internal/external formats and improve user display output. Role grant/revoke now correctly handle mixed formats (role IDs in roles array, enum names in roleTenantFilter). User display shows role descriptions, resolves org names, and detects auth errors with actionable --user-auth suggestions. Commands accepting org IDs now also accept friendly org names. (Thanks @clavery!)

  • Updated dependencies [ca9dcf0]:

    • @salesforce/b2c-tooling-sdk@0.4.1

@salesforce/b2c-dx-mcp@0.3.2

Patch Changes

  • Updated dependencies [ca9dcf0]:
    • @salesforce/b2c-tooling-sdk@0.4.1

@salesforce/b2c-tooling-sdk@0.4.1

Patch Changes

  • #143 ca9dcf0 - Fix AM role ID mapping between API internal/external formats and improve user display output. Role grant/revoke now correctly handle mixed formats (role IDs in roles array, enum names in roleTenantFilter). User display shows role descriptions, resolves org names, and detects auth errors with actionable --user-auth suggestions. Commands accepting org IDs now also accept friendly org names. (Thanks @clavery!)

@salesforce/b2c-cli@0.4.0

13 Feb 00:08
eeee3ad

Choose a tag to compare

@salesforce/b2c-cli@0.4.0

  • #117 59fe546 - Add content export and content list commands for exporting Page Designer pages with components and static assets from content libraries. Supports filtering by page ID (exact or regex), folder classification, offline mode, and dry-run preview. (Thanks @clavery!)

  • 44b67f0 - Embed a default public client ID for implicit OAuth flows. Account Manager, Sandbox, and SLAS commands now work without requiring a pre-configured client ID — the CLI will automatically use a built-in public client for browser-based authentication. (Thanks @clavery!)

  • #98 91593f2 - Add setup instance commands for managing B2C Commerce instance configurations (create, list, remove, set-active). (Thanks @clavery!)

  • #125 0d29262 - Add mrt tail-logs command to stream real-time application logs from Managed Runtime environments. Supports level filtering, regex search with match highlighting, and JSON output. (Thanks @clavery!)

  • #113 0a6b8c8 - Rename ods topic to sandbox (with ods alias for backward compatibility). Add --permissions-client-id, --ocapi-settings, --webdav-settings, --start-scheduler, and --stop-scheduler flags to sandbox create. (Thanks @clavery!)

  • #102 8592727 - Add scaffolding framework for generating B2C Commerce components from templates. Includes 7 built-in scaffolds (cartridge, controller, hook, service, custom-api, job-step, page-designer-component) and support for custom project/user scaffolds. SDK provides programmatic API for IDE integrations and MCP servers. (Thanks @clavery!)

  • #120 908be47 - Add --user-auth flag for simplified browser-based authentication. AM commands now use standard auth method order; enhanced error messages provide role-specific guidance for Account Manager operations. (Thanks @clavery!)

  • e116ce4 - Add update notifications that warn users when a newer version of the CLI is available (Thanks @clavery!)

  • #63 1a3117c - Account Manager (AM) topic with users, roles, and orgs subtopics. Use b2c am users, b2c am roles, and b2c am orgs for user, role, and organization management. (Thanks @amit-kumar8-sf!)

  • f879d99 - Rename setup config to setup inspect to better reflect its read-only purpose. setup config continues to work as an alias. (Thanks @clavery!)

  • #138 631ec23 - slas client list now returns an empty list instead of erroring when the SLAS tenant doesn't exist yet. (Thanks @clavery!)

  • Updated dependencies [1a3117c, 7a3015f, 59fe546, 44b67f0, 91593f2, 0d29262, 33dbd2f, 33dbd2f, 8592727, 908be47]:

    • @salesforce/b2c-tooling-sdk@0.4.0

@salesforce/b2c-dx-mcp@0.3.1

Patch Changes

@salesforce/b2c-tooling-sdk@0.4.0

Minor Changes

  • #117 59fe546 - Add content export and content list commands for exporting Page Designer pages with components and static assets from content libraries. Supports filtering by page ID (exact or regex), folder classification, offline mode, and dry-run preview. (Thanks @clavery!)

  • 44b67f0 - Embed a default public client ID for implicit OAuth flows. Account Manager, Sandbox, and SLAS commands now work without requiring a pre-configured client ID — the CLI will automatically use a built-in public client for browser-based authentication. (Thanks @clavery!)

  • #98 91593f2 - Add setup instance commands for managing B2C Commerce instance configurations (create, list, remove, set-active). (Thanks @clavery!)

  • #125 0d29262 - Add mrt tail-logs command to stream real-time application logs from Managed Runtime environments. Supports level filtering, regex search with match highlighting, and JSON output. (Thanks @clavery!)

  • #112 33dbd2f - Accept both camelCase and kebab-case for all field names in dw.json and package.json b2c config. For example, clientId and client-id are now equivalent everywhere. Legacy aliases like server, passphrase, and selfsigned continue to work. (Thanks @clavery!)

  • #102 [8592727](8592727...

Read more

v0.3.0

30 Jan 02:00
6ebba3c

Choose a tag to compare

@salesforce/b2c-cli

Minor Changes

  • d772003 Thanks @clavery! - consistent command doc structure; better auth page; online links in examples for all topics/cmds

  • #83 ddee52e Thanks @clavery! - Add support for realm-instance format in ODS commands. You can now use zzzv-123 or zzzv_123 instead of full UUIDs for ods get, ods start, ods stop, ods restart, and ods delete commands.

  • #77 6859880 Thanks @clavery! - Add log tailing, listing, and retrieval commands for viewing B2C Commerce instance logs. See b2c logs topic.

  • #94 c34103b Thanks @clavery! - Add two-factor client certificate (mTLS) support for WebDAV operations

Patch Changes

  • d772003 Thanks @clavery! - bugfix code deploy to not require oauth unless needed

  • d772003 Thanks @clavery! - mrt bundle commands now relay warnings from the bundle such as out of date node versions

  • Updated dependencies [ddee52e, 6859880, 6b89ed6, c34103b]:

    • @salesforce/b2c-tooling-sdk@0.3.0

@salesforce/b2c-dx-mcp

Patch Changes

@salesforce/b2c-tooling-sdk

Minor Changes

  • #83 ddee52e Thanks @clavery! - Add support for realm-instance format in ODS commands. You can now use zzzv-123 or zzzv_123 instead of full UUIDs for ods get, ods start, ods stop, ods restart, and ods delete commands.

  • #77 6859880 Thanks @clavery! - Add log tailing, listing, and retrieval commands for viewing B2C Commerce instance logs. See b2c logs topic.

  • #85 6b89ed6 Thanks @clavery! - Surface config source errors as warnings. When a config source (like dw.json) has malformed content, the error is now displayed as a warning instead of being silently ignored.

  • #94 c34103b Thanks @clavery! - Add two-factor client certificate (mTLS) support for WebDAV operations

v0.2.1

26 Jan 17:16
3644de3

Choose a tag to compare

@salesforce/b2c-cli

Patch Changes

  • 4e90f16 Thanks @clavery! - dw.json format bug fix

  • Updated dependencies [4e90f16]:

    • @salesforce/b2c-tooling-sdk@0.2.1

@salesforce/b2c-dx-mcp

Patch Changes

  • Updated dependencies [4e90f16]:
    • @salesforce/b2c-tooling-sdk@0.2.1

@salesforce/b2c-tooling-sdk

Patch Changes

v0.2.0 - Developer Preview

22 Jan 21:11
15993d6

Choose a tag to compare

Initial developer preview release

@salesforce/b2c-cli

Minor Changes

  • #62 269de20 Thanks @clavery! - Add setup config command to display resolved configuration with source tracking.

    Shows all configuration values organized by category (Instance, Authentication, SCAPI, MRT) and indicates which source file or environment variable provided each value. Sensitive values are masked by default; use --unmask to reveal them.

  • #59 253c1e9 Thanks @clavery! - Reorganizes MRT commands by scope: project-level commands under mrt project, environment-level under mrt env, and deployment commands under mrt bundle. The mrt bundle download command now downloads files by default instead of just printing the URL.

  • #59 253c1e9 Thanks @clavery! - Adds complete MRT CLI coverage organized by scope: mrt project (CRUD, members, notifications), mrt env (CRUD, variables, redirects, access-control, cache invalidation, B2C connections), mrt bundle (deploy, list, history, download), mrt org (list, B2C instances), and mrt user (profile, API key, email preferences).

  • #59 253c1e9 Thanks @clavery! - Replaces mrt push with mrt bundle deploy. The new command supports both pushing local builds and deploying existing bundles by ID.

  • e0d652a Thanks @clavery! - Add b2c setup skills command for installing agent skills to AI-powered IDEs (Claude Code, Cursor, Windsurf, VS Code/Copilot, Codex, OpenCode)

  • 11a6887 Thanks @clavery! - Add b2c ecdn commands for managing eCDN zones, certificates, WAF, caching, security settings, and related configurations.

Patch Changes

  • 97f4b68 Thanks @clavery! - code deploy archive deletion is not a hard error

  • #64 c35f3a7 Thanks @clavery! - Fix HTML response bodies appearing in ERROR log lines. When API requests fail with non-JSON responses (like HTML error pages), error messages now show the HTTP status code (e.g., "HTTP 521 Web Server Is Down") instead of serializing the entire response body.

    Added getApiErrorMessage(error, response) utility that extracts clean error messages from ODS, OCAPI, and SCAPI error patterns with HTTP status fallback.

  • Updated dependencies [c35f3a7, 253c1e9, e0d652a, 11a6887, a14c741]:

    • @salesforce/b2c-tooling-sdk@0.2.0

@salesforce/b2c-dx-mcp

Patch Changes

@salesforce/b2c-tooling-sdk

Minor Changes

  • #59 253c1e9 Thanks @clavery! - Adds complete MRT CLI coverage organized by scope: mrt project (CRUD, members, notifications), mrt env (CRUD, variables, redirects, access-control, cache invalidation, B2C connections), mrt bundle (deploy, list, history, download), mrt org (list, B2C instances), and mrt user (profile, API key, email preferences).

  • e0d652a Thanks @clavery! - Add b2c setup skills command for installing agent skills to AI-powered IDEs (Claude Code, Cursor, Windsurf, VS Code/Copilot, Codex, OpenCode)

  • 11a6887 Thanks @clavery! - Add b2c ecdn commands for managing eCDN zones, certificates, WAF, caching, security settings, and related configurations.

  • #66 a14c741 Thanks @clavery! - Add User-Agent header to all HTTP requests. Sets both User-Agent and sfdc_user_agent headers with the SDK or CLI version (e.g., b2c-cli/0.1.0 or b2c-tooling-sdk/0.1.0).

Patch Changes

  • #64 c35f3a7 Thanks @clavery! - Fix HTML response bodies appearing in ERROR log lines. When API requests fail with non-JSON responses (like HTML error pages), error messages now show the HTTP status code (e.g., "HTTP 521 Web Server Is Down") instead of serializing the entire response body.

    Added getApiErrorMessage(error, response) utility that extracts clean error messages from ODS, OCAPI, and SCAPI error patterns with HTTP status fallback.

What's Changed

  • Claude marketplace skeleton and preview release build by @clavery in #22
  • W-20683414 ODS Lifecycle E2E tests by @charithaT07 in #23
  • Added end to end test workflow by @charithaT07 in #25
  • Add Claude Code skills for CLI commands and improve webdav get by @clavery in #24
  • Testing the workflow added for end to end tests by @charithaT07 in #28
  • Add E2E shell tests with SLAS auto-tenant creation and job body support by @clavery in #27
  • Add Claude Code developer skills for project contributors by @clavery in #26
  • @W-20591366 Add Tool Adapter Layer for MCP Tools by @yhsieh1 in #29
  • Add Custom APIs endpoint status command and SDK support by @clavery in #33
  • @W-20683422 increasing unit test coverage for ODS by @charithaT07 in #32
  • Unified Configuration System with Plugin Extensibility Hooks by @clavery in #30
  • Remove B2CInstance.fromEnvironment() in favor of resolveConfig() by @clavery in #37
  • Add B2C Commerce agent skills and docs commands by @clavery in #34
  • Fix SLAS client update and add open command by @clavery in #43
  • Add unit tests for B2C Tooling SDK by @amit-kumar8-sf in #38
  • W-20878414 SDK unit tests for auth, clients and operations by @charithaT07 in #40
  • Fix linting warnings and test configuration issues by @clavery in ht...
Read more

v0.1.0

19 Jan 05:26
56f7d38

Choose a tag to compare

@salesforce/b2c-cli

Minor Changes

Patch Changes

  • Updated dependencies [bf0b8bb]:
    • @salesforce/b2c-tooling-sdk@0.1.0

@salesforce/b2c-dx-mcp

Patch Changes

  • Updated dependencies [bf0b8bb]:
    • @salesforce/b2c-tooling-sdk@0.1.0

@salesforce/b2c-tooling-sdk

Minor Changes

Full Changelog

What's Changed

  • Claude marketplace skeleton and preview release build by @clavery in #22
  • W-20683414 ODS Lifecycle E2E tests by @charithaT07 in #23
  • Added end to end test workflow by @charithaT07 in #25
  • Add Claude Code skills for CLI commands and improve webdav get by @clavery in #24
  • Testing the workflow added for end to end tests by @charithaT07 in #28
  • Add E2E shell tests with SLAS auto-tenant creation and job body support by @clavery in #27
  • Add Claude Code developer skills for project contributors by @clavery in #26
  • @W-20591366 Add Tool Adapter Layer for MCP Tools by @yhsieh1 in #29
  • Add Custom APIs endpoint status command and SDK support by @clavery in #33
  • @W-20683422 increasing unit test coverage for ODS by @charithaT07 in #32
  • Unified Configuration System with Plugin Extensibility Hooks by @clavery in #30
  • Remove B2CInstance.fromEnvironment() in favor of resolveConfig() by @clavery in #37
  • Add B2C Commerce agent skills and docs commands by @clavery in #34
  • Fix SLAS client update and add open command by @clavery in #43
  • Add unit tests for B2C Tooling SDK by @amit-kumar8-sf in #38
  • W-20878414 SDK unit tests for auth, clients and operations by @charithaT07 in #40
  • Fix linting warnings and test configuration issues by @clavery in #44
  • @W-20591323 workspace type auto-discovery by @yhsieh1 in #42
  • Add --extra-headers flag and env var support for HTTP requests by @clavery in #52
  • Fix logging middleware body reading and register extra params globally by @clavery in #53
  • Fix test isolation, fast polling, and cleanup of command tests by @clavery in #51
  • Refactor ConfigSource API for better encapsulation by @clavery in #54
  • Add changesets and npm publish workflows with OIDC trusted publishers by @clavery in #39
  • @W-20783316 Add SCAPI Schemas commands for browsing and retrieving API specifications by @clavery in #49
  • Next Release: changelog and version packages by @github-actions[bot] in #56

New Contributors

Full Changelog: v0.0.1-preview.1...v0.1.0

v0.0.1-preview.8

14 Jan 20:34
89600c1

Choose a tag to compare

v0.0.1-preview.8 Pre-release
Pre-release

Preview Release v0.0.1-preview.8

Installation

Download the tgz file and install:

npm install ./salesforce-b2c-cli-0.0.1-preview.8.tgz

Or install globally:

npm install -g ./salesforce-b2c-cli-0.0.1-preview.8.tgz

Note: The SDK is bundled in the CLI package.

What's Changed

  • W-20683414 ODS Lifecycle E2E tests by @charithaT07 in #23
  • Added end to end test workflow by @charithaT07 in #25
  • Add Claude Code skills for CLI commands and improve webdav get by @clavery in #24
  • Testing the workflow added for end to end tests by @charithaT07 in #28
  • Add E2E shell tests with SLAS auto-tenant creation and job body support by @clavery in #27
  • Add Claude Code developer skills for project contributors by @clavery in #26
  • @W-20591366 Add Tool Adapter Layer for MCP Tools by @yhsieh1 in #29
  • Add Custom APIs endpoint status command and SDK support by @clavery in #33
  • @W-20683422 increasing unit test coverage for ODS by @charithaT07 in #32
  • Unified Configuration System with Plugin Extensibility Hooks by @clavery in #30
  • Remove B2CInstance.fromEnvironment() in favor of resolveConfig() by @clavery in #37
  • Add B2C Commerce agent skills and docs commands by @clavery in #34
  • Fix SLAS client update and add open command by @clavery in #43
  • Add unit tests for B2C Tooling SDK by @amit-kumar8-sf in #38
  • W-20878414 SDK unit tests for auth, clients and operations by @charithaT07 in #40
  • Fix linting warnings and test configuration issues by @clavery in #44

New Contributors

Full Changelog: v0.0.1-preview.7...v0.0.1-preview.8

v0.0.1-preview.7

06 Jan 03:01
cd83263

Choose a tag to compare

v0.0.1-preview.7 Pre-release
Pre-release

Preview Release v0.0.1-preview.7

Installation

Download the tgz file and install:

npm install ./salesforce-b2c-cli-0.0.1-preview.7.tgz

Or install globally:

npm install -g ./salesforce-b2c-cli-0.0.1-preview.7.tgz

Note: The SDK is bundled in the CLI package.

Full Changelog: v0.0.1-preview.6...v0.0.1-preview.7

v0.0.1-preview.6

06 Jan 02:55
a1e6589

Choose a tag to compare

v0.0.1-preview.6 Pre-release
Pre-release

Preview Release v0.0.1-preview.6

Installation

Download the tgz file and install:

npm install ./salesforce-b2c-cli-0.0.1-preview.6.tgz

Or install globally:

npm install -g ./salesforce-b2c-cli-0.0.1-preview.6.tgz

Note: The SDK is bundled in the CLI package.

Full Changelog: v0.0.1-preview.5...v0.0.1-preview.6