Commit Graph
55 Commits
Author SHA1 Message Date
Garrit Franke d16d420871 fix(node-cli): Report why a dev reload did not reach n8n
The dev command discarded the reload result, so a node author saw a
clean compile next to an editor that never updated. triggerReload now
returns the reason, and the help line shows it.

Wait on /healthz/readiness instead of /healthz, which answers before
the controllers are registered and so 404s the reload that follows.

Watch every top-level directory the build copies assets from, rather
than a fixed list of three, so an icon outside nodes/ is not copied at
startup and then ignored. The ignore list is now shared with
copyStaticFiles, so the two cannot drift apart.

Use a VERSION placeholder in the --n8n-image examples, because the
pinned release predates the reload endpoint.
2026-11-30 06:22:28 +00:00
Garrit Franke c554a4ff4b fix(node-cli): Give each n8n image its own dev data volume
The dev container mounted one fixed volume regardless of --n8n-image.
n8n only migrates a database forward, so testing against an older
release after a newer one pointed that older n8n at a database it
cannot read.
2026-11-30 06:22:28 +00:00
Garrit Franke fccab83c6a fix(node-cli): Watch asset roots created after dev starts
Narrowing the static asset watcher to the directories that exist at
startup dropped the one property the previous recursive watch on the
project root had: a directory created later was still picked up. A
project that adds its first root icons folder mid-session got no
watcher, so new SVGs were not copied or reloaded until restart.

Watch the project root non-recursively when an asset root is missing,
and attach the real watcher once it appears. That costs a single
descriptor rather than one per subdirectory.
2026-11-30 06:22:28 +00:00
Garrit Franke 35da77f981 test(node-cli): Assert the whole bind-mount argument against process.cwd()
The assertion matched a substring of the joined arguments against the
fixture's tmpdir. On macOS cwd resolves the /var symlink, so it compared
/var/... against /private/var/..., which still passed only because one is
a prefix of the other. It also passed for any other mount source ending
in the same path.
2026-11-30 06:22:28 +00:00
Garrit Franke 18339e79ee fix(node-cli): Harden the dev command against shell, timeout and port issues
- Pass spawn arguments as an array instead of through a shell, so a project
  path holding $, a backtick, ; or & reaches the child intact. Windows keeps
  a cmd.exe invocation because package managers are .cmd shims, with every
  argument quoted.
- Bound the /healthz and /rest/dev/reload requests with abort signals. An
  accepted-but-unanswered connection previously parked waitForN8n forever, so
  its timeout meant nothing, and every compile leaked a pending reload promise.
- Watch only the directories that hold icons and schemas. Recursive watching
  of the whole project registered watches before filtering them, which on
  Linux can exhaust fs.inotify.max_user_watches.
- Derive the published port from the parsed --n8n-url. An implicit port made
  the mapping disagree with the URL used for readiness and reload, so the
  container never became ready.
- Push one reload once n8n answers. The first clean compile can finish before
  n8n serves the reload endpoint, leaving the node absent until the next edit.
2026-11-30 06:22:28 +00:00
Garrit Franke bd0d2efdec refactor(node-cli): Rename assertEngineRunning to assertEngineReady 2026-11-30 06:22:28 +00:00
Garrit Franke 1c8af3485a refactor(node-cli): Drop --n8n-version in favour of --n8n-image 2026-11-30 06:22:28 +00:00
Garrit Franke c24c6ea988 feat(core)!: Make n8n-node dev run n8n in a container instead of via npx 2026-11-30 06:22:28 +00:00
Benny Neugebauer 1fbca5e279 feat: Add codex-node-name lint rule for community nodes (no-changelog) (#45079) 2026-11-27 00:02:36 +00:00
0c087a5014 fix: Validate community node codex categories in JSON and inline (#39697)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: n8n-cat-bot[bot] <283985454+n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Elias Meire <elias@meire.dev>
2026-11-25 17:34:55 +00:00
Guillaume F.andClaude Sonnet 5 84decbe080 feat: Add dependabot and editor extension recommendations to node-cli's project template (#40916)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-20 13:08:02 +00:00
76f66b42f0 fix: Require operation actions in community nodes (#39460)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Guillaume FELICIANO <guillaume.feliciano@n8n.io>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: n8n-cat-bot[bot] <283985454+n8n-cat-bot[bot]@users.noreply.github.com>
2026-11-16 16:16:26 +00:00
+21 9d82d35cb2 chore: Bundle/2.x (#43761)
Co-authored-by: Matsu <matias.huhta@n8n.io>
Co-authored-by: Veljko Terzic <veljko.terzic@n8n.io>
Co-authored-by: Bernhard Wittmann <bernhard.wittmann@n8n.io>
Co-authored-by: Yuliia Pominchuk <31064937+yuliia-pominchuk@users.noreply.github.com>
Co-authored-by: MHMD <45968454+dou-mhmd@users.noreply.github.com>
Co-authored-by: Miguel Ángel Moreno <1411774+miguelsaddress@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: Luigi Gubello <27034386+luigigubello@users.noreply.github.com>
Co-authored-by: Emilia <100027345+sovietspaceship@users.noreply.github.com>
Co-authored-by: oleg <me@olegivaniv.com>
Co-authored-by: RomanDavydchuk <roman.davydchuk@n8n.io>
Co-authored-by: Stephen Wright <sjw948@gmail.com>
Co-authored-by: Jaakko Husso <jaakko@n8n.io>
Co-authored-by: Irénée <irenee.ajeneza@n8n.io>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Mike Repeć <mike.repec@n8n.io>
Co-authored-by: Ilfat Mindubaev <ilfat.mindubaev@n8n.io>
Co-authored-by: Benjamin Schroth <68321970+schrothbn@users.noreply.github.com>
Co-authored-by: Rick Gale <richardgale90@gmail.com>
Co-authored-by: Svetoslav Dekov <svetoslav.dekov@n8n.io>
Co-authored-by: Elias Meire <elias@meire.dev>
Co-authored-by: Savelii <savelii.sychov@n8n.io>
Co-authored-by: n8n-assistant[bot] <n8n-assistant[bot]@users.noreply.github.com>
Co-authored-by: Dimitri Lavrenük <20122620+dlavrenuek@users.noreply.github.com>
Co-authored-by: Dimitri Lavrenük <dimitri.lavrenuek@n8n.io>
Co-authored-by: Toni Devine <118546181+devinetoni@users.noreply.github.com>
Co-authored-by: Jan Kalkan <jan.kalkan@n8n.io>
Co-authored-by: n8n-assistant[bot] <100856346+n8n-assistant[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-13 07:29:41 +02:00
Elias Meire bf42c73adc ci: Add a weekly broken link check with lychee (no-changelog) (#39740) 2026-11-12 09:37:56 +00:00
Ria Scholz 3502a575f5 fix: Make the programmatic example node template pass lint (#43492) 2026-11-11 14:13:49 +00:00
n8n-cat-bot[bot]andn8n-cat-bot[bot] 73a9216184 docs: Guide community node codex categories (no-changelog) (#39544)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
2026-11-10 14:13:44 +00:00
Benny Neugebauer c123bc77e8 docs: Clarify node style choices in the create-node wizard (#42673) 2026-10-30 09:06:10 +00:00
95026305a9 fix(core): Update regex for scoped node name validation to allow dots in organization names (#34950)
Co-authored-by: Guillaume F. <guillaume.feliciano@n8n.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 16:36:41 +00:00
n8n-cat-bot[bot]andn8n-cat-bot[bot] be2ee6f356 fix: Replace deprecated APIs in services and tooling (#40199)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
2026-10-05 04:50:04 +00:00
Matsu 6337b94d3c chore: Add typescript/no-deprecated and establish a baseline (#40168) 2026-10-02 12:54:37 +00:00
Elias Meire b581d16a82 fix: Update broken external links in node descriptions (no-changelog) (#39710) 2026-10-01 15:42:30 +00:00
Declan Carroll 3f0c7d5bda build: Upgrade Vitest to v5 (no-changelog) (#39674) 2026-09-28 07:54:06 +00:00
n8n-cat-bot[bot]andn8n-cat-bot[bot] a3aa6c0074 fix: Validate node codex categories during linting (#39543)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
2026-09-25 06:04:30 +00:00
Benny Neugebauer d23f949801 fix: Make n8n-node release work with release-it 21 (#39378) 2026-09-23 22:37:00 +00:00
Nguyen Thanh DatandGuillaume F. 8c8bd23364 fix: Keep GitHub Actions expressions intact in scaffolded workflow files (#37973)
Co-authored-by: Guillaume F. <guillaume.feliciano@n8n.io>
2026-09-11 08:08:47 +00:00
MatsuandClaude Opus 5 7be94a1184 chore: Update eslint configuration (#38307)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-10 14:40:35 +03:00
Guillaume F. ad22ee8033 fix: Return list-search pagination token as a string in github-issues template (#36657) 2026-08-20 06:56:45 +00:00
Iván Ovejero d1475ada6e chore: Prepare for Node 26 upgrade (#34340) 2026-07-17 06:32:34 +00:00
MatsuandClaude Opus 4.8 024d04397b chore: Remove shamefully-hoist (#32569)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 10:03:07 +00:00
d580d749f4 fix: Free port 5678 when quitting n8n-node dev (no-changelog) (#30786)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Declan Carroll <declan@n8n.io>
Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
2026-05-27 14:52:06 +01:00
Garrit FrankeandClaude Opus 4.7 0626ed2d6e fix: Include .gitignore in node-cli generated projects (#30068)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 16:48:20 +00:00
Garrit FrankeandClaude Opus 4.7 8b54333739 fix(core): Lint package.json in community node tooling (no-changelog) (#29864)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 10:56:31 +00:00
MatsuandClaude Sonnet 4.6 a2ff55c1f9 chore: Reuse ts-morph Project instance across custom template run (no-changelog) (#28972)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 11:23:18 +00:00
Matsu efc474cc01 chore: Vite 8 upgrade (#27680) 2026-04-02 09:27:10 +03:00
Garrit FrankeandClaude Sonnet 4.6 34894af3fa feat: Add --init-workflow flag to scaffold publish.yml (#27292)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 05:45:37 +00:00
Garrit Franke b13b280443 feat: Add publish workflow to node-cli (#27288) 2026-03-20 10:47:21 +00:00
RomanDavydchukandcubic-dev-ai[bot] ce11638ace feat: Add AGENTS.md for community node templates (no-changelog) (#26693)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-03-09 09:42:22 +00:00
Garrit Franke ec0cf13141 feat: Add optional --publish flag to n8n-node release command (#26688) 2026-03-06 14:43:51 +00:00
Garrit Frankeandaikido-pr-checks[bot] 0057bf38fc feat: Add support for publishing community nodes through GitHub Actions (#26597)
Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com>
2026-03-06 09:20:51 +00:00
Declan CarrollandClaude Opus 4.6 7af85fc297 fix(core): Increase timeout for workflow execution tests (#26150)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:34:55 +00:00
Dawid Myslak da11043e96 chore(core): Add preview notice to AI node SDK and CLI prompts (#26045) 2026-02-20 20:26:18 +00:00
yehorkardashandDawid Myslak 62dda8391a feat: Update CLI examples (#25881)
Co-authored-by: Dawid Myslak <dawid.myslak@gmail.com>
2026-02-19 14:11:47 +00:00
Declan Carroll e3eafc7e87 feat: Update default Node.js version to v24 (#25707) 2026-02-13 10:56:01 +00:00
Ricardo Espinoza 6084fc406f chore: Remove N8N_RUNNERS_ENABLED env variable (no-changelog) (#23885) 2026-01-12 13:38:33 +00:00
Elias Meire 970f1b7070 fix: Improve dev mode output and command reliability in n8n-node CLI (#21231) 2025-11-14 09:42:24 +01:00
Elias Meire 18531086a9 fix: Use correct enum import in CLI node templates (#20950) 2025-10-21 11:21:03 +02:00
Elias Meire b1baca5c6c feat: Add strict mode and cloud lint rules to @n8n/node-cli (#20142) 2025-10-10 19:26:35 +02:00
Deborah Barnardandcubic-dev-ai[bot] 3ad070621f fix: Update links (#20022)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-03 12:28:15 +01:00
RomanDavydchuk c3fff03945 fix: n8n-node not working on Windows (#20091) 2025-09-29 17:54:03 +03:00
Elias Meire 14a7c36673 fix: Improve Node CLI error messages and dev command exit behavior (#19637) 2025-09-17 14:10:27 +02:00