From 011165c79e54f1e6adabecc781dbc125485b352d Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Thu, 10 Apr 2025 09:51:03 -0300 Subject: [PATCH 1/2] pin webhooks to v1 version --- components/pipedrive/sources/common/base.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/pipedrive/sources/common/base.mjs b/components/pipedrive/sources/common/base.mjs index 66b57c3b0089e..b464ea0f73a98 100644 --- a/components/pipedrive/sources/common/base.mjs +++ b/components/pipedrive/sources/common/base.mjs @@ -20,6 +20,9 @@ export default { hooks: { async activate() { const response = await this.pipedrive.addWebhook({ + // Specifying v1 because webhooks v2 became the default on March 17, 2025: + // https://developers.pipedrive.com/changelog/post/breaking-change-webhooks-v2-will-become-the-new-default-version + version: "1.0", subscription_url: this.http.endpoint, ...this.getExtraData(), }); From b52c6a19657a0a4351105dbe617491419f49b3e8 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Thu, 10 Apr 2025 09:51:37 -0300 Subject: [PATCH 2/2] bump versions --- components/pipedrive/package.json | 2 +- .../pipedrive/sources/new-deal-instant/new-deal-instant.mjs | 2 +- .../pipedrive/sources/new-person-instant/new-person-instant.mjs | 2 +- .../sources/updated-deal-instant/updated-deal-instant.mjs | 2 +- .../sources/updated-person-instant/updated-person-instant.mjs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/pipedrive/package.json b/components/pipedrive/package.json index e1e5470a64072..1404ff6822d32 100644 --- a/components/pipedrive/package.json +++ b/components/pipedrive/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/pipedrive", - "version": "0.3.11", + "version": "0.3.12", "description": "Pipedream Pipedrive Components", "main": "pipedrive.app.mjs", "keywords": [ diff --git a/components/pipedrive/sources/new-deal-instant/new-deal-instant.mjs b/components/pipedrive/sources/new-deal-instant/new-deal-instant.mjs index 25be591244a65..f8badaa0e5133 100644 --- a/components/pipedrive/sources/new-deal-instant/new-deal-instant.mjs +++ b/components/pipedrive/sources/new-deal-instant/new-deal-instant.mjs @@ -6,7 +6,7 @@ export default { key: "pipedrive-new-deal-instant", name: "New Deal (Instant)", description: "Emit new event when a new deal is created.", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", methods: { diff --git a/components/pipedrive/sources/new-person-instant/new-person-instant.mjs b/components/pipedrive/sources/new-person-instant/new-person-instant.mjs index 76400aa10c134..130ec7d0b00f5 100644 --- a/components/pipedrive/sources/new-person-instant/new-person-instant.mjs +++ b/components/pipedrive/sources/new-person-instant/new-person-instant.mjs @@ -6,7 +6,7 @@ export default { key: "pipedrive-new-person-instant", name: "New Person (Instant)", description: "Emit new event when a new person is created.", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", methods: { diff --git a/components/pipedrive/sources/updated-deal-instant/updated-deal-instant.mjs b/components/pipedrive/sources/updated-deal-instant/updated-deal-instant.mjs index d1a759e95ac53..18f520670acb8 100644 --- a/components/pipedrive/sources/updated-deal-instant/updated-deal-instant.mjs +++ b/components/pipedrive/sources/updated-deal-instant/updated-deal-instant.mjs @@ -6,7 +6,7 @@ export default { key: "pipedrive-updated-deal-instant", name: "New Deal Update (Instant)", description: "Emit new event when a deal is updated.", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", methods: { diff --git a/components/pipedrive/sources/updated-person-instant/updated-person-instant.mjs b/components/pipedrive/sources/updated-person-instant/updated-person-instant.mjs index 73e4527455a93..ae7aadb8b5f2d 100644 --- a/components/pipedrive/sources/updated-person-instant/updated-person-instant.mjs +++ b/components/pipedrive/sources/updated-person-instant/updated-person-instant.mjs @@ -6,7 +6,7 @@ export default { key: "pipedrive-updated-person-instant", name: "New Person Update (Instant)", description: "Emit new event when a person is updated.", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", methods: {