Skip to content

Latest commit

 

History

History
128 lines (68 loc) · 16.7 KB

File metadata and controls

128 lines (68 loc) · 16.7 KB

@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

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

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

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

Patch Changes

  • 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

0.3.0

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

0.2.1

Patch Changes

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

  • Updated dependencies [4e90f16]:

    • @salesforce/b2c-tooling-sdk@0.2.1

0.2.0

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

0.1.0

Minor Changes

Patch Changes

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