opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.68k stars 882 forks source link

[BUG] EOL of Node.js version 18.x used in Opensearch-dashboards #8463

Open Chandana-EP opened 2 weeks ago

Chandana-EP commented 2 weeks ago

Node.js version 18.x will reach its end of life on April 30th, 2025.

Expected behavior Opensearch-dashboards to not bundle dependencies/libraries that have reached EOL and aren't supported anymore.

Dashboards Version 2.14.0

When can we expect the NodeJS Non-EOL version update for Opensearch Dashboards ??

ananzh commented 6 days ago

Node 18 ends security support on 4/30/2025.

Screenshot 2024-10-14 at 6 59 20 PM

Should we plan to bump to 20 or 22?

CC: @ashwin-pc @AMoo-Miki

AMoo-Miki commented 5 days ago

Due to its commitment to backward compatibility within a major version, OSD 2.x will need to support Node.js versions 14, 16, and 18. It is likely that OSD will need to upgrade or replace numerous libraries to ensure compatibility with Node.js 20 or 22 during both the development and runtime execution phases. While some libraries may run correctly with an older version of Node.js at runtime, developing with them on older Node.js versions may not be possible. If these upgrades impose any breaking changes, it is highly probable that Node.js upgrades will need to be deferred until the release of OSD 3.x.

In my opinion, there should be no issues using OSD 2.x runtime on Node.js 20 or 22, and the documentation provides instructions for utilizing these versions in your runtime environment. Maybe post back if you give it a shot.