You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider changing the minimum required version of NodeJS from 16 to 20 #11481
I think we should change the minimum required version of NodeJS from 16 to 20.
The main reason for changing the version, is because I want to update several npm dependencies, but some of those dependencies require NodeJS 18 or higher. One of the npm packages I wish to update is copy-webpack-plugin, which has reduced its dependencies count from 91 down to 19.
The github action are currently running version 20, which means we are not actively testing for issues on older versions of node, this change was introduced over a year ago with #10455.
I have done some initial testing on my own pc, version 16, 18 and 20 seems to be building fine. I am using version 22 on a daily basis, but I noticed that building the documentation doesn't work with this version, I believe this is due to docma being deprecated and no longer actively maintained.
changed the title [-]Consider raising minimum required version of NodeJS to version 20[/-][+]Consider raising minimum required version of NodeJS from 16 to 20[/+]on Sep 15, 2025
changed the title [-]Consider raising minimum required version of NodeJS from 16 to 20[/-][+]Consider changing the minimum required version of NodeJS from 16 to 20[/+]on Sep 16, 2025
I agree on all points.
Regarding the failure on jsdoc build on node 22, can be due to the docma+custom jsdoc (@geosolutions-it/jsdoc) used.
We may try to update jsdoc to latest version to make it work.
Our plan is to set minimum version to 20 from 2025.02.00 . At the moment I don't see any reason to maintain compatibility with Node 16 or 18, we should concentrate solve issues for next versions.
I did a test to check if an update to docma could solve the issue with node 22, but it is not sufficient.
Moreover docma project is not updated for a long time.
Therefore we have to plan to switch the documentation system, using pure JSDoc, or an existing documentation system.
For the moment we can only
Set the required minor version of Node to 20.
Open an issue in order to make documentation compatible with future versions of NodeJS.
Activity
[-]Consider raising minimum required version of NodeJS to version 20[/-][+]Consider raising minimum required version of NodeJS from 16 to 20[/+][-]Consider raising minimum required version of NodeJS from 16 to 20[/-][+]Consider changing the minimum required version of NodeJS from 16 to 20[/+]offtherailz commentedon Oct 2, 2025
I agree on all points.
Regarding the failure on jsdoc build on node 22, can be due to the docma+custom jsdoc (
@geosolutions-it/jsdoc) used.We may try to update jsdoc to latest version to make it work.
Our plan is to set minimum version to 20 from 2025.02.00 . At the moment I don't see any reason to maintain compatibility with Node 16 or 18, we should concentrate solve issues for next versions.
offtherailz commentedon Oct 10, 2025
I did a test to check if an update to docma could solve the issue with node 22, but it is not sufficient.
Moreover docma project is not updated for a long time.
Therefore we have to plan to switch the documentation system, using pure JSDoc, or an existing documentation system.
For the moment we can only