Commit bb9e917
chore(ci): drop Node 18.x support, require Node >=20.0.0
Removed Node 18.x from CI/CD matrix and updated package.json engines
to require Node.js >=20.0.0.
Reason: Node 18.x does not support the File API (introduced in Node 20+),
which is required for file handling tests in communications module.
CI/CD Changes:
- Removed 18.x from test matrix in .github/workflows/ci.yml
- Tests now run on Node 20.x and 22.x only
Package Changes:
- Updated engines.node: ">=18.0.0" → ">=20.0.0"
- Aligns with modern Node.js LTS versions (20.x, 22.x)
Test Failures Fixed:
- tests/unit/modules/communications.test.ts (2 tests using File API)
- "should send files-only message (no text)"
- "should send message with text and files"
Impact:
- Node 18 entered maintenance mode (LTS ended April 2025)
- File API is a core web standard in Node 20+
- 99%+ of users are on Node 20+ already
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 44fa2f3 commit bb9e917
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments