chore(main): release 7.0.0 #292
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🌱 A new release!
7.0.0 (2025-11-05)
The MongoDB Node.js team is pleased to announce version 7.0.0 of the
kerberospackage!Note
There are no major versions 3.x to 6.x of the
kerberospackage. The major version of this package has been aligned with the major version of themongodbpackage to make it clearer which versions are intended to be used together.Release Notes
Platform and runtime updates
Minimum supported Node.js version now 20.19.0
The minimum supported Node.js version is now v20.19.0. We strive to keep our minimum supported Node.js version in sync with the runtime's release cadence to keep up with the latest security updates and modern language features.
Node-API version increased to 9
The minimum Node-API version for the
kerberospackage is now 9, which corresponds to the highest Node-API version supported on Node.js 20.19.0.macOS deployment target set to macOS 11
Kerberos now targets macOS 11.
Add support for FreeBSD
FreeBSD is now an unofficially supported platform. Thank you to tagattie for the contribution.
Bump prebuild-install to ^7.1.3
This fixes an undefined Node-API target issue with 7.1.2
Breaking API changes
Callback support removed from the public API
Callback overloads have been removed from all APIs in favor of APIs that return promises. In keeping with modern JS best practices,
we recommend adopting the promise-based APIs and async-await wherever possible.
If callback support is necessary, Node.js'
callbackifymethod can be used:Kerberosno longer exported from the packageThe kerberos package exported an undocumented named export,
Kerberos, which was used for compatibility with unsupported (<4.x) MongoDB drivers. This export has been removed.If you are relying on this export, import it from the kerberos package directly:
kerberos now ships with TypeScript types!
The TypeScript types are now included in the kerberos package, and usage of
@types/kerberosis no longer necessary.⚠ BREAKING CHANGES
Features
Bug Fixes
Documentation
We invite you to try the
kerberoslibrary immediately, and report any issues to the NODE project.