Skip to content

Commit 7141f25

Browse files
committed
chore: update version to 1.5.4 and enhance changelog for Salesforce CLI error handling improvements
1 parent f731d33 commit 7141f25

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.5.4] - 2025-10-22
9+
10+
### Fixed
11+
12+
- **Salesforce CLI Error Handling**: Fixed `executeSfCommand` to properly parse and return JSON error responses from Salesforce CLI
13+
- When SF CLI commands fail with `--json` flag, errors are now properly captured from stdout
14+
- Error details (name, message, exitCode, context, stack) are now correctly returned to MCP clients
15+
- Fixes issue where deployment errors like "No source-backed components present in the package" were not visible
16+
- Maintains backward compatibility with existing error handling
17+
818
## [1.5.3] - 2025-09-20
919

1020
### Fixed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"dxt_version": "0.2",
33
"name": "salesforce-mcp-server",
44
"display_name": "Salesforce MCP Server",
5-
"version": "1.5.3",
5+
"version": "1.5.4",
66
"description": "Salesforce MCP Server - Interact with Salesforce orgs through AI assistants",
77
"icon": "icon.png",
88
"long_description": "Enables AI assistants to execute Apex code, query Salesforce data, and manage org metadata using your existing Salesforce CLI authentication. Perfect for developers and administrators who want to automate Salesforce tasks through natural language interactions.\n\nSupports environment variables:\n- READ_ONLY=true - Prevents Apex code execution\n- ALLOWED_ORGS=ALL or comma-separated org list - Restricts access to specific orgs (default: ALL)",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@advanced-communities/salesforce-mcp-server",
3-
"version": "1.5.3",
3+
"version": "1.5.4",
44
"description": "MCP server enabling AI assistants to interact with Salesforce orgs through the Salesforce CLI",
55
"main": "./src/index.ts",
66
"scripts": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function buildServerDescription(): string {
4949

5050
const server = new McpServer({
5151
name: "salesforce-mcp-server",
52-
version: "1.5.0",
52+
version: "1.5.4",
5353
description: buildServerDescription(),
5454
capabilities: {
5555
tools: {},

0 commit comments

Comments
 (0)