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

Drop support for NAPI 7 and below #398

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Drop support for NAPI 7 and below #398

merged 1 commit into from
Aug 20, 2024

Conversation

kadler
Copy link
Member

@kadler kadler commented Aug 20, 2024

This allows us to only build for one NAPI version instead of 4 and removes a separate code path for NAPI versions older than 6. We technically don't use anything newer than 6, but may as well go to 8 since that supports all Node.js versions we care about (and even some we don't).

https://nodejs.org/api/n-api.html#node-api-version-matrix

@kadler kadler assigned abmusse and unassigned abmusse Aug 20, 2024
@kadler kadler requested a review from abmusse August 20, 2024 20:37
Copy link
Member

@abmusse abmusse left a comment

Choose a reason for hiding this comment

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

LGTM

This allows us to only build for one NAPI version instead of 4 and
removes a separate code path for NAPI versions older than 6. We
technically don't use anything newer than 6, but may as well go to 8
since that supports all Node.js versions we care about (and even some we
don't).

https://nodejs.org/api/n-api.html#node-api-version-matrix
@kadler kadler merged commit 1b6f05d into main Aug 20, 2024
4 checks passed
@kadler kadler deleted the only-napi-8 branch August 20, 2024 22:01
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.

2 participants