We just released version 5.6.2 to the Mongo Java Driver!
Notable Changes:
-
Use connectTimeoutMS for connection establishment during maintenance
The driver now relies on the connectTimeoutMS setting to manage how long it should wait when establishing connections — particularly helpful during maintenance/timeouts.
-
Support for optional nModified in bulk-write responses
When you perform bulk write operations, the response may now omit nModified. The driver accommodates this optionality.
-
Updated DEFAULT_ALLOWED_HOSTS list
The driver’s default configuration for allowed hosts has been revised/updated.
For all changes and notes, check out the 5.6.2 Release Notes on Github.
Github: Release Java Driver 5.6.2 (December 08, 2025) · mongodb/mongo-java-driver · GitHub