The MongoDB Node.js team is pleased to announce version 5.8.0 of the
AutoEncrypter interface was accidentally made public in the 4.x version of the driver. It is now deprecated and will be made internal in the next major release.
Moves the kerberos dependency back to
^1.0.0 || ^2.0.0 to indicate support for both 1.x and 2.x. Support for 1.x is removed in 6.0.
Because of internal options handling, a deprecation was emitted for
tlsCertificateFile when using
tlsCertificateKeyFile. That has been corrected.
In order to avoid mistakenly printing credentials the
ConnectionPoolCreatedEvent will replace the credentials option with an empty object. The credentials are still accessble via MongoClient options:
- NODE-5399: use mongodb-js/saslprep instead of saslprep (#3818) (c0d3927)
NODE-5429: deprecate the
AutoEncrypterinterface (#3764) (9bb0d95)
@aws-sdk/credential-providersversion to 3.188.0 and
- NODE-5489: set kerberos compatibility to ^1.0.0 || ^2.0.0 (#3803) (c3b35b3)
- NODE-5495: do not emit deprecation warning when tlsCertificateKeyFile is specified and tlsCertificateFile is not (#3810) (e81d4a2)
- NODE-5537: remove credentials from ConnectionPoolCreatedEvent options (#3813) (4cf1e96)
We invite you to try the
mongodb library immediately, and report any issues to the NODE project.