dspace 7.x and support for node js v18

146 views
Skip to first unread message

Allan Pickett

unread,
Sep 27, 2022, 4:16:59 AM9/27/22
to DSpace Technical Support

Would anyone know if there are plans to add support for nodejs v18 as part of the maintenance for DSpace 7 as nodejs v16 will be end of life next year?  And in which sub release this support be aiming for?

Knowing this would help enormously with scheduling our project.

Should I log an enhancement request for this?

Can see that nodejs end of life is soon, with security updates to finish on 11 Sep 2023.

We have been a dspace user for many years now and we are currently planning an upgrade to v7. Thanks to everyone for all their effort.

Regards - Allan



Mark H. Wood

unread,
Sep 27, 2022, 8:33:36 AM9/27/22
to dspac...@googlegroups.com
On Tue, Sep 27, 2022 at 01:16:59AM -0700, Allan Pickett wrote:
>
> Would anyone know if there are plans to add support for nodejs v18 as part
> of the maintenance for DSpace 7 as nodejs v16 will be end of life next
> year? And in which sub release this support be aiming for?

If you just want to be able to build and run it on node 18, this works
for me:

diff --git a/package.json b/package.json
index 33e337121..aee1a4083 100644
--- a/package.json
+++ b/package.json
@@ -172,7 +172,7 @@
"eslint": "^8.2.0",
"eslint-plugin-deprecation": "^1.3.2",
"eslint-plugin-import": "^2.25.4",
- "eslint-plugin-jsdoc": "^38.0.6",
+ "eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-unused-imports": "^2.0.0",
"express-static-gzip": "^2.1.5",
"fork-ts-checker-webpack-plugin": "^6.0.3",
@@ -209,7 +209,7 @@
"ts-loader": "^5.2.0",
"ts-node": "^8.10.2",
"typescript": "~4.5.5",
- "webpack": "^5.69.1",
+ "webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^4.5.0"

I will bring up the question of *official support*.

> Knowing this would help enormously with scheduling our project.
>
> Should I log an enhancement request for this?

Yes, that would be helpful.

> Can see that nodejs end of life is soon, with security updates to finish on
> 11 Sep 2023.
> Details here - https://nodejs.org/ar/blog/announcements/nodejs16-eol/

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc

Allan Pickett

unread,
Sep 28, 2022, 4:31:05 AM9/28/22
to DSpace Technical Support
Feature request has been submitted.

We are looking to deploy early next year, so it would need to be on a supported version of nodejs etc. However our devs will appreciate your hints.

Regards - Allan

Tim Donohue

unread,
Sep 29, 2022, 4:22:54 PM9/29/22
to DSpace Technical Support
Hi Allan & all,

Just added a comment to the ticket on this request: https://github.com/DSpace/dspace-angular/issues/1865#issuecomment-1262772639

We discussed this today & agree that Node 18 support needs to happen soon. However, it looks like the current code doesn't run on Node 18 & changes will be needed.  These changes likely won't happen in time for 7.4 (due in early Oct).  So, it's more likely Node 18 support will come in 7.5 (due in Feb).

Tim

Allan Pickett

unread,
Oct 3, 2022, 3:29:22 AM10/3/22
to DSpace Technical Support
That is great news. Really helps our deployment process to know this.
Regards - Allan
Reply all
Reply to author
Forward
0 new messages