diff --git a/Dockerfile b/Dockerfile index 4a42263..4edb1a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Ultra-optimized Dockerfile - minimal runtime dependencies (no n8n packages) # Stage 1: Builder (TypeScript compilation only) -FROM node:20-alpine AS builder +FROM node:22-alpine AS builder WORKDIR /app # Copy tsconfig for TypeScript compilation @@ -22,7 +22,7 @@ COPY src ./src RUN npx tsc # Stage 2: Runtime (minimal dependencies) -FROM node:20-alpine AS runtime +FROM node:22-alpine AS runtime WORKDIR /app # Install only essential runtime tools diff --git a/Dockerfile.railway b/Dockerfile.railway index 1b498e2..76b31fc 100644 --- a/Dockerfile.railway +++ b/Dockerfile.railway @@ -2,7 +2,7 @@ # Railway-compatible Dockerfile for n8n-mcp # --- Stage 1: Builder --- -FROM node:20-alpine AS builder +FROM node:22-alpine AS builder WORKDIR /app # Install system dependencies for native modules @@ -22,7 +22,7 @@ COPY src ./src RUN npm run build # --- Stage 2: Runtime --- -FROM node:20-alpine AS runtime +FROM node:22-alpine AS runtime WORKDIR /app # Install system dependencies diff --git a/Dockerfile.test b/Dockerfile.test index d339222..156bd9a 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,5 +1,5 @@ # Quick test Dockerfile using pre-built files -FROM node:20-alpine +FROM node:22-alpine WORKDIR /app diff --git a/README.md b/README.md index abb22dc..6165d30 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub stars](https://img.shields.io/github/stars/czlonkowski/n8n-mcp?style=social)](https://github.com/czlonkowski/n8n-mcp) -[![Version](https://img.shields.io/badge/version-2.7.21-blue.svg)](https://github.com/czlonkowski/n8n-mcp) +[![Version](https://img.shields.io/badge/version-2.7.22-blue.svg)](https://github.com/czlonkowski/n8n-mcp) [![npm version](https://img.shields.io/npm/v/n8n-mcp.svg)](https://www.npmjs.com/package/n8n-mcp) [![n8n version](https://img.shields.io/badge/n8n-v1.103.2-orange.svg)](https://github.com/n8n-io/n8n) [![Docker](https://img.shields.io/badge/docker-ghcr.io%2Fczlonkowski%2Fn8n--mcp-green.svg)](https://github.com/czlonkowski/n8n-mcp/pkgs/container/n8n-mcp) diff --git a/data/nodes.db b/data/nodes.db index ff5e34a..c5551fe 100644 Binary files a/data/nodes.db and b/data/nodes.db differ diff --git a/docker-compose.extract.yml b/docker-compose.extract.yml index 7f10d76..6a37767 100644 --- a/docker-compose.extract.yml +++ b/docker-compose.extract.yml @@ -24,7 +24,7 @@ services: # Extractor service that will read from the mounted volumes node-extractor: - image: node:18-alpine + image: node:22-alpine container_name: n8n-node-extractor working_dir: /app depends_on: diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 0736ce7..49f2e1c 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.7.22] - 2025-07-28 + +### Security +- **Docker base images**: Updated from Node.js 20 Alpine to Node.js 22 LTS Alpine + - Addresses known vulnerabilities in older Alpine images + - Provides better long-term support with Node.js 22 LTS (supported until April 2027) + - All Dockerfiles updated: `Dockerfile`, `Dockerfile.railway`, `Dockerfile.test` + - Docker Compose extractor service updated to use Node.js 22 + - Documentation updated to reflect new base image version + +### Compatibility +- Tested and verified compatibility with Node.js 22 LTS +- All dependencies work correctly with the new Node.js version +- Docker builds complete successfully with improved security posture + ## [2.7.21] - 2025-07-23 ### Updated @@ -759,6 +774,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Basic n8n and MCP integration - Core workflow automation features +[2.7.22]: https://github.com/czlonkowski/n8n-mcp/compare/v2.7.21...v2.7.22 +[2.7.21]: https://github.com/czlonkowski/n8n-mcp/compare/v2.7.20...v2.7.21 +[2.7.20]: https://github.com/czlonkowski/n8n-mcp/compare/v2.7.19...v2.7.20 [2.7.19]: https://github.com/czlonkowski/n8n-mcp/compare/v2.7.18...v2.7.19 [2.7.18]: https://github.com/czlonkowski/n8n-mcp/compare/v2.7.17...v2.7.18 [2.7.17]: https://github.com/czlonkowski/n8n-mcp/compare/v2.7.16...v2.7.17 diff --git a/docs/DOCKER_README.md b/docs/DOCKER_README.md index 4ef3f49..d7adbaf 100644 --- a/docs/DOCKER_README.md +++ b/docs/DOCKER_README.md @@ -482,7 +482,7 @@ secrets: ### Image Details -- Base: `node:20-alpine` +- Base: `node:22-alpine` - Size: ~280MB compressed - Features: Pre-built database with all node information - Database: Complete SQLite with 525+ nodes diff --git a/package.json b/package.json index d330f11..ce6a6fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "n8n-mcp", - "version": "2.7.21", + "version": "2.7.22", "description": "Integration between n8n workflow automation and Model Context Protocol (MCP)", "main": "dist/index.js", "bin": { diff --git a/package.runtime.json b/package.runtime.json index 69718e1..ab3c85d 100644 --- a/package.runtime.json +++ b/package.runtime.json @@ -1,6 +1,6 @@ { "name": "n8n-mcp-runtime", - "version": "2.7.21", + "version": "2.7.22", "description": "n8n MCP Server Runtime Dependencies Only", "private": true, "dependencies": {