Skip to content

Commit 3a4f132

Browse files
committed
Merge tag 'n8n@1.116.1' into flare-main
2 parents 82f816b + 3a26e4c commit 3a4f132

4,249 files changed

Lines changed: 313641 additions & 80702 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.actrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-P blacksmith-2vcpu-ubuntu-2204=ubuntu-latest
2+
-P blacksmith-4vcpu-ubuntu-2204=ubuntu-latest
3+
-P ubuntu-22.04=ubuntu-latest
4+
-P ubuntu-20.04=ubuntu-latest
5+
--container-architecture linux/amd64

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# We want to include the THIRD_PARTY_LICENSES.md file in the Docker image,
2+
# but not other .md files
13
**/*.md
4+
!**/THIRD_PARTY_LICENSES.md
25
**/.env
36
.cache
47
assets

.github/ISSUE_TEMPLATE/01-bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ body:
8585
id: execution-mode
8686
attributes:
8787
label: Execution mode
88-
description: '[Info](https://docs.n8n.io/hosting/scaling/execution-modes-processes/)'
88+
description: '[Info](https://docs.n8n.io/hosting/scaling/queue-mode/)'
8989
options:
9090
- main (default)
9191
- queue

.github/actionlint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
self-hosted-runner:
2+
labels:
3+
- blacksmith-2vcpu-ubuntu-2204
4+
- blacksmith-4vcpu-ubuntu-2204
5+
- blacksmith-2vcpu-ubuntu-2204-arm
6+
- blacksmith-4vcpu-ubuntu-2204-arm
7+
- blacksmith-8vcpu-ubuntu-2204

.github/actions/setup-and-build/action.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/actions/setup-nodejs-blacksmith/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ runs:
2626
node-version: ${{ inputs.node-version }}
2727

2828
- name: Setup pnpm and Install Dependencies
29-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.0.0
29+
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
3030
with:
3131
run_install: true
3232

3333
- name: Configure Turborepo Cache
3434
uses: useblacksmith/caching-for-turbo@bafb57e7ebdbf1185762286ec94d24648cd3938a # v1
3535

36-
- name: Setup Blacksmith Buildx for Docker Cache
36+
- name: Setup Docker Builder for Docker Cache
3737
if: ${{ inputs.enable-docker-cache == 'true' }}
38-
uses: useblacksmith/build-push-action@574eb0ee0b59c6a687ace24192f0727dfb65d6d7 # v1.2.0
38+
uses: useblacksmith/setup-docker-builder@0b434dfbb431f4e3a2bcee7a773a56bd363184c5 # v1
3939

4040
- name: Build Project
4141
run: ${{ inputs.build-command }}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: 'GitHub Node.js Build Setup for Github Hosted Runners'
2+
description: 'Configures Node.js with pnpm, installs dependencies, enables Turborepo caching, and builds the project or an optional command.'
3+
4+
inputs:
5+
node-version:
6+
description: 'Node.js version to use. Uses latest 22.x by default.'
7+
required: false
8+
default: '22.x'
9+
build-command:
10+
description: 'Command to execute for building the project or an optional command. Leave empty to skip build step.'
11+
required: false
12+
default: 'pnpm build'
13+
type: string
14+
15+
runs:
16+
using: 'composite'
17+
steps:
18+
- name: Setup Node.js
19+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
20+
with:
21+
node-version: ${{ inputs.node-version }}
22+
23+
- name: Setup pnpm and Install Dependencies
24+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
25+
with:
26+
run_install: true
27+
28+
- name: Configure Turborepo Cache
29+
uses: rharkor/caching-for-turbo@2b4b5b14a8d16b8556a58993a8ac331d56d8906d # v2.3.2
30+
31+
- name: Build Project
32+
run: ${{ inputs.build-command }}
33+
shell: bash

.github/docker-compose.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@ services:
1010
tmpfs:
1111
- /var/lib/mysql
1212

13-
mysql-8.0.13:
14-
image: mysql:8.0.13
15-
environment:
16-
- MYSQL_DATABASE=n8n
17-
- MYSQL_ROOT_PASSWORD=password
18-
ports:
19-
- 3306:3306
20-
tmpfs:
21-
- /var/lib/mysql
22-
2313
mysql-8.4:
2414
image: mysql:8.4
2515
environment:

.github/scripts/bump-versions.mjs

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,24 @@ import assert from 'assert';
77

88
const exec = promisify(child_process.exec);
99

10+
function generateExperimentalVersion(currentVersion) {
11+
const parsed = semver.parse(currentVersion);
12+
if (!parsed) throw new Error(`Invalid version: ${currentVersion}`);
13+
14+
// Check if it's already an experimental version
15+
if (parsed.prerelease.length > 0 && parsed.prerelease[0] === 'exp') {
16+
// Increment the experimental minor version
17+
const expMinor = (parsed.prerelease[1] || 0) + 1;
18+
return `${parsed.major}.${parsed.minor}.${parsed.patch}-exp.${expMinor}`;
19+
}
20+
21+
// Create new experimental version: <major>.<minor>.<patch>-exp.0
22+
return `${parsed.major}.${parsed.minor}.${parsed.patch}-exp.0`;
23+
}
24+
1025
const rootDir = process.cwd();
1126
const releaseType = process.env.RELEASE_TYPE;
12-
assert.match(releaseType, /^(patch|minor|major)$/, 'Invalid RELEASE_TYPE');
27+
assert.match(releaseType, /^(patch|minor|major|experimental)$/, 'Invalid RELEASE_TYPE');
1328

1429
// TODO: if releaseType is `auto` determine release type based on the changelog
1530

@@ -46,7 +61,9 @@ for (const packageName in packageMap) {
4661
Object.keys(packageJson.dependencies || {}).some(
4762
(dependencyName) => packageMap[dependencyName]?.isDirty,
4863
)
49-
? semver.inc(version, releaseType)
64+
? releaseType === 'experimental'
65+
? generateExperimentalVersion(version)
66+
: semver.inc(version, releaseType)
5067
: version;
5168

5269
await writeFile(packageFile, JSON.stringify(packageJson, null, 2) + '\n');

.github/scripts/update-changelog.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import packageJson from '../../package.json' with { type: 'json' };
99

1010
const baseDir = resolve(dirname(fileURLToPath(import.meta.url)), '../..');
1111
const fullChangelogFile = resolve(baseDir, 'CHANGELOG.md');
12+
// Version includes experimental versions (e.g., 1.2.3-exp.0)
1213
const versionChangelogFile = resolve(baseDir, `CHANGELOG-${packageJson.version}.md`);
1314

1415
const changelogStream = conventionalChangelog({

0 commit comments

Comments
 (0)