From 6bc68cd33b0694474368c2d1689db4d93ad26c71 Mon Sep 17 00:00:00 2001 From: choeqq Date: Tue, 7 Oct 2025 10:10:26 +0200 Subject: [PATCH 1/2] Allow empty value change --- .../salesforce_rest_api/sources/common/common-updated-record.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/salesforce_rest_api/sources/common/common-updated-record.mjs b/components/salesforce_rest_api/sources/common/common-updated-record.mjs index 7460e6a71ef3f..abc6a3c82e997 100644 --- a/components/salesforce_rest_api/sources/common/common-updated-record.mjs +++ b/components/salesforce_rest_api/sources/common/common-updated-record.mjs @@ -115,7 +115,6 @@ export default { const oldValue = body.Old[key]; return ( value !== undefined - && oldValue !== undefined && JSON.stringify(value) !== JSON.stringify(oldValue) ); }) From 72c42a618a623ff77506e0fedb119ed03e329b67 Mon Sep 17 00:00:00 2001 From: choeqq Date: Tue, 7 Oct 2025 10:19:12 +0200 Subject: [PATCH 2/2] bump versions --- components/salesforce_rest_api/package.json | 2 +- .../sources/case-updated-instant/case-updated-instant.mjs | 2 +- .../email-template-updated-instant.mjs | 2 +- .../knowledge-article-updated-instant.mjs | 2 +- .../sources/new-case-instant/new-case-instant.mjs | 2 +- .../new-email-template-instant/new-email-template-instant.mjs | 2 +- .../new-knowledge-article-instant.mjs | 2 +- .../sources/new-outbound-message/new-outbound-message.mjs | 2 +- .../sources/new-record-instant/new-record-instant.mjs | 2 +- .../sources/record-deleted-instant/record-deleted-instant.mjs | 2 +- .../sources/record-updated-instant/record-updated-instant.mjs | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/salesforce_rest_api/package.json b/components/salesforce_rest_api/package.json index ea5ac3ada6071..ffcd9a09efc31 100644 --- a/components/salesforce_rest_api/package.json +++ b/components/salesforce_rest_api/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/salesforce_rest_api", - "version": "1.9.1", + "version": "1.9.2", "description": "Pipedream Salesforce (REST API) Components", "main": "salesforce_rest_api.app.mjs", "keywords": [ diff --git a/components/salesforce_rest_api/sources/case-updated-instant/case-updated-instant.mjs b/components/salesforce_rest_api/sources/case-updated-instant/case-updated-instant.mjs index f15bdeb02bc42..8c2639169a278 100644 --- a/components/salesforce_rest_api/sources/case-updated-instant/case-updated-instant.mjs +++ b/components/salesforce_rest_api/sources/case-updated-instant/case-updated-instant.mjs @@ -7,7 +7,7 @@ export default { name: "Case Updated (Instant, of Selectable Type)", key: "salesforce_rest_api-case-updated-instant", description: "Emit new event when a case is updated. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.0.4", + version: "0.0.5", props: { salesforce: common.props.salesforce, db: "$.service.db", diff --git a/components/salesforce_rest_api/sources/email-template-updated-instant/email-template-updated-instant.mjs b/components/salesforce_rest_api/sources/email-template-updated-instant/email-template-updated-instant.mjs index 85c314b209c83..b028a31d5702a 100644 --- a/components/salesforce_rest_api/sources/email-template-updated-instant/email-template-updated-instant.mjs +++ b/components/salesforce_rest_api/sources/email-template-updated-instant/email-template-updated-instant.mjs @@ -7,7 +7,7 @@ export default { name: "Email Template Updated (Instant, of Selectable Type)", key: "salesforce_rest_api-email-template-updated-instant", description: "Emit new event when an email template is updated. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.0.4", + version: "0.0.5", props: { salesforce: common.props.salesforce, db: "$.service.db", diff --git a/components/salesforce_rest_api/sources/knowledge-article-updated-instant/knowledge-article-updated-instant.mjs b/components/salesforce_rest_api/sources/knowledge-article-updated-instant/knowledge-article-updated-instant.mjs index f24380a73c7ae..f30263b0be526 100644 --- a/components/salesforce_rest_api/sources/knowledge-article-updated-instant/knowledge-article-updated-instant.mjs +++ b/components/salesforce_rest_api/sources/knowledge-article-updated-instant/knowledge-article-updated-instant.mjs @@ -7,7 +7,7 @@ export default { name: "Knowledge Article Updated (Instant, of Selectable Type)", key: "salesforce_rest_api-knowledge-article-updated-instant", description: "Emit new event when a knowledge article is updated. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.0.4", + version: "0.0.5", props: { salesforce: common.props.salesforce, db: "$.service.db", diff --git a/components/salesforce_rest_api/sources/new-case-instant/new-case-instant.mjs b/components/salesforce_rest_api/sources/new-case-instant/new-case-instant.mjs index 60a491b4c03e0..690b675596006 100644 --- a/components/salesforce_rest_api/sources/new-case-instant/new-case-instant.mjs +++ b/components/salesforce_rest_api/sources/new-case-instant/new-case-instant.mjs @@ -7,7 +7,7 @@ export default { name: "New Case (Instant, of Selectable Type)", key: "salesforce_rest_api-new-case-instant", description: "Emit new event when a case is created. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.0.4", + version: "0.0.5", props: { salesforce: common.props.salesforce, db: "$.service.db", diff --git a/components/salesforce_rest_api/sources/new-email-template-instant/new-email-template-instant.mjs b/components/salesforce_rest_api/sources/new-email-template-instant/new-email-template-instant.mjs index 9c79bbd0eb369..45fa374f93c92 100644 --- a/components/salesforce_rest_api/sources/new-email-template-instant/new-email-template-instant.mjs +++ b/components/salesforce_rest_api/sources/new-email-template-instant/new-email-template-instant.mjs @@ -7,7 +7,7 @@ export default { name: "New Email Template (Instant, of Selectable Type)", key: "salesforce_rest_api-new-email-template-instant", description: "Emit new event when an email template is created. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.0.4", + version: "0.0.5", props: { salesforce: common.props.salesforce, db: "$.service.db", diff --git a/components/salesforce_rest_api/sources/new-knowledge-article-instant/new-knowledge-article-instant.mjs b/components/salesforce_rest_api/sources/new-knowledge-article-instant/new-knowledge-article-instant.mjs index a0dfb0cee3c21..02399a6246aca 100644 --- a/components/salesforce_rest_api/sources/new-knowledge-article-instant/new-knowledge-article-instant.mjs +++ b/components/salesforce_rest_api/sources/new-knowledge-article-instant/new-knowledge-article-instant.mjs @@ -7,7 +7,7 @@ export default { name: "New Knowledge Article (Instant, of Selectable Type)", key: "salesforce_rest_api-new-knowledge-article-instant", description: "Emit new event when a knowledge article is created. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.0.4", + version: "0.0.5", props: { salesforce: common.props.salesforce, db: "$.service.db", diff --git a/components/salesforce_rest_api/sources/new-outbound-message/new-outbound-message.mjs b/components/salesforce_rest_api/sources/new-outbound-message/new-outbound-message.mjs index 994b7ac27bdc7..ff4b87380f6bb 100644 --- a/components/salesforce_rest_api/sources/new-outbound-message/new-outbound-message.mjs +++ b/components/salesforce_rest_api/sources/new-outbound-message/new-outbound-message.mjs @@ -6,7 +6,7 @@ export default { name: "New Outbound Message (Instant)", key: "salesforce_rest_api-new-outbound-message", description: "Emit new event when a new outbound message is received in Salesforce.", - version: "0.1.10", + version: "0.1.11", dedupe: "unique", props: { db: "$.service.db", diff --git a/components/salesforce_rest_api/sources/new-record-instant/new-record-instant.mjs b/components/salesforce_rest_api/sources/new-record-instant/new-record-instant.mjs index aa7003c40fcee..85feb7fd44e1c 100644 --- a/components/salesforce_rest_api/sources/new-record-instant/new-record-instant.mjs +++ b/components/salesforce_rest_api/sources/new-record-instant/new-record-instant.mjs @@ -6,7 +6,7 @@ export default { name: "New Record (Instant, of Selectable Type)", key: "salesforce_rest_api-new-record-instant", description: "Emit new event when a record of the selected object type is created. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.2.4", + version: "0.2.5", props: { ...common.props, fieldsToObtain: { diff --git a/components/salesforce_rest_api/sources/record-deleted-instant/record-deleted-instant.mjs b/components/salesforce_rest_api/sources/record-deleted-instant/record-deleted-instant.mjs index 20d045a85916d..0661a73f83d8f 100644 --- a/components/salesforce_rest_api/sources/record-deleted-instant/record-deleted-instant.mjs +++ b/components/salesforce_rest_api/sources/record-deleted-instant/record-deleted-instant.mjs @@ -7,7 +7,7 @@ export default { name: "New Deleted Record (Instant, of Selectable Type)", key: "salesforce_rest_api-record-deleted-instant", description: "Emit new event when a record of the selected object type is deleted. [See the documentation](https://sforce.co/3msDDEE)", - version: "0.1.4", + version: "0.1.5", methods: { ...common.methods, generateWebhookMeta(data) { diff --git a/components/salesforce_rest_api/sources/record-updated-instant/record-updated-instant.mjs b/components/salesforce_rest_api/sources/record-updated-instant/record-updated-instant.mjs index 370e7edb046ad..e3e83108926d1 100644 --- a/components/salesforce_rest_api/sources/record-updated-instant/record-updated-instant.mjs +++ b/components/salesforce_rest_api/sources/record-updated-instant/record-updated-instant.mjs @@ -7,7 +7,7 @@ export default { name: "New Updated Record (Instant, of Selectable Type)", key: "salesforce_rest_api-record-updated-instant", description: "Emit new event when a record of the selected type is updated. [See the documentation](https://sforce.co/3yPSJZy)", - version: "0.2.4", + version: "0.2.5", props: { ...common.props, fields: {