Skip to content

feat!: drop Node.js 20 support - #516

Merged
groupsky merged 1 commit into
mainfrom
feat/node-22-24-26
Oct 12, 2026
Merged

groupsky merged 1 commit into
mainfrom
feat/node-22-24-26

Conversation

@groupsky

Copy link
Copy Markdown
Owner

Summary

Node.js 20 reached end-of-life on 2026-04-30 and gets no more security fixes. Several dependency majors (chalk 6, @lerna-lite 5, npm 12) already require Node.js 22 or newer, so keeping Node.js 20 blocks those updates.

Node.js 26 support waits for serialport/bindings-cpp#239: on Node.js 26.4 and newer the serialport poller callback does not run pending promise work, so serial (RTU) reads time out.

  • engines: root 22 || 24 (drives the CI test matrix), packages >=22.0.0
  • CI: remove the npm@11 install step that only Node.js 20 needed
  • @types/node: move to 22.x and pin Dependabot to v22 (ignore >=23)
  • dependabot-verify: read the minimum version from the 22 || 24 engines format and accept several matching @types/node ignore rules (before, the check found no >= and skipped with a warning)
  • docs: update the supported Node.js versions

BREAKING CHANGE: Node.js 20 is no longer supported. Use Node.js 22 or 24.

@pkg-pr-new

pkg-pr-new Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@ya-modbus/cli

npm i https://pkg.pr.new/@ya-modbus/cli@516

@ya-modbus/device-profiler

npm i https://pkg.pr.new/@ya-modbus/device-profiler@516

@ya-modbus/driver-ex9em

npm i https://pkg.pr.new/@ya-modbus/driver-ex9em@516

@ya-modbus/driver-loader

npm i https://pkg.pr.new/@ya-modbus/driver-loader@516

@ya-modbus/driver-or-we-516

npm i https://pkg.pr.new/@ya-modbus/driver-or-we-516@516

@ya-modbus/driver-sdk

npm i https://pkg.pr.new/@ya-modbus/driver-sdk@516

@ya-modbus/driver-types

npm i https://pkg.pr.new/@ya-modbus/driver-types@516

@ya-modbus/driver-xymd1

npm i https://pkg.pr.new/@ya-modbus/driver-xymd1@516

@ya-modbus/emulator

npm i https://pkg.pr.new/@ya-modbus/emulator@516

@ya-modbus/mqtt-bridge

npm i https://pkg.pr.new/@ya-modbus/mqtt-bridge@516

@ya-modbus/transport

npm i https://pkg.pr.new/@ya-modbus/transport@516

commit: dd77d47

Node.js 20 reached end-of-life on 2026-04-30 and gets no more security
fixes. Several dependency majors (chalk 6, @lerna-lite 5, npm 12) already
require Node.js 22 or newer, so keeping Node.js 20 blocks those updates.

Node.js 26 support waits for serialport/bindings-cpp#239: on Node.js
>=26.4 the serialport poller callback does not run pending promise work,
so serial (RTU) reads time out.

- engines: root "22 || 24" (drives the CI test matrix), packages
  ">=22.0.0" (no production dependency needs a newer 22.x)
- CI: remove the npm@11 install step that only Node.js 20 needed
- @types/node: move to 22.x and pin Dependabot to v22 (ignore >=23)
- dependabot-verify: read the minimum version from the "22 || 24"
  engines format and accept several matching @types/node ignore rules;
  before, the check found no ">=" and skipped with a warning
- docs: update the supported Node.js versions

BREAKING CHANGE: Node.js 20 is no longer supported. Use Node.js 22 or 24.
@groupsky
groupsky merged commit 70002ab into main Oct 12, 2026
13 checks passed
@groupsky
groupsky deleted the feat/node-22-24-26 branch October 12, 2026 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant