2.x compatibility with last stable version of nodeJS
complete
DroidBV8
Thank you very much Nicolas Nicolas Giard for all your efforts.
I will be able to put v2 back into production It's going to be great while waiting for v3 ;)
Nicolas Giard
complete
v2.5.300 is now compatible with Node.js 18.x and 20.x
DroidBV8
yep I understand Nicolas Giard
It's just that I use a forum under NodeJS on my server hosting the wiki which runs on the latest stable version of nodeJS and before on 16.x.
Which means that I can no longer offer wiki.js to my users.
So I'm waiting impatiently for V3 to be able to offer my wiki to my users again.
EDIT:
If I'm not mistaken the latest LTS version of NodeJS is 18.16.0 LTS no ? Not 16.x ?
Nicolas Giard
DroidBV8: That's not how LTS works. 16.x is an LTS version (just like 18.x or 20.x) which is still being maintained and patched. It is just as secure as newer versions, albeit without the "shiny" new features. See https://github.com/nodejs/release#release-schedule
You can also have multiple node versions on the same server. That's definitely not a limitation preventing you from having multiple apps using different versions.
DroidBV8
Nicolas Giard:
"You can also have multiple node versions on the same server."
there is a special wiki.js configuration for that ?
How it's work ?
Thanks
Nicolas Giard
DroidBV8: There're many ways to achieve this and it's not specific to Wiki.js. You could specify a different node executable path in your service, or use Docker. Google it.
Nicolas Giard
under review
Nicolas Giard
It's not that simple. 18.x introduces breaking changes with dependencies used heavily in v2. Fixing them is not trivial.
16.x is still LTS and patched, so the "for security reasons" is not a valid reason here. This can be revisited once the LTS period ends, which by then v3 will hopefully be released (v3 will require Node 18.x or later).