Skip to content

feat: added support for v26#2524

Merged
aryamohanan merged 15 commits into
mainfrom
feat-v26
May 13, 2026
Merged

feat: added support for v26#2524
aryamohanan merged 15 commits into
mainfrom
feat-v26

Conversation

@aryamohanan
Copy link
Copy Markdown
Contributor

@aryamohanan aryamohanan commented Apr 28, 2026

Tasks

ref https://jsw.ibm.com/browse/INSTA-80071

Issues

Node.js comes with V8 14.6 and some breaking changes. There are open issues to support Node.js on Nan and yargs:

Let's wait for the v26 fixes

@aryamohanan
Copy link
Copy Markdown
Contributor Author

Currently the prebuilds are not working:

This seems to be due to NAN (Native Abstractions for Node.js) not supporting Node.js v26 yet. See: https://github.com/nodejs/nan#native-abstractions-for-nodejs

The current NAN version 2.26.2 only supports Node.js up to version 25. Node.js v26 introduced breaking changes in the V8 API that are incompatible with NAN.
Prebuilds for Node.js v26 cannot be generated until NAN releases v26 support or we migrate to node-addon-api (N-API)

The gc-stats also filing on npm install step, because of the nan.

I've created an issue here nodejs/nan#1017

Comment thread package.json Outdated
"nan": "2.27.0"
},
"mocha": {
"yargs": "18.0.0"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yargs v18 currently not compatible with Node.js v18, we skip v18 build for now, until yargs resolves the compatibility issue.

card: https://jsw.ibm.com/browse/INSTA-89969

Comment thread package.json
"moment": "2.30.1",
"morgan": "1.10.0",
"nan": "2.22.2",
"nan": "2.27.0",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nan v2.27.0 added support for v26

Comment thread currencies.json
{
"v": "7.8.0",
"node": ">=20.19.0 <23 || >=24",
"node": ">=20.19.0 <23 || >=24 <26",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prisma currently failing for v26, skipped for now. card: https://jsw.ibm.com/browse/INSTA-89970

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Moved to blocked. Are they aware already?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I will create a git issue later

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oki. I allow it.
👹

@aryamohanan aryamohanan marked this pull request as ready for review May 13, 2026 11:34
@aryamohanan aryamohanan requested a review from a team as a code owner May 13, 2026 11:34
@kirrg001
Copy link
Copy Markdown
Contributor

Really great work <3 As discussed, we will try mocha-v18 to run the v18 tests in a separate PR

Copy link
Copy Markdown
Contributor

@abhilash-sivan abhilash-sivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We should run the ESM pipelines too before merging

@sonarqubecloud
Copy link
Copy Markdown

@aryamohanan aryamohanan merged commit acd19f1 into main May 13, 2026
5 checks passed
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.

3 participants