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

chore!: upgrade to Node 18 #353

Merged
merged 22 commits into from
Feb 15, 2025
Merged

chore!: upgrade to Node 18 #353

merged 22 commits into from
Feb 15, 2025

Conversation

sofisl
Copy link
Contributor

@sofisl sofisl commented Feb 12, 2025

  • runs https://paste.googleplex.com/5722106875871232
  • updates all dependencies to their latest version if compatible
  • updates CI/CD and Kokoro to use Node 18
  • runs lint
  • updates post-processor version to latest
  • removes outdated Kokoro folders
  • upgrades node-fetch to v3
  • drops UUID

@sofisl sofisl requested a review from a team as a code owner February 12, 2025 02:59
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Feb 12, 2025
Copy link

generated-files-bot bot commented Feb 12, 2025

Warning: This pull request is touching the following templated files:

  • .kokoro/common.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/continuous/node18/common.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/continuous/node18/lint.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/continuous/node18/samples-test.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/continuous/node18/system-test.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/continuous/node18/test.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/presubmit/node18/common.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/presubmit/node18/samples-test.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/presubmit/node18/system-test.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/presubmit/node18/test.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/release/docs-devsite.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/release/docs.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/release/docs.sh - .kokoro files are templated and should be updated in synthtool
  • .kokoro/release/publish.cfg - .kokoro files are templated and should be updated in synthtool
  • .kokoro/samples-test.sh - .kokoro files are templated and should be updated in synthtool
  • .kokoro/system-test.sh - .kokoro files are templated and should be updated in synthtool
  • .kokoro/test.bat - .kokoro files are templated and should be updated in synthtool
  • .kokoro/test.sh - .kokoro files are templated and should be updated in synthtool
  • .kokoro/trampoline_v2.sh - .kokoro files are templated and should be updated in synthtool
  • .github/workflows/ci.yaml - .github/workflows/ci.yaml (GitHub Actions) should be updated in synthtool

@sofisl sofisl added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 12, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 12, 2025
@sofisl sofisl added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 12, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 12, 2025
@sofisl sofisl added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 12, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 12, 2025
package.json Outdated
@@ -40,27 +40,27 @@
"dependencies": {
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.0",
"node-fetch": "^2.6.9",
"node-fetch": "^2.7.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

package.json Outdated
"stream-events": "^1.0.5",
"uuid": "^9.0.0"
"uuid": "^11.0.5"
Copy link
Contributor

Choose a reason for hiding this comment

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

UUID is globally available as of Node 18+. Here’s how we can drop this dependency:

@product-auto-label product-auto-label bot removed the size: m Pull request size is medium. label Feb 15, 2025
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Feb 15, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Feb 15, 2025
@sofisl
Copy link
Contributor Author

sofisl commented Feb 15, 2025

@d-goog thank you for the review and pointers! TBH, I had tried to upgrade to node-fetch v3 but couldn't figure it out. Thanks for the pointers!

Copy link
Contributor

@d-goog d-goog left a comment

Choose a reason for hiding this comment

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

Looks great!

@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Feb 15, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Feb 15, 2025
@sofisl sofisl merged commit 4a5c834 into main Feb 15, 2025
16 checks passed
@sofisl sofisl deleted the upgradeToNode18 branch February 15, 2025 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants