Skip to content

@salesforce/b2c-cli@0.4.0

Choose a tag to compare

@clavery clavery released this 13 Feb 00:08
· 279 commits to main since this release
eeee3ad

@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 - 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!)

Patch Changes

  • #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!)

  • #103 7a3015f - Add automatic 401 retry with token refresh to openapi-fetch middleware. This ensures API clients (OCAPI, SLAS, SCAPI, etc.) automatically refresh expired tokens during long-running operations. (Thanks @clavery!)

  • #112 33dbd2f - Support sandbox-api-host in dw.json and other config sources (previously only worked as a CLI flag or environment variable) (Thanks @clavery!)

Full Changelog

  • E2E test updates by @charithaT07 in #93
  • @W-20593322 Developer Guidelines Tool by @yhsieh1 in #92
  • Restore test reporter and fix flaky e2e test issues by @charithaT07 in #97
  • W-20917380 B2C MCP Telemetry by @allison-grady in #68
  • chore: update Script API documentation to version 26.2 by @clavery in #100
  • @W-20893693: Add AM topic with users, roles and orgs subtopics by @amit-kumar8-sf in #63
  • Add SCAPI and headless development skills by @clavery in #101
  • adding rate limiting middleware by @charithaT07 in #104
  • Scaffolding framework for B2C Commerce components by @clavery in #102
  • @W-21083961 adding wait support for ODS start stop delete restart by @charithaT07 in #90
  • fix(sdk): add automatic 401 retry with token refresh to openapi-fetch middleware by @clavery in #103
  • @W-21097674: Adding support for AM API Client by @amit-kumar8-sf in #109
  • feat(mcp): implement MRT Push MCP Tool by @patricksullivansf in #110
  • Rename ods topic to sandbox and add create flags by @clavery in #113
  • fix: support sandbox-api-host and mrtApiKey in config sources by @clavery in #112
  • Switch to independent per-package versioning by @clavery in #116
  • feat: add content export and content list commands by @clavery in #117
  • feat: add --user-auth flag, AM error guidance, and Account Manager guide by @clavery in #120
  • Add mrt tail-logs command for real-time log streaming by @clavery in #125
  • Feature/mcp cartridge deploy implementation by @patricksullivansf in #114
  • adding e2e tests for mrt and am by @charithaT07 in #108
  • Fix e2 e tests by @charithaT07 in #135
  • W-21146754 Fix telemetry event firing issues by @allison-grady in #105
  • @W-21111039: Spike B2C VS Extensions by @wei-liu-sf in #124
  • fix: slas client list returns empty list when tenant doesn't exist by @clavery in #138
  • Add instance management commands and easy setup by @clavery in #98
  • Add realm/tenant telemetry context and debug logging by @clavery in #140
  • Next Release: changelog and version packages by @github-actions[bot] in #99

New Contributors

Full Changelog: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/compare/v0.3.0...@salesforce/b2c-cli@0.4.0