Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ZEPPELIN-5983] Upgrade to NodeJS 16 #4696

Merged
merged 3 commits into from Nov 20, 2023
Merged

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Nov 19, 2023

What is this PR for?

This PR aims to upgrade the NodeJS from 12 to 16, in zeppelin-web and zeppelin-web-angular modules.

In this upgrade, I try my best to minimize the changes. NodeJS 12 is a pretty old one, and NodeJS 16(it was EOL recently too[1]) was chosen as a kind of balance because this project uses some pretty old versions of dependencies. e.g. it's recommended to upgrade to webpack 6 to work with NodeJS 18[2], but Zeppelin uses webpack 3

[1] https://endoflife.date/nodejs
[2] webpack/webpack#14532

What type of PR is it?

  • Improvement

Todos

What is the Jira issue?

ZEPPELIN-5983

How should this be tested?

Pass CI, and manually test by randomly clicking the Web UI page to test the basic functionalities.

Screenshots (if appropriate)

The legacy UI
image

The new UI
image

Questions:

  • Does the license files need to update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? Yes, updated

<node.version>v12.3.1</node.version>
<npm.version>6.9.0</npm.version>
<node.version>v16.20.2</node.version>
<npm.version>8.19.4</npm.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

after I perform nvm install 16

(zeppelin) ➜  zeppelin-web-angular git:(ZEPPELIN-5983) node --version
v16.20.2
(zeppelin) ➜  zeppelin-web-angular git:(ZEPPELIN-5983) npm --version
8.19.4

@pan3793 pan3793 marked this pull request as ready for review November 19, 2023 19:49
@pan3793
Copy link
Member Author

pan3793 commented Nov 19, 2023

cc @jongyoul @Reamer @huage1994 @zjffdu

@jongyoul jongyoul merged commit a3723c5 into apache:master Nov 20, 2023
31 checks passed
akoira pushed a commit to akoira/zeppelin that referenced this pull request Feb 1, 2024
* [ZEPPELIN-5983] Upgrade to NodeJS 16

* empty

* regenerate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants