chore: bump version to 2.31.8 and add CHANGELOG entry

- Fix comment inaccuracy: "deprecated" not "deprecated and removed"
- Bump version from 2.31.7 to 2.31.8
- Add CHANGELOG entry documenting USE_FIXED_HTTP deprecation
- Update all deprecation messages to reference v2.31.8

Concieved by Romuald Członkowski - www.aiadvisors.pl/en

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Romuald Członkowski
2026-01-07 13:19:23 +01:00
parent abc01151f4
commit 3570c1669f
7 changed files with 31 additions and 6820 deletions

View File

@@ -37,7 +37,7 @@ MCP_SERVER_HOST=localhost
# Server mode: stdio (local) or http (remote)
MCP_MODE=stdio
# DEPRECATED: USE_FIXED_HTTP is deprecated as of v2.31.7
# DEPRECATED: USE_FIXED_HTTP is deprecated as of v2.31.8
# The fixed HTTP implementation does not support SSE streaming required by
# clients like OpenAI Codex. Use the default SingleSessionHTTPServer instead.
# See: https://github.com/czlonkowski/n8n-mcp/issues/524

File diff suppressed because it is too large Load Diff

View File

@@ -74,7 +74,7 @@ ENV AUTH_TOKEN="REPLACE_THIS_AUTH_TOKEN_32_CHARS_MIN_abcdefgh"
ENV NODE_ENV=production
ENV IS_DOCKER=true
ENV MCP_MODE=http
# NOTE: USE_FIXED_HTTP is deprecated and removed. SingleSessionHTTPServer is now the default.
# NOTE: USE_FIXED_HTTP is deprecated. SingleSessionHTTPServer is now the default.
# See: https://github.com/czlonkowski/n8n-mcp/issues/524
ENV LOG_LEVEL=info
ENV TRUST_PROXY=1

View File

@@ -12,7 +12,7 @@ services:
environment:
# Mode configuration
MCP_MODE: ${MCP_MODE:-http}
# NOTE: USE_FIXED_HTTP is deprecated and removed. SingleSessionHTTPServer is now the default.
# NOTE: USE_FIXED_HTTP is deprecated. SingleSessionHTTPServer is now the default.
# See: https://github.com/czlonkowski/n8n-mcp/issues/524
AUTH_TOKEN: ${AUTH_TOKEN:?AUTH_TOKEN is required for HTTP mode}

View File

@@ -1,6 +1,6 @@
{
"name": "n8n-mcp",
"version": "2.31.7",
"version": "2.31.8",
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env node
/**
* @deprecated This fixed HTTP server is deprecated as of v2.31.7.
* @deprecated This fixed HTTP server is deprecated as of v2.31.8.
* Use SingleSessionHTTPServer from http-server-single-session.ts instead.
*
* This implementation does not support SSE streaming required by clients like OpenAI Codex.
@@ -139,7 +139,7 @@ async function shutdown() {
export async function startFixedHTTPServer() {
// Log deprecation warning
logger.warn(
'DEPRECATION: startFixedHTTPServer() is deprecated as of v2.31.7. ' +
'DEPRECATION: startFixedHTTPServer() is deprecated as of v2.31.8. ' +
'Use SingleSessionHTTPServer which supports SSE streaming. ' +
'See: https://github.com/czlonkowski/n8n-mcp/issues/524'
);

View File

@@ -129,13 +129,13 @@ Learn more: https://github.com/czlonkowski/n8n-mcp/blob/main/PRIVACY.md
// DEPRECATION WARNING: Fixed HTTP implementation is deprecated
// It does not support SSE streaming required by clients like OpenAI Codex
logger.warn(
'DEPRECATION WARNING: USE_FIXED_HTTP=true is deprecated as of v2.31.7. ' +
'DEPRECATION WARNING: USE_FIXED_HTTP=true is deprecated as of v2.31.8. ' +
'The fixed HTTP implementation does not support SSE streaming required by clients like OpenAI Codex. ' +
'Please unset USE_FIXED_HTTP to use the modern SingleSessionHTTPServer which supports both JSON-RPC and SSE. ' +
'This option will be removed in a future version. See: https://github.com/czlonkowski/n8n-mcp/issues/524'
);
console.warn('\n⚠ DEPRECATION WARNING ⚠️');
console.warn('USE_FIXED_HTTP=true is deprecated as of v2.31.7.');
console.warn('USE_FIXED_HTTP=true is deprecated as of v2.31.8.');
console.warn('The fixed HTTP implementation does not support SSE streaming.');
console.warn('Please unset USE_FIXED_HTTP to use SingleSessionHTTPServer.');
console.warn('See: https://github.com/czlonkowski/n8n-mcp/issues/524\n');