Releases: SalesforceCommerceCloud/b2c-developer-tooling
@salesforce/b2c-cli@0.5.0: chore: version packages (#145)
@salesforce/b2c-cli@0.5.0
Minor Changes
-
#155
55c81c3- Add a newcipcommand topic for Commerce Intelligence platform (CCAC - Commerce Cloud Analytics) withcip queryfor raw SQL and curatedcip 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- Addb2c setup ide prophetto generate a Prophet-compatibledw.jsscript from resolved CLI configuration (including plugin-resolved values), plus new IDE integration docs and setup command reference. (Thanks @clavery!)
Patch Changes
-
#181
556f916- Fix--no-downloadflag onjob exportto actually skip downloading the archive from the instance (Thanks @clavery!) -
Updated dependencies [
55c81c3,87321c0,556f916,1485923]:- @salesforce/b2c-tooling-sdk@0.5.0
@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 statusmrt_bundle_push: Push and deploy a pre-built Storefront Next PWA Kit project to Managed Runtimecartridge_deploy: Find and deploy cartridges to a B2C Commerce instance via WebDAVstorefront_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 newcipcommand topic for Commerce Intelligence platform (CCAC - Commerce Cloud Analytics) withcip queryfor raw SQL and curatedcip report <report-name>subcommands for analytics workflows, including CIP host override support and tenant-based CIP instance targeting. (Thanks @clavery!) -
#163
87321c0---jsonno longer switches log output to JSONL. Logs are always human-readable on stderr;--jsononly controls the structured result on stdout. Use the new--jsonlflag (orSFCC_JSON_LOGSenv 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 statusmrt_bundle_push: Push and deploy a pre-built Storefront Next PWA Kit project to Managed Runtimecartridge_deploy: Find and deploy cartridges to a B2C Commerce instance via WebDAVstorefront_next_development_guidelines: Get critical architecture rules, coding standards, and best practices for Storefront Next development
Patch Changes
@salesforce/b2c-cli@0.4.1: chore: version packages (#144)
@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
@salesforce/b2c-cli@0.4.0
-
#117
59fe546- Addcontent exportandcontent listcommands 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- Addsetup instancecommands for managing B2C Commerce instance configurations (create, list, remove, set-active). (Thanks @clavery!) -
#125
0d29262- Addmrt tail-logscommand 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- Renameodstopic tosandbox(withodsalias for backward compatibility). Add--permissions-client-id,--ocapi-settings,--webdav-settings,--start-scheduler, and--stop-schedulerflags tosandbox 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-authflag 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 withusers,roles, andorgssubtopics. Useb2c am users,b2c am roles, andb2c am orgsfor user, role, and organization management. (Thanks @amit-kumar8-sf!) -
f879d99- Renamesetup configtosetup inspectto better reflect its read-only purpose.setup configcontinues to work as an alias. (Thanks @clavery!) -
#138
631ec23-slas client listnow 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
- Updated dependencies [
1a3117c,7a3015f,59fe546,44b67f0,91593f2,0d29262,33dbd2f,33dbd2f,8592727,908be47]:- @salesforce/b2c-tooling-sdk@0.4.0
@salesforce/b2c-tooling-sdk@0.4.0
Minor Changes
-
#117
59fe546- Addcontent exportandcontent listcommands 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- Addsetup instancecommands for managing B2C Commerce instance configurations (create, list, remove, set-active). (Thanks @clavery!) -
#125
0d29262- Addmrt tail-logscommand 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.jsonb2cconfig. For example,clientIdandclient-idare now equivalent everywhere. Legacy aliases likeserver,passphrase, andselfsignedcontinue to work. (Thanks @clavery!)
v0.3.0
@salesforce/b2c-cli
Minor Changes
-
d772003Thanks @clavery! - consistent command doc structure; better auth page; online links in examples for all topics/cmds -
#83
ddee52eThanks @clavery! - Add support for realm-instance format in ODS commands. You can now usezzzv-123orzzzv_123instead of full UUIDs forods get,ods start,ods stop,ods restart, andods deletecommands. -
#77
6859880Thanks @clavery! - Add log tailing, listing, and retrieval commands for viewing B2C Commerce instance logs. Seeb2c logstopic. -
#94
c34103bThanks @clavery! - Add two-factor client certificate (mTLS) support for WebDAV operations
Patch Changes
-
d772003Thanks @clavery! - bugfix code deploy to not require oauth unless needed -
d772003Thanks @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
ddee52eThanks @clavery! - Add support for realm-instance format in ODS commands. You can now usezzzv-123orzzzv_123instead of full UUIDs forods get,ods start,ods stop,ods restart, andods deletecommands. -
#77
6859880Thanks @clavery! - Add log tailing, listing, and retrieval commands for viewing B2C Commerce instance logs. Seeb2c logstopic. -
#85
6b89ed6Thanks @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
c34103bThanks @clavery! - Add two-factor client certificate (mTLS) support for WebDAV operations
v0.2.1
v0.2.0 - Developer Preview
Initial developer preview release
@salesforce/b2c-cli
Minor Changes
-
#62
269de20Thanks @clavery! - Addsetup configcommand 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
--unmaskto reveal them. -
#59
253c1e9Thanks @clavery! - Reorganizes MRT commands by scope: project-level commands undermrt project, environment-level undermrt env, and deployment commands undermrt bundle. Themrt bundle downloadcommand now downloads files by default instead of just printing the URL. -
#59
253c1e9Thanks @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), andmrt user(profile, API key, email preferences). -
#59
253c1e9Thanks @clavery! - Replacesmrt pushwithmrt bundle deploy. The new command supports both pushing local builds and deploying existing bundles by ID. -
e0d652aThanks @clavery! - Addb2c setup skillscommand for installing agent skills to AI-powered IDEs (Claude Code, Cursor, Windsurf, VS Code/Copilot, Codex, OpenCode) -
11a6887Thanks @clavery! - Addb2c ecdncommands for managing eCDN zones, certificates, WAF, caching, security settings, and related configurations.
Patch Changes
-
97f4b68Thanks @clavery! - code deploy archive deletion is not a hard error -
#64
c35f3a7Thanks @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
- Updated dependencies [
c35f3a7,253c1e9,e0d652a,11a6887,a14c741]:- @salesforce/b2c-tooling-sdk@0.2.0
@salesforce/b2c-tooling-sdk
Minor Changes
-
#59
253c1e9Thanks @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), andmrt user(profile, API key, email preferences). -
e0d652aThanks @clavery! - Addb2c setup skillscommand for installing agent skills to AI-powered IDEs (Claude Code, Cursor, Windsurf, VS Code/Copilot, Codex, OpenCode) -
11a6887Thanks @clavery! - Addb2c ecdncommands for managing eCDN zones, certificates, WAF, caching, security settings, and related configurations. -
#66
a14c741Thanks @clavery! - Add User-Agent header to all HTTP requests. Sets bothUser-Agentandsfdc_user_agentheaders with the SDK or CLI version (e.g.,b2c-cli/0.1.0orb2c-tooling-sdk/0.1.0).
Patch Changes
-
#64
c35f3a7Thanks @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...
v0.1.0
@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
- @charithaT07 made their first contribution in #23
- @amit-kumar8-sf made their first contribution in #38
- @github-actions[bot] made their first contribution in #56
Full Changelog: v0.0.1-preview.1...v0.1.0
v0.0.1-preview.8
Preview Release v0.0.1-preview.8
Installation
Download the tgz file and install:
npm install ./salesforce-b2c-cli-0.0.1-preview.8.tgzOr install globally:
npm install -g ./salesforce-b2c-cli-0.0.1-preview.8.tgzNote: 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
- @charithaT07 made their first contribution in #23
- @amit-kumar8-sf made their first contribution in #38
Full Changelog: v0.0.1-preview.7...v0.0.1-preview.8
v0.0.1-preview.7
Preview Release v0.0.1-preview.7
Installation
Download the tgz file and install:
npm install ./salesforce-b2c-cli-0.0.1-preview.7.tgzOr install globally:
npm install -g ./salesforce-b2c-cli-0.0.1-preview.7.tgzNote: 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
Preview Release v0.0.1-preview.6
Installation
Download the tgz file and install:
npm install ./salesforce-b2c-cli-0.0.1-preview.6.tgzOr install globally:
npm install -g ./salesforce-b2c-cli-0.0.1-preview.6.tgzNote: The SDK is bundled in the CLI package.
Full Changelog: v0.0.1-preview.5...v0.0.1-preview.6