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

feat(node-v21): added support for node v21 #947

Merged
merged 10 commits into from
Dec 8, 2023
Merged

feat(node-v21): added support for node v21 #947

merged 10 commits into from
Dec 8, 2023

Conversation

aryamohanan
Copy link
Contributor

@aryamohanan aryamohanan commented Nov 27, 2023

Problems:
Node v21 is not working with ESM nodejs/loaders#147
Open issue for Node v21 for google googleapis/nodejs-storage#2368

@aryamohanan aryamohanan changed the base branch from v3-drop-libs to v3 November 27, 2023 08:17
@aryamohanan aryamohanan force-pushed the feat/nodev21 branch 4 times, most recently from f5fd53c to cf0d664 Compare November 29, 2023 17:03
@kirrg001 kirrg001 force-pushed the v3 branch 3 times, most recently from bf0a943 to c6cc27c Compare November 30, 2023 10:43
@aryamohanan aryamohanan force-pushed the feat/nodev21 branch 4 times, most recently from 9340afb to 69857ff Compare December 1, 2023 11:40
.circleci/config.yml Outdated Show resolved Hide resolved
@aryamohanan aryamohanan removed the WIP label Dec 4, 2023
@aryamohanan aryamohanan marked this pull request as ready for review December 4, 2023 12:06
@aryamohanan aryamohanan requested a review from a team as a code owner December 4, 2023 12:06
.circleci/config.yml Outdated Show resolved Hide resolved
@kirrg001
Copy link
Contributor

kirrg001 commented Dec 4, 2023

issue:

packages/autoprofile/addons/darwin/arm64/120/autoprofile.node

I think this needs to be removed for now or?

@aryamohanan aryamohanan force-pushed the feat/nodev21 branch 2 times, most recently from e8031dd to 098fe4d Compare December 5, 2023 04:41
@aryamohanan aryamohanan force-pushed the feat/nodev21 branch 2 times, most recently from aea65f1 to 914361c Compare December 5, 2023 11:55
basti1302 and others added 3 commits December 5, 2023 19:18
Also, use the Docker image node:${targetNodeVersion}
instead of node:${targetNodeVersion}-buster for building the autoprofile
binaries. Specifying a specific Debian distribution has a tiny
maintenance disadvantage, as node images are not always provided for all
Debian distributions. There is no node:21.2.0-buster, for example, as
Debian Buster is simply too old by now.
@aryamohanan aryamohanan force-pushed the feat/nodev21 branch 2 times, most recently from 2b61972 to e6e20b1 Compare December 7, 2023 06:04
@aryamohanan aryamohanan merged commit 0a817ab into v3 Dec 8, 2023
1 check passed
@aryamohanan aryamohanan deleted the feat/nodev21 branch December 8, 2023 08:46
kirrg001 pushed a commit that referenced this pull request Dec 11, 2023
kirrg001 pushed a commit that referenced this pull request Dec 11, 2023

if (!supportedVersion(process.versions.node) || !process.env.GCP_PROJECT) {
if (!supportedVersion(process.versions.node) || !process.env.GCP_PROJECT ||
semver.gte(process.versions.node, '21.2.0')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@instana/eng-nodejs I have created a ticket for this. The bug is resolved. Good first task

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

Successfully merging this pull request may close these issues.

3 participants