Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 4, 2025

🌱 A new release!

7.0.0 (2025-11-05)

The MongoDB Node.js team is pleased to announce version 7.0.0 of the kerberos package!

Note

There are no major versions 3.x to 6.x of the kerberos package. The major version of this package has been aligned with the major version of the mongodb package 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 kerberos package 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' callbackify method can be used:

callbackify(initializeClient)(serviceName, options, (error, client) => {
    // application logic
})

Kerberos no longer exported from the package

The 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:

// before
const initializeClient = require('kerberos').Kerberos.initializeClient;

// after
const initializeClient = require('kerberos').initializeClient;

kerberos now ships with TypeScript types!

The TypeScript types are now included in the kerberos package, and usage of @types/kerberos is no longer necessary.

⚠ BREAKING CHANGES

Features

Bug Fixes

Documentation

We invite you to try the kerberos library immediately, and report any issues to the NODE project.

@github-actions github-actions bot requested a review from a team as a code owner November 4, 2025 22:14
@durran
Copy link
Member

durran commented Nov 5, 2025

run release_notes

@durran durran merged commit 14bd969 into main Nov 5, 2025
8 checks passed
@durran durran deleted the release-please--branches--main--components--kerberos branch November 5, 2025 17:47
@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 5, 2025

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants