You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@zeppelin.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/11/19 16:17:12 UTC

[PR] [ZEPPELIN-5983] Upgrade to NodeJS 16 [zeppelin]

pan3793 opened a new pull request, #4696:
URL: https://github.com/apache/zeppelin/pull/4696

   ### 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, but Zeppelin use webpack 3
   
   [1] https://endoflife.date/nodejs
   [2] https://github.com/webpack/webpack/issues/14532
   
   ### What type of PR is it?
   
   - Improvement
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
   * Put link here, and add [ZEPPELIN-*Jira number*] in PR title, eg. [ZEPPELIN-533]
   
   ### 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)
   
   ### Questions:
   * Does the license files need to update? No 
   * Is there breaking changes for older versions? No 
   * Does this needs documentation? Yes, updated 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-5983] Upgrade to NodeJS 16 [zeppelin]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on PR #4696:
URL: https://github.com/apache/zeppelin/pull/4696#issuecomment-1817960398

   cc @jongyoul @Reamer @huage1994 @zjffdu 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-5983] Upgrade to NodeJS 16 [zeppelin]

Posted by "jongyoul (via GitHub)" <gi...@apache.org>.
jongyoul merged PR #4696:
URL: https://github.com/apache/zeppelin/pull/4696


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ZEPPELIN-5983] Upgrade to NodeJS 16 [zeppelin]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on code in PR #4696:
URL: https://github.com/apache/zeppelin/pull/4696#discussion_r1398433391


##########
pom.xml:
##########
@@ -110,8 +110,8 @@
     <scalacheck.version>1.12.5</scalacheck.version>
 
     <!-- frontend maven plugin related versions-->
-    <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>

Review Comment:
   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
   ```



##########
pom.xml:
##########
@@ -110,8 +110,8 @@
     <scalacheck.version>1.12.5</scalacheck.version>
 
     <!-- frontend maven plugin related versions-->
-    <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>

Review Comment:
   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
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org