From 9c66a652fcac8fb206291edbf6c7048ae016d0a1 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 15:08:19 +0200 Subject: [PATCH 01/14] :boom: Fix node names --- packages/cli/BREAKING-CHANGES.md | 47 +++++++++++++++++++ .../nodes/Bitbucket/BitbucketTrigger.node.ts | 2 +- .../Eventbrite/EventbriteTrigger.node.ts | 2 +- .../nodes/Gumroad/GumroadTrigger.node.ts | 2 +- ...JiraSoftwareCloud.node.ts => Jira.node.ts} | 6 +-- .../nodes/Mailchimp/MailchimpTrigger.node.ts | 2 +- .../nodes/PayPal/PayPalTrigger.node.ts | 2 +- packages/nodes-base/nodes/ReadPdf.node.ts | 2 +- .../nodes-base/nodes/Shopify/Shopify.node.ts | 2 +- .../nodes/Shopify/ShopifyTrigger.node.ts | 2 +- .../nodes/Stripe/StripeTrigger.node.ts | 2 +- .../nodes/Toggl/TogglTrigger.node.ts | 2 +- packages/nodes-base/package.json | 2 +- 13 files changed, 61 insertions(+), 14 deletions(-) rename packages/nodes-base/nodes/Jira/{JiraSoftwareCloud.node.ts => Jira.node.ts} (99%) diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index 969b258243..6f57b5b6cb 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -2,6 +2,53 @@ This list shows all the versions which include breaking changes and how to upgrade +## 0.67.0 + +### What changed? + +The name of the following nodes were not set correctly and got fixed: + - Bitbucket-Trigger + - Eventbrite -Trigger + - Gumroad-Trigger + - Jira + - Mailchimp-Trigger + - PayPal Trigger + - Read PDF + - Shopify + - Shopify-Trigger + - Stripe-Trigger + - Toggl-Trigger + +### When is action necessary? + +If any of the above nodes is used in any workflow. + +### How to upgrade: + +There are two ways to upgrade the workflows and to make them work in the new version: + +**Simple** + +Delete the above nodes and totally recreate them (best write down the settings before upgrading) + +**Advanced** + +After upgrading select the whole workflow in the editor, copy it, and paste it into a text-editor. In the appearing JSON change the node types manually by replacing the values for "type" as follows: + - "n8n-nodes-base.bitbucket" -> "n8n-nodes-base.bitbucketTrigger" + - "n8n-nodes-base.eventbrite" -> "n8n-nodes-base.eventbriteTrigger" + - "n8n-nodes-base.gumroad" -> "n8n-nodes-base.gumroadTrigger" + - "n8n-nodes-base.Jira Software Cloud" -> "n8n-nodes-base.jira" + - "n8n-nodes-base.Mailchimp" -> "n8n-nodes-base.mailchimpTrigger" + - "n8n-nodes-base.PayPal" -> "n8n-nodes-base.payPalTrigger" + - "n8n-nodes-base.Read PDF" -> "n8n-nodes-base.readPDF" + - "n8n-nodes-base.shopify" -> "n8n-nodes-base.shopifyTrigger" + - "n8n-nodes-base.shopifyNode" -> "n8n-nodes-base.shopify" + - "n8n-nodes-base.stripe" -> "n8n-nodes-base.stripeTrigger" + - "n8n-nodes-base.toggl" -> "n8n-nodes-base.togglTrigger" + +Then delete all existing nodes, and then paste the changed JSON directly into n8n. It should then recreate all nodes and connections again this time again with working nodes. + + ## 0.62.0 ### What changed? diff --git a/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts b/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts index 1e506deb92..55488c9fd7 100644 --- a/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts +++ b/packages/nodes-base/nodes/Bitbucket/BitbucketTrigger.node.ts @@ -20,7 +20,7 @@ import { export class BitbucketTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Bitbucket Trigger', - name: 'bitbucket', + name: 'bitbucketTrigger', icon: 'file:bitbucket.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts b/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts index 8a13bb5fc3..fdeae599c2 100644 --- a/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts +++ b/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts @@ -20,7 +20,7 @@ import { export class EventbriteTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Eventbrite Trigger', - name: 'eventbrite', + name: 'eventbriteTrigger', icon: 'file:eventbrite.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts index 807d826aab..c4a9b65a97 100644 --- a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts +++ b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts @@ -17,7 +17,7 @@ import { export class GumroadTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Gumroad Trigger', - name: 'gumroad', + name: 'gumroadTrigger', icon: 'file:gumroad.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/nodes/Jira/JiraSoftwareCloud.node.ts b/packages/nodes-base/nodes/Jira/Jira.node.ts similarity index 99% rename from packages/nodes-base/nodes/Jira/JiraSoftwareCloud.node.ts rename to packages/nodes-base/nodes/Jira/Jira.node.ts index d262ac0da9..f761aaa878 100644 --- a/packages/nodes-base/nodes/Jira/JiraSoftwareCloud.node.ts +++ b/packages/nodes-base/nodes/Jira/Jira.node.ts @@ -30,17 +30,17 @@ import { NotificationRecipientsRestrictions, } from './IssueInterface'; -export class JiraSoftwareCloud implements INodeType { +export class Jira implements INodeType { description: INodeTypeDescription = { displayName: 'Jira Software', - name: 'Jira Software Cloud', + name: 'jira', icon: 'file:jira.png', group: ['output'], version: 1, subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', description: 'Consume Jira Software API', defaults: { - name: 'Jira Software', + name: 'Jira', color: '#4185f7', }, inputs: ['main'], diff --git a/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts b/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts index 13bb83b422..25eac04c20 100644 --- a/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts +++ b/packages/nodes-base/nodes/Mailchimp/MailchimpTrigger.node.ts @@ -18,7 +18,7 @@ import { export class MailchimpTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Mailchimp Trigger', - name: 'Mailchimp', + name: 'mailchimpTrigger', icon: 'file:mailchimp.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts b/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts index e12d7dd004..979af52e7c 100644 --- a/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts +++ b/packages/nodes-base/nodes/PayPal/PayPalTrigger.node.ts @@ -19,7 +19,7 @@ import { export class PayPalTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'PayPal Trigger', - name: 'PayPal', + name: 'payPalTrigger', icon: 'file:paypal.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/nodes/ReadPdf.node.ts b/packages/nodes-base/nodes/ReadPdf.node.ts index c9ddfd6338..52f149da97 100644 --- a/packages/nodes-base/nodes/ReadPdf.node.ts +++ b/packages/nodes-base/nodes/ReadPdf.node.ts @@ -14,7 +14,7 @@ const pdf = require('pdf-parse'); export class ReadPdf implements INodeType { description: INodeTypeDescription = { displayName: 'Read PDF', - name: 'Read PDF', + name: 'readPDF', icon: 'fa:file-pdf', group: ['input'], version: 1, diff --git a/packages/nodes-base/nodes/Shopify/Shopify.node.ts b/packages/nodes-base/nodes/Shopify/Shopify.node.ts index 7beecb1907..45f0d906b1 100644 --- a/packages/nodes-base/nodes/Shopify/Shopify.node.ts +++ b/packages/nodes-base/nodes/Shopify/Shopify.node.ts @@ -32,7 +32,7 @@ import { export class Shopify implements INodeType { description: INodeTypeDescription = { displayName: 'Shopify', - name: 'shopifyNode', + name: 'shopify', icon: 'file:shopify.png', group: ['output'], version: 1, diff --git a/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts b/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts index 9e8ec2c811..6362a6eb3f 100644 --- a/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts +++ b/packages/nodes-base/nodes/Shopify/ShopifyTrigger.node.ts @@ -21,7 +21,7 @@ import { export class ShopifyTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Shopify Trigger', - name: 'shopify', + name: 'shopifyTrigger', icon: 'file:shopify.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts b/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts index e0ab188a86..304af37203 100644 --- a/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts +++ b/packages/nodes-base/nodes/Stripe/StripeTrigger.node.ts @@ -17,7 +17,7 @@ import { export class StripeTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Stripe Trigger', - name: 'stripe', + name: 'stripeTrigger', icon: 'file:stripe.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts b/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts index 368120be6a..c32734bc23 100644 --- a/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts +++ b/packages/nodes-base/nodes/Toggl/TogglTrigger.node.ts @@ -12,7 +12,7 @@ import { togglApiRequest } from './GenericFunctions'; export class TogglTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Toggl Trigger', - name: 'toggl', + name: 'togglTrigger', icon: 'file:toggl.png', group: ['trigger'], version: 1, diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 81da8bb4b7..dc1a53776b 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -184,7 +184,7 @@ "dist/nodes/InvoiceNinja/InvoiceNinja.node.js", "dist/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.js", "dist/nodes/Interval.node.js", - "dist/nodes/Jira/JiraSoftwareCloud.node.js", + "dist/nodes/Jira/Jira.node.js", "dist/nodes/JotForm/JotFormTrigger.node.js", "dist/nodes/LinkFish/LinkFish.node.js", "dist/nodes/Mailchimp/Mailchimp.node.js", From 15c7331e435f2eefc30ff42d4ee4e0ac830b5686 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 15:41:20 +0200 Subject: [PATCH 02/14] :twisted_rightwards_arrows: Improve Breaking Changes: commit a6b3feb786585dc262ad99db918ee887b057f431 Author: Jan Oberhauser Date: Tue May 12 15:38:23 2020 +0200 :zap: Fix indentation commit 8c56a377bd54563042b987378b5537a0100948bc Author: Tanay Pant Date: Tue May 12 15:31:11 2020 +0200 One more edit to Breaking Changes commit da125d4dab065e5c0f315c55d6b5fa2ac516e00c Author: Tanay Pant Date: Tue May 12 15:27:44 2020 +0200 Edits to the Breaking Changes --- packages/cli/BREAKING-CHANGES.md | 35 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index 6f57b5b6cb..545a482ff9 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -1,27 +1,27 @@ # n8n Breaking Changes -This list shows all the versions which include breaking changes and how to upgrade +This list shows all the versions which include breaking changes and how to upgrade. ## 0.67.0 ### What changed? -The name of the following nodes were not set correctly and got fixed: - - Bitbucket-Trigger - - Eventbrite -Trigger - - Gumroad-Trigger - - Jira - - Mailchimp-Trigger - - PayPal Trigger - - Read PDF - - Shopify - - Shopify-Trigger - - Stripe-Trigger - - Toggl-Trigger +The names of the following nodes were not set correctly and got fixed: + - Bitbucket-Trigger + - Eventbrite -Trigger + - Gumroad-Trigger + - Jira + - Mailchimp-Trigger + - PayPal Trigger + - Read PDF + - Shopify + - Shopify-Trigger + - Stripe-Trigger + - Toggl-Trigger ### When is action necessary? -If any of the above nodes is used in any workflow. +If any of the nodes mentioned above, are used in any of your workflows. ### How to upgrade: @@ -29,11 +29,12 @@ There are two ways to upgrade the workflows and to make them work in the new ver **Simple** -Delete the above nodes and totally recreate them (best write down the settings before upgrading) + - Note down the settings of the nodes before upgrading + - After upgrading, delete the nodes mentioned above from your workflow, and recreate them **Advanced** -After upgrading select the whole workflow in the editor, copy it, and paste it into a text-editor. In the appearing JSON change the node types manually by replacing the values for "type" as follows: +After upgrading, select the whole workflow in the editor, copy it, and paste it into a text editor. In the JSON, change the node types manually by replacing the values for "type" as follows: - "n8n-nodes-base.bitbucket" -> "n8n-nodes-base.bitbucketTrigger" - "n8n-nodes-base.eventbrite" -> "n8n-nodes-base.eventbriteTrigger" - "n8n-nodes-base.gumroad" -> "n8n-nodes-base.gumroadTrigger" @@ -46,7 +47,7 @@ After upgrading select the whole workflow in the editor, copy it, and paste it i - "n8n-nodes-base.stripe" -> "n8n-nodes-base.stripeTrigger" - "n8n-nodes-base.toggl" -> "n8n-nodes-base.togglTrigger" -Then delete all existing nodes, and then paste the changed JSON directly into n8n. It should then recreate all nodes and connections again this time again with working nodes. +Then delete all existing nodes, and then paste the changed JSON directly into n8n. It should then recreate all the nodes and connections again, this time with working nodes. ## 0.62.0 From b187aa49c459e47b935033d9ecbd282d6f45033e Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 15:45:41 +0200 Subject: [PATCH 03/14] :boom: Fix some more node names --- packages/cli/BREAKING-CHANGES.md | 8 +++++++- .../nodes/Amqp/{Amqp.node.ts => AmqpSender.node.ts} | 2 +- packages/nodes-base/nodes/Coda/Coda.node.ts | 2 +- packages/nodes-base/nodes/Flow/Flow.node.ts | 3 +-- packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts | 2 +- packages/nodes-base/nodes/Webhook.node.ts | 2 -- packages/nodes-base/package.json | 2 +- 7 files changed, 12 insertions(+), 9 deletions(-) rename packages/nodes-base/nodes/Amqp/{Amqp.node.ts => AmqpSender.node.ts} (98%) diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index 545a482ff9..1aae8a68ce 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -8,12 +8,15 @@ This list shows all the versions which include breaking changes and how to upgra The names of the following nodes were not set correctly and got fixed: - Bitbucket-Trigger - - Eventbrite -Trigger + - Coda + - Eventbrite-Trigger + - Flow - Gumroad-Trigger - Jira - Mailchimp-Trigger - PayPal Trigger - Read PDF + - Rocketchat - Shopify - Shopify-Trigger - Stripe-Trigger @@ -36,12 +39,15 @@ There are two ways to upgrade the workflows and to make them work in the new ver After upgrading, select the whole workflow in the editor, copy it, and paste it into a text editor. In the JSON, change the node types manually by replacing the values for "type" as follows: - "n8n-nodes-base.bitbucket" -> "n8n-nodes-base.bitbucketTrigger" + - "n8n-nodes-base.Coda" -> "n8n-nodes-base.coda" - "n8n-nodes-base.eventbrite" -> "n8n-nodes-base.eventbriteTrigger" + - "n8n-nodes-base.Flow" -> "n8n-nodes-base.flow" - "n8n-nodes-base.gumroad" -> "n8n-nodes-base.gumroadTrigger" - "n8n-nodes-base.Jira Software Cloud" -> "n8n-nodes-base.jira" - "n8n-nodes-base.Mailchimp" -> "n8n-nodes-base.mailchimpTrigger" - "n8n-nodes-base.PayPal" -> "n8n-nodes-base.payPalTrigger" - "n8n-nodes-base.Read PDF" -> "n8n-nodes-base.readPDF" + - "n8n-nodes-base.Rocketchat" -> "n8n-nodes-base.rocketchat" - "n8n-nodes-base.shopify" -> "n8n-nodes-base.shopifyTrigger" - "n8n-nodes-base.shopifyNode" -> "n8n-nodes-base.shopify" - "n8n-nodes-base.stripe" -> "n8n-nodes-base.stripeTrigger" diff --git a/packages/nodes-base/nodes/Amqp/Amqp.node.ts b/packages/nodes-base/nodes/Amqp/AmqpSender.node.ts similarity index 98% rename from packages/nodes-base/nodes/Amqp/Amqp.node.ts rename to packages/nodes-base/nodes/Amqp/AmqpSender.node.ts index 66ed1aa25d..e641e11331 100644 --- a/packages/nodes-base/nodes/Amqp/Amqp.node.ts +++ b/packages/nodes-base/nodes/Amqp/AmqpSender.node.ts @@ -7,7 +7,7 @@ import { INodeTypeDescription, } from 'n8n-workflow'; -export class Amqp implements INodeType { +export class AmqpSender implements INodeType { description: INodeTypeDescription = { displayName: 'AMQP Sender', name: 'amqpSender', diff --git a/packages/nodes-base/nodes/Coda/Coda.node.ts b/packages/nodes-base/nodes/Coda/Coda.node.ts index 04d611aa53..92fcbfa0a7 100644 --- a/packages/nodes-base/nodes/Coda/Coda.node.ts +++ b/packages/nodes-base/nodes/Coda/Coda.node.ts @@ -33,7 +33,7 @@ import { export class Coda implements INodeType { description: INodeTypeDescription = { displayName: 'Coda', - name: 'Coda', + name: 'coda', icon: 'file:coda.png', group: ['output'], version: 1, diff --git a/packages/nodes-base/nodes/Flow/Flow.node.ts b/packages/nodes-base/nodes/Flow/Flow.node.ts index 5d3b45b4a3..6f97c5d0a8 100644 --- a/packages/nodes-base/nodes/Flow/Flow.node.ts +++ b/packages/nodes-base/nodes/Flow/Flow.node.ts @@ -18,12 +18,11 @@ import { import { ITask, TaskInfo, } from './TaskInterface'; -import { response } from 'express'; export class Flow implements INodeType { description: INodeTypeDescription = { displayName: 'Flow', - name: 'Flow', + name: 'flow', icon: 'file:flow.png', group: ['output'], version: 1, diff --git a/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts b/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts index e67dfe192c..e83a3afbfe 100644 --- a/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts +++ b/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts @@ -49,7 +49,7 @@ interface IPostMessageBody { export class Rocketchat implements INodeType { description: INodeTypeDescription = { displayName: 'Rocketchat', - name: 'Rocketchat', + name: 'rocketchat', icon: 'file:rocketchat.png', group: ['output'], version: 1, diff --git a/packages/nodes-base/nodes/Webhook.node.ts b/packages/nodes-base/nodes/Webhook.node.ts index fc0360aefa..135960ea4e 100644 --- a/packages/nodes-base/nodes/Webhook.node.ts +++ b/packages/nodes-base/nodes/Webhook.node.ts @@ -15,8 +15,6 @@ import * as basicAuth from 'basic-auth'; import { Response } from 'express'; -import { set } from 'lodash'; - import * as fs from 'fs'; import * as formidable from 'formidable'; diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index dc1a53776b..8a9256eaf9 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -120,7 +120,7 @@ "dist/nodes/AgileCrm/AgileCrm.node.js", "dist/nodes/Airtable/Airtable.node.js", "dist/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.js", - "dist/nodes/Amqp/Amqp.node.js", + "dist/nodes/Amqp/AmqpSender.node.js", "dist/nodes/Amqp/AmqpTrigger.node.js", "dist/nodes/Asana/Asana.node.js", "dist/nodes/Asana/AsanaTrigger.node.js", From a6c486b471fa0d3e82605dc4bf69400b1e07981c Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:19:05 +0200 Subject: [PATCH 04/14] :bookmark: Release n8n-workflow@0.31.0 --- packages/workflow/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/workflow/package.json b/packages/workflow/package.json index 968399ce39..fb851ce40b 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -1,6 +1,6 @@ { "name": "n8n-workflow", - "version": "0.30.0", + "version": "0.31.0", "description": "Workflow base code of n8n", "license": "SEE LICENSE IN LICENSE.md", "homepage": "https://n8n.io", From acd7b4c8b79a9489b08dfef648a14cba4dbe1b20 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:20:25 +0200 Subject: [PATCH 05/14] :arrow_up: Set n8n-workflow@0.31.0 on n8n-core --- packages/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/package.json b/packages/core/package.json index e7df6a4e26..9f3defb298 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -44,7 +44,7 @@ "crypto-js": "3.1.9-1", "lodash.get": "^4.4.2", "mmmagic": "^0.5.2", - "n8n-workflow": "~0.30.0", + "n8n-workflow": "~0.31.0", "p-cancelable": "^2.0.0", "request": "^2.88.2", "request-promise-native": "^1.0.7" From 1dc18e8968ee018d40e6d3465bb1dddd1f614e7b Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:21:10 +0200 Subject: [PATCH 06/14] :bookmark: Release n8n-core@0.34.0 --- packages/core/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/package.json b/packages/core/package.json index 9f3defb298..3feab8f447 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "n8n-core", - "version": "0.33.0", + "version": "0.34.0", "description": "Core functionality of n8n", "license": "SEE LICENSE IN LICENSE.md", "homepage": "https://n8n.io", From 5123f2bf71b5f79ac595edc3fab507f81d9ab6f9 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:26:51 +0200 Subject: [PATCH 07/14] :boom: Fix one more node name --- packages/cli/BREAKING-CHANGES.md | 2 ++ .../nodes/Amqp/{AmqpSender.node.ts => Amqp.node.ts} | 4 ++-- packages/nodes-base/package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) rename packages/nodes-base/nodes/Amqp/{AmqpSender.node.ts => Amqp.node.ts} (97%) diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index 1aae8a68ce..684e360197 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -7,6 +7,7 @@ This list shows all the versions which include breaking changes and how to upgra ### What changed? The names of the following nodes were not set correctly and got fixed: + - AMQP Sender - Bitbucket-Trigger - Coda - Eventbrite-Trigger @@ -38,6 +39,7 @@ There are two ways to upgrade the workflows and to make them work in the new ver **Advanced** After upgrading, select the whole workflow in the editor, copy it, and paste it into a text editor. In the JSON, change the node types manually by replacing the values for "type" as follows: + - "n8n-nodes-base.amqpSender" -> "n8n-nodes-base.amqp" - "n8n-nodes-base.bitbucket" -> "n8n-nodes-base.bitbucketTrigger" - "n8n-nodes-base.Coda" -> "n8n-nodes-base.coda" - "n8n-nodes-base.eventbrite" -> "n8n-nodes-base.eventbriteTrigger" diff --git a/packages/nodes-base/nodes/Amqp/AmqpSender.node.ts b/packages/nodes-base/nodes/Amqp/Amqp.node.ts similarity index 97% rename from packages/nodes-base/nodes/Amqp/AmqpSender.node.ts rename to packages/nodes-base/nodes/Amqp/Amqp.node.ts index e641e11331..0cde6e704f 100644 --- a/packages/nodes-base/nodes/Amqp/AmqpSender.node.ts +++ b/packages/nodes-base/nodes/Amqp/Amqp.node.ts @@ -7,10 +7,10 @@ import { INodeTypeDescription, } from 'n8n-workflow'; -export class AmqpSender implements INodeType { +export class Amqp implements INodeType { description: INodeTypeDescription = { displayName: 'AMQP Sender', - name: 'amqpSender', + name: 'amqp', icon: 'file:amqp.png', group: ['transform'], version: 1, diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 8a9256eaf9..dc1a53776b 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -120,7 +120,7 @@ "dist/nodes/AgileCrm/AgileCrm.node.js", "dist/nodes/Airtable/Airtable.node.js", "dist/nodes/AcuityScheduling/AcuitySchedulingTrigger.node.js", - "dist/nodes/Amqp/AmqpSender.node.js", + "dist/nodes/Amqp/Amqp.node.js", "dist/nodes/Amqp/AmqpTrigger.node.js", "dist/nodes/Asana/Asana.node.js", "dist/nodes/Asana/AsanaTrigger.node.js", From 2b3746ea8b4867ab5e879a69b463442488e919af Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:27:50 +0200 Subject: [PATCH 08/14] :arrow_up: Set n8n-core@0.34.0 and n8n-workflow@0.31.0 on n8n-nodes-base --- packages/nodes-base/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index dc1a53776b..1ce514f63d 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -278,7 +278,7 @@ "@types/xml2js": "^0.4.3", "gulp": "^4.0.0", "jest": "^24.9.0", - "n8n-workflow": "~0.30.0", + "n8n-workflow": "~0.31.0", "ts-jest": "^24.0.2", "tslint": "^5.17.0", "typescript": "~3.7.4" @@ -302,7 +302,7 @@ "moment-timezone": "^0.5.28", "mongodb": "^3.5.5", "mysql2": "^2.0.1", - "n8n-core": "~0.33.0", + "n8n-core": "~0.34.0", "nodemailer": "^6.4.6", "pdf-parse": "^1.1.1", "pg-promise": "^9.0.3", From 7be6157f5bd4ea3a881eb1cc948e15b46af06502 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:28:23 +0200 Subject: [PATCH 09/14] :bookmark: Release n8n-nodes-base@0.62.0 --- packages/nodes-base/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 1ce514f63d..d514650f36 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -1,6 +1,6 @@ { "name": "n8n-nodes-base", - "version": "0.61.0", + "version": "0.62.0", "description": "Base nodes of n8n", "license": "SEE LICENSE IN LICENSE.md", "homepage": "https://n8n.io", From dd46315ec9bb059a6bce1cd34c1bc83139ee1365 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:29:59 +0200 Subject: [PATCH 10/14] :arrow_up: Set n8n-workflow@0.31.0 on n8n-editor-ui --- packages/editor-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index 0fdcb6e756..94b6e5b79c 100644 --- a/packages/editor-ui/package.json +++ b/packages/editor-ui/package.json @@ -64,7 +64,7 @@ "lodash.debounce": "^4.0.8", "lodash.get": "^4.4.2", "lodash.set": "^4.3.2", - "n8n-workflow": "~0.30.0", + "n8n-workflow": "~0.31.0", "node-sass": "^4.12.0", "prismjs": "^1.17.1", "quill": "^2.0.0-dev.3", From 0689a6205db7733ceb85bc23f3ca0ef9fdd1898a Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:30:24 +0200 Subject: [PATCH 11/14] :bookmark: Release n8n-editor-ui@0.45.0 --- packages/editor-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index 94b6e5b79c..ec505a172c 100644 --- a/packages/editor-ui/package.json +++ b/packages/editor-ui/package.json @@ -1,6 +1,6 @@ { "name": "n8n-editor-ui", - "version": "0.44.0", + "version": "0.45.0", "description": "Workflow Editor UI for n8n", "license": "SEE LICENSE IN LICENSE.md", "homepage": "https://n8n.io", From 4785378da65998ab355a98288212a00f90957a6a Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:34:27 +0200 Subject: [PATCH 12/14] :arrow_up: Set n8n-core@0.34.0, n8n-editor-ui@0.45.0, n8n-nodes-base@0.62.0 and n8n-workflow@0.31.0 on n8n --- packages/cli/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index a6ddb40a44..0bb37ade6f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -97,10 +97,10 @@ "lodash.get": "^4.4.2", "mongodb": "^3.5.5", "mysql2": "^2.0.1", - "n8n-core": "~0.33.0", - "n8n-editor-ui": "~0.44.0", - "n8n-nodes-base": "~0.61.0", - "n8n-workflow": "~0.30.0", + "n8n-core": "~0.34.0", + "n8n-editor-ui": "~0.45.0", + "n8n-nodes-base": "~0.62.0", + "n8n-workflow": "~0.31.0", "open": "^7.0.0", "pg": "^7.11.0", "request-promise-native": "^1.0.7", From b5996e58283625f7e006f9ff0809b19e2be91e31 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 12 May 2020 16:34:52 +0200 Subject: [PATCH 13/14] :bookmark: Release n8n@0.67.0 --- packages/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 0bb37ade6f..ee9c85b54c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "n8n", - "version": "0.66.0", + "version": "0.67.0", "description": "n8n Workflow Automation Tool", "license": "SEE LICENSE IN LICENSE.md", "homepage": "https://n8n.io", From 28883657a2d054b10d848d27587f6155ccd7ab4a Mon Sep 17 00:00:00 2001 From: Tanay Pant <7481165+tanay1337@users.noreply.github.com> Date: Tue, 12 May 2020 17:06:39 +0200 Subject: [PATCH 14/14] :books: Add an instruction to Breaking Changes (#561) --- packages/cli/BREAKING-CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index 1aae8a68ce..cc3039e58b 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -28,7 +28,7 @@ If any of the nodes mentioned above, are used in any of your workflows. ### How to upgrade: -There are two ways to upgrade the workflows and to make them work in the new version: +For the nodes mentioned above, you'll need to give them access to the credentials again by opening the credentials and moving them from "No Access" to "Access". After you've done that, there are two ways to upgrade the workflows and to make them work in the new version: **Simple**