mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-01-30 06:22:04 +00:00
This commit fixes two critical bugs affecting AI Agent and other langchain nodes: 1. Version Extraction Bug (node-parser.ts) - AI Agent was returning version "3" instead of "2.2" (the defaultVersion) - Root cause: extractVersion() checked non-existent instance.baseDescription.defaultVersion - Fix: Updated priority to check currentVersion first, then description.defaultVersion - Impact: All VersionedNodeType nodes now return correct version 2. typeVersion Validation Bypass (workflow-validator.ts) - Langchain nodes with invalid typeVersion passed validation (even typeVersion: 99999) - Root cause: langchain skip happened before typeVersion validation - Fix: Moved typeVersion validation before langchain parameter skip - Impact: Invalid typeVersion values now properly caught for all nodes Also includes: - Database rebuilt with corrected version data (536 nodes) - Version bump: 2.17.3 → 2.17.4 - Comprehensive CHANGELOG entry 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>