Skip to content

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Sep 17, 2025

Description

Summary of Changes

This PR increases the napi version to 9. Additionally, it adds an internal napi C++/ JS function which returns the napi version, just to assert in tests that we are using the correct napi version.

Notes for Reviewers

The webpack tests started failing with this change because npm i was trying to install prebuilds for kerberos. The download url for each prebuild includes the napi version, and because we have not yet released a version of kerberos using napi v9, this failed.

I resolved this issue by using --ignore-scripts, which is okay to use here because we don't actually need prebuilds to test the bundling step.

What is the motivation for this change?

Release Highlight

kerberos' napi version has been increased to 9

kerberos' napi version has been increased to 9.

Double check the following

  • Lint is passing (npm run check:lint)
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@baileympearson baileympearson changed the title Napi version feat(NODE-7166)!: increase napi version to 9 Sep 17, 2025
@baileympearson baileympearson marked this pull request as ready for review September 17, 2025 18:23
@baileympearson baileympearson requested a review from a team as a code owner September 17, 2025 18:23
@durran durran self-assigned this Sep 17, 2025
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Sep 17, 2025
@durran durran merged commit cd75e37 into main Sep 18, 2025
18 checks passed
@durran durran deleted the napi-version branch September 18, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants