Skip to content

Commit 72a542c

Browse files
authored
Merge pull request #85 from debugmcp/chore/node-22-floor
chore: raise minimum Node.js to 22 and upgrade which 6 → 7
2 parents dc44c82 + 7c3931b commit 72a542c

29 files changed

Lines changed: 96 additions & 40 deletions

File tree

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ npm test
3838

3939
**Test Configuration**:
4040
- OS: [e.g., Ubuntu 22.04]
41-
- Node version: [e.g., 20.11.0]
41+
- Node version: [e.g., 22.x]
4242
- Python version: [e.g., 3.11.5]
4343

4444
## 📸 Screenshots (if applicable)

‎.nvmrc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
- **Minimum Node.js raised to 22.** All packages now declare `engines.node >=22.0.0`, and the Docker image builds on `node:22-slim`. Node 18 and 20 are no longer supported (Node 20 reached end-of-life April 2026).
12+
13+
### Dependencies
14+
- Bumped `which` 6 → 7 (requires Node 22+). The API is unchanged, and `which` is bundled into the `@debugmcp/mcp-debugger` npx CLI, so end-user installs are unaffected. (supersedes #76)
15+
1016
## [0.20.0] - 2026-03-29
1117

1218
### Added

‎CLAUDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ packages/adapter-{language}/
327327
- The system will auto-detect Python path or use `PYTHON_PATH` env var
328328

329329
### JavaScript/Node.js
330-
- Node.js 18+ must be installed
330+
- Node.js 22+ must be installed
331331
- Uses bundled js-debug adapter (VSCode's debugger)
332332
- Supports JavaScript and TypeScript debugging
333333
- Auto-detects TypeScript configuration

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This project adheres to the [Contributor Covenant Code of Conduct](CODE_OF_CONDU
2222

2323
### Prerequisites
2424

25-
- Node.js 18+ (20.x recommended)
25+
- Node.js 22+
2626
- pnpm (required — `workspace:*` protocol needs pnpm, not npm)
2727
- Python 3.7+ (for debugging Python code)
2828
- Go 1.18+ and Delve (for debugging Go code, optional)

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Stage 1: Build and bundle the TypeScript application
22
ARG DISABLE_LANGUAGES=rust
33

4-
FROM node:20-slim@sha256:f93745c153377ee2fbbdd6e24efcd03cd2e86d6ab1d8aa9916a3790c40313a55 AS builder
4+
FROM node:22-slim@sha256:7af03b14a13c8cdd38e45058fd957bf00a72bbe17feac43b1c15a689c029c732 AS builder
55
ARG DISABLE_LANGUAGES
66
ENV DEBUG_MCP_DISABLE_LANGUAGES=${DISABLE_LANGUAGES}
77

‎docs/ACT_LOCAL_CI_TESTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ act -j build-and-test
226226

227227
4. **Use smaller images** for simple jobs:
228228
```bash
229-
act -j lint -P ubuntu-latest=node:20
229+
act -j lint -P ubuntu-latest=node:22
230230
```
231231

232232
## Project-Specific Notes

‎docs/architecture/adapter-development-guide.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Benefits:
1616

1717
## Prerequisites
1818

19-
- Node.js 18+
19+
- Node.js 22+
2020
- pnpm (not npm) — the monorepo uses `workspace:*` protocol
2121
- TypeScript 5.9+
2222
- Familiarity with the [Debug Adapter Protocol (DAP)](https://microsoft.github.io/debug-adapter-protocol/)

‎docs/architecture/system-overview.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ sequenceDiagram
199199
## Technology Stack
200200

201201
### Core Technologies
202-
- **Runtime**: Node.js 18+ with ES modules
202+
- **Runtime**: Node.js 22+ with ES modules
203203
- **Language**: TypeScript 5.x with strict mode
204204
- **Protocol**: Model Context Protocol (MCP) over stdio or Streamable HTTP (legacy SSE deprecated)
205205
- **Debugging**: Debug Adapter Protocol (DAP) 1.51.0

‎docs/development/setup-guide.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide will help you set up your development environment for working on the
66

77
### Required Software
88

9-
1. **Node.js** (v18.0.0 or higher, 20.x recommended)
9+
1. **Node.js** (v22.0.0 or higher)
1010
- Download from [nodejs.org](https://nodejs.org/)
1111
- Verify installation: `node --version`
1212

@@ -326,9 +326,9 @@ npm install -g npm@latest
326326
# Install nvm
327327
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
328328

329-
# Install and use Node 18
330-
nvm install 18
331-
nvm use 18
329+
# Install and use Node 22
330+
nvm install 22
331+
nvm use 22
332332
```
333333

334334
### Python Issues

0 commit comments

Comments
 (0)