fix: use stdio-wrapper as bin entry and preserve credentials on workflow update (v2.45.1) (#695)

Switch the npm bin entry from index.js to stdio-wrapper.js to prevent
INFO-level logs from corrupting the JSON-RPC stdio transport. Also update
both publish scripts so the fix persists across releases. Fixes #693.

Preserve node credentials during full workflow updates. AI-generated node
updates typically omit credential references, causing the n8n API to reject
the PUT. The update handler now merges credentials from the current server-side
workflow when user-provided nodes lack them. Fixes #689.

Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Romuald Członkowski
2026-04-02 22:40:17 +02:00
committed by GitHub
parent 8888c63e7a
commit ca20586eda
8 changed files with 186 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "n8n-mcp-runtime",
"version": "2.45.0",
"version": "2.45.1",
"description": "n8n MCP Server Runtime Dependencies Only",
"private": true,
"dependencies": {