diff --git a/packages/cli/BREAKING-CHANGES.md b/packages/cli/BREAKING-CHANGES.md index ff191b5eb8..eac94b4a9f 100644 --- a/packages/cli/BREAKING-CHANGES.md +++ b/packages/cli/BREAKING-CHANGES.md @@ -1,6 +1,6 @@ # 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. ## ??? @@ -31,6 +31,62 @@ it has to get changed to: ``` +## 0.67.0 + +### What changed? + +The names of the following nodes were not set correctly and got fixed: + - AMQP Sender + - Bitbucket-Trigger + - Coda + - Eventbrite-Trigger + - Flow + - Gumroad-Trigger + - Jira + - Mailchimp-Trigger + - PayPal Trigger + - Read PDF + - Rocketchat + - Shopify + - Shopify-Trigger + - Stripe-Trigger + - Toggl-Trigger + +### When is action necessary? + +If any of the nodes mentioned above, are used in any of your workflows. + +### How to upgrade: + +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** + + - 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 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" + - "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" + - "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 the nodes and connections again, this time with working nodes. + + ## 0.62.0 ### What changed? diff --git a/packages/cli/package.json b/packages/cli/package.json index c2259c03f6..64ac749b9f 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", @@ -99,10 +99,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", diff --git a/packages/core/package.json b/packages/core/package.json index 70fe1ac384..c0616f5aeb 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", @@ -45,7 +45,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" diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index 0fdcb6e756..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", @@ -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", diff --git a/packages/nodes-base/nodes/Amqp/Amqp.node.ts b/packages/nodes-base/nodes/Amqp/Amqp.node.ts index 66ed1aa25d..0cde6e704f 100644 --- a/packages/nodes-base/nodes/Amqp/Amqp.node.ts +++ b/packages/nodes-base/nodes/Amqp/Amqp.node.ts @@ -10,7 +10,7 @@ import { 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/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/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/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/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/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/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/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/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 2bcc3321f6..a794edc602 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", @@ -198,7 +198,7 @@ "dist/nodes/Interval.node.js", "dist/nodes/InvoiceNinja/InvoiceNinja.node.js", "dist/nodes/InvoiceNinja/InvoiceNinjaTrigger.node.js", - "dist/nodes/Jira/JiraSoftwareCloud.node.js", + "dist/nodes/Jira/Jira.node.js", "dist/nodes/JotForm/JotFormTrigger.node.js", "dist/nodes/Keap/Keap.node.js", "dist/nodes/Keap/KeapTrigger.node.js", @@ -299,7 +299,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" @@ -323,7 +323,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", 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",