NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #1363 by repository stars
The Legacy MongoDB Driver
Latest stable
5.14.0
Last release 25 days ago
28 Oct 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
133 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Java-6108 replace deprecated orchestration with run-mongodb script by @strogiyotec in https://github.com/mongodb/mongo-java-driver/pull/2070
Errors by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/2038549238e to 3cfdaf4 by @dependabot[bot] in https://github.com/mongodb/mongo-java-driver/pull/2089BsonBinaryWriter.pipe(byte[], int, int) to validate that a document's declared size matches its actual length, preventing malformed RawBsonDocument instances from desynchronizing the BSON structure of outbound commands
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.13.0...r5.14.0Please refer to https://www.mongodb.com/docs/languages/java/mongodb-hibernate/upcoming/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Errors by @stIncMale in #2038549238e to 3cfdaf4 by @dependabot[bot] in #2089BsonBinaryWriter.pipe(byte[], int, int) to validate that a document's declared size matches its actual length, preventing malformed RawBsonDocument instances from desynchronizing the BSON structure of outbound commandsPlease refer to https://www.mongodb.com/docs/languages/java/mongodb-hibernate/upcoming/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8Java Driver 5.14.0 (October 28, 2026) Latest
Latest
Compare
build(deps): bump testing/resources/specifications from 92b3c0b to 529a2dd by @apmasell in https://github.com/mongodb/mongo-java-driver/pull/2061
92b3c0b to 529a2dd by @apmasell in https://github.com/mongodb/mongo-java-driver/pull/2061Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.12.0...r5.13.0
Please refer to https://www.mongodb.com/docs/languages/java/mongodb-hibernate/upcoming/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
92b3c0b to 529a2dd by @apmasell in #2061Full Changelog: r5.12.0...r5.13.0
Please refer to https://www.mongodb.com/docs/languages/java/mongodb-hibernate/upcoming/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8Java Driver 5.13.0 (September 25, 2026)
Compare
JAVA-6231 build(deps): bump testing/resources/specifications from d4d0cdf to 92b3c0b by @dependabot [bot] in #2039
d4d0cdf to 92b3c0b by @dependabot[bot] in #2039Full Changelog: r5.11.0...r5.12.0
Added support for MongoDB 9.0's Intelligent Workload Management (IWM). The driver now gracefully handles write-blocking scenarios and optimizes connection establishment during high-load conditions to maintain application availability.
Please refer to https://www.mongodb.com/docs/languages/java/mongodb-hibernate/upcoming/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8Java Driver 5.12.0 (September 17, 2026)
Compare
See JAVA-6283 / CVE-2026-88033]
[!WARNING] Starting from driver version 3.3.0, an improper neutralization of a query operator in the GridFS delete methods allowed unintended data deletion.
See JAVA-6283 / CVE-2026-88033]
Upgrade reactive/sync driver version to 5.11.1 or later.
If you cannot upgrade, applications using older driver versions should call another delete overload delete(ObjectId). The driver constructs the BsonObjectId internally from a typed value, so no document can reach the filter.
[!WARNING] Starting from driver version 4.2.0, cancelling or timing out an encrypted operation while the driver fetches cloud KMS credentials makes it call into freed native memory, crashing or corrupting the application.
See JAVA-6266 / CVE-2026-88032
Upgrade both reactive driver and mongodb-crypt to version 5.11.1 or later.
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.11.0...r5.11.1
Java Driver 5.11.1 (September 10, 2026)
Compare
Java 6173 CSFLE/QE Support for HTTP Proxies by @strogiyotec in https://github.com/mongodb/mongo-java-driver/pull/2043
SSLContext configured for
the KMS provider. Implementations must not negotiate TLS with the KMS host; doing so would let an
intermediary read the key material in transit.SSLSocket and the driver layers the KMS host's TLS session on top of it.Code example uses only the JDK API , so no HTTP client dependency is required. If you use your own HTTP client, it must return the tunnelled socket without negotiating TLS with the KMS host
First define the callback
private static final String PROXY_HOST = "proxy.example.com";
private static final int PROXY_PORT = 8080;
private static final int TIMEOUT_MILLIS = 10_000;
// Routes every KMS request through an HTTP proxy using the HTTP CONNECT method
// refer to the docs https://www.rfc-editor.org/info/rfc9110/#section-9.3.6
KmsConnectCallback proxyCallback = context -> {
Socket socket = new Socket();
try {
// 1. Connect to the proxy, not to the KMS host.
socket.connect(new InetSocketAddress(PROXY_HOST, PROXY_PORT), TIMEOUT_MILLIS);
socket.setSoTimeout(TIMEOUT_MILLIS);
// 2. Ask the proxy to open a tunnel to the KMS host the driver wants to reach. Only the
// driver knows which host that is, so always take it from the context rather than
// hard-coding it.
String target = context.getHost() + ":" + context.getPort();
String connectRequest = "CONNECT " + target + " HTTP/1.1\r\n"
+ "Host: " + target + "\r\n"
// If the proxy requires authentication, add the appropriate header, for example:
// + "Proxy-Authorization: Basic " + base64("user:password") + "\r\n"
+ "\r\n";
socket.getOutputStream().write(connectRequest.getBytes(StandardCharsets.US_ASCII));
// 3. Check the proxy accepted the tunnel before handing the socket back.
checkProxyAcceptedTunnel(socket.getInputStream());
} catch (IOException | RuntimeException e) {
// The driver never received this socket, so it cannot close it for you.
socket.close();
throw e;
}
// 4. Return the tunnelled socket. The driver now performs its own TLS handshake with the KMS
// host over it, verifying the KMS host's certificate. Do not negotiate TLS with the KMS
// host yourself.
return socket;
};
// Reads the proxy's response to CONNECT and fails unless it is 2xx.
static void checkProxyAcceptedTunnel(InputStream in) throws IOException {
StringBuilder response = new StringBuilder();
int b;
while (response.indexOf("\r\n\r\n") < 0 && (b = in.read()) != -1) {
response.append((char) b);
}
String statusLine = response.toString().split("\r\n", 2)[0];
if (!statusLine.startsWith("HTTP/1.1 2") && !statusLine.startsWith("HTTP/1.0 2")) {
throw new IOException("Proxy refused the CONNECT request: " + statusLine);
}
}
Then use this callback to configure the ClientEncryption
ClientEncryptionSettings settings = ClientEncryptionSettings.builder()
.keyVaultMongoClientSettings(keyVaultClientSettings)
.keyVaultNamespace("keyvault.datakeys")
.kmsProviders(kmsProviders)
.kmsConnectCallback(proxyCallback)
.build();
Or using automatic encryption
AutoEncryptionSettings settings = AutoEncryptionSettings.builder()
.keyVaultNamespace("keyvault.datakeys")
.kmsProviders(kmsProviders)
.kmsConnectCallback(proxyCallback)
.build();
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.10.0...r5.11.0
Included the fix for CVE-2026-18710 / JAVA-6266, where ProxySettings.toString() rendered the SOCKS5 proxy username and password into application logs.…
$scoreFusion hybrid search stage for combining and normalizing the scores of multiple search pipelines (MongoDB 8.2+) #2024 by @nhachicha$score aggregation stage, with normalization, weighting, and score details (MongoDB 8.2+) #2023 by @strogiyotec$vectorSearch support for nested embeddings and arrays of embeddings via parentFilter and nestedOptions #2026 by @rozza@Beta from SearchOptions and VectorSearchOptions in the Java and Scala drivers #2026 by @rozzaByteArray data class fields as BSON Binary, and added an opt-in ByteArray BSON Binary serializer for bson-kotlinx #2019 by @rozzaProxySettings.toString() rendered the SOCKS5 proxy username and password into application logs. First shipped in 5.9.2 #2035 by @strogiyotecByteArray fields in Kotlin data classes are once again encoded as BSON Binary rather than a BSON array of int32, restoring the behavior from before 5.1.3. Decoding accepts both forms, so documents written by 5.1.3–5.9.x still read back correctly, but newly written documents change BSON type. Review any non-driver consumers of those fields before upgrading. See JAVA-6224Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.9.0...r5.10.0
> Starting from driver version 4.11.0, ProxySettings.toString() included the SOCKS5 proxy username and password in application logs.
[!WARNING] Starting from driver version 4.11.0,
ProxySettings.toString()included the SOCKS5 proxy username and password in application logs.
See JAVA-6266 / CVE-2026-18710
The username and password are no longer included in toString() starting in this release.
If you cannot upgrade, set the org.mongodb.driver.client logger to WARN or higher to suppress the client-construction message. We do not recommend this as a long-term measure: it silences diagnostic information that is valuable for support, and it does not remove credentials already written to existing logs.
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.9.1...r5.9.2
Backport: Resolve forwarded type arguments across POJO hierarchy edges by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/2020
Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.9.0...r5.9.1
Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: r5.9.0...r5.9.1
build(deps): bump testing/resources/specifications from b519824 to 25bee54 by @dependabot[bot] in https://github.com/mongodb/mongo-java-driver/pull/19
b519824 to 25bee54 by @dependabot[bot] in https://github.com/mongodb/mongo-java-driver/pull/1984MongoClient.getTimeout always returning null by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/2009Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.8.0...r5.9.0
b519824 to 25bee54 by @dependabot[bot] in #1984MongoClient.getTimeout always returning null by @stIncMale in #2009Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: r5.8.0...r5.9.0
Fix reactive streams MongoClient.getTimeout always returning null by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/2011
MongoClient.getTimeout always returning null by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/2011Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.8.0...r5.8.1
MongoClient.getTimeout always returning null by @stIncMale in #2011Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: r5.8.0...r5.8.1
Added typed builder API for vector search index definitions #1960 by @rozza
$rerank aggregation stage support (MongoDB 8.3 / Atlas) #1963 by @rozzavectorSearch operator support for the $search pipeline stage #1962 by @rozzastoredSource support for vector search indexes and returnStoredSource for $vectorSearch queries #1977 by @rozzaBinaryVector and VectorSearchQuery vectorSearch overloads to the Scala driver #1986 by @rozzaRawBsonDocument encode and decode by eliminating intermediate allocations #1988 by @rozzaMongodbObservation and MongodbObservationContext by @rozzalibmongocrypt to 1.18.1 #1983 by @strogiyotecAGENTS.md for AI coding agent support across all modules by @rozzapublish.sh #1958 by @rozzaNamespaceExists test failure #1956 by @nhachichaRetryState creation as preliminary backpressure work #1961 by @stIncMaleRetryState.isLastAttempt private and simplified code #1967 by @stIncMalePlease refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.7.0...r5.8.0
JAVA-6189 - Added Scala 3 to publish.sh by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1957
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.7.0...r5.7.1
Full Changelog: r5.7.0...r5.7.1
> A future minor release will raise the minimum supported MongoDB Server version from 4.2 to 4.4. This is in accordance with MongoDB Software Lifecycl
[!IMPORTANT] A future minor release will raise the minimum supported MongoDB Server version from 4.2 to 4.4. This is in accordance with MongoDB Software Lifecycle Schedules. Support for MongoDB Server 4.2 will be dropped in a future release!
TODO-JAVA-6126 to inform readers that the problem is known by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1910bb9dddd to 0535e65 by @dependabot[bot] in https://github.com/mongodb/mongo-java-driver/pull/19150535e65 to c3c82b6 by @dependabot[bot] in https://github.com/mongodb/mongo-java-driver/pull/1930com.mongodb.client.FailPoint.enable by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1931c3c82b6 to 7039e69 by @dependabot[bot] in https://github.com/mongodb/mongo-java-driver/pull/1945Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.7.0-beta1...r5.7.0
Important
A future minor release will raise the minimum supported MongoDB Server version from 4.2 to 4.4. This is in accordance with MongoDB Software Lifecycle Schedules. Support for MongoDB Server 4.2 will be dropped in a future release!
TODO-JAVA-6126 to inform readers that the problem is known by @stIncMale in #1910bb9dddd to 0535e65 by @dependabot[bot] in #19150535e65 to c3c82b6 by @dependabot[bot] in #1930com.mongodb.client.FailPoint.enable by @stIncMale in #1931c3c82b6 to 7039e69 by @dependabot[bot] in #1945Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: r5.7.0-beta1...r5.7.0
Updated Snappy for latest security fixes #1868
Add Micrometer/OpenTelemetry tracing support to the reactive-streams (Micrometer / OpenTelemetry) #1898
Improved client-side timeout handling to better account for RTT variations #1793
Fixed RawBsonDocument encoding performance regression by restoring optimized codec path #1888
Fixed Netty ByteBuf reference counting and reverted read-only change that could cause leaks during logging #1891
Updated BSON/spec tests and improved Extended JSON alignment #1883
Added SARIF reporting and CI improvements #1869
Temporarily disabled large encryption tests on mongocryptd for CI stability #1872
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.4/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.7.0-beta0...r5.7.0-beta1
Java Driver 5.7.0-beta1 (February 26, 2026) Pre-release
Pre-release
Compare
Add auto-embedding support as part of vector search APIs #1862
Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/#std-label-java-validate-signatures for the full procedure.
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.4.0-alpha0...r5.7.0-beta0
Nothing published for this version
AsyncCommandCursor.getMoreLoop() held a pool connection across empty getMore responses on tailable cursors, exhausting the connection pool when idle c
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.4/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.6.4...r5.6.5
Fixed a recent change in how we use Netty buffers that could cause memory to be released too early under certain allocator configurations, leading to
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.4/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.6.3...r5.6.4
Revert NettyByteBuf.asReadOnly change (#1871) by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1878 Note: Command Logging with Netty wil
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.6.2...r5.6.3
Use connectTimeoutMS for connection establishment in maintenance Time… by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1816
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.6.1...r5.6.2
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.6.0...r5.6.1
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.6.0...r5.6.1
Deprecate MongoNamespace#COMMAND_COLLECTION_NAME #1786
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.5.1...r5.6.0
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.4/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Nothing published for this version
Merge changes from tls-channel to prevent accidentally calling SSLEng… by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1737
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.5.1...r5.5.2
Fixed an issue where OIDC reauthentication failed when sessions were involved (#1725).
KProperty implementations correctly include property names in their hashcode calculations (#1731).OperationContext with a NOOP session for improved consistency (#1734).Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.5.0...r5.5.1
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.5/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Deprecate read preference hedge options
Credential Handling:
Performance Optimizations:
Stack with ArrayDeque for better performance (#1681).Resource Management:
Compatibility and Maintenance:
Benchmarks and Testing:
Bug Fixes and Stability:
Documentation and Quality of Life:
Kotlin Improvements:
scalac warning (#1666)Publisher link in the API documentation (#1678)Welcome and thank you to our new contributors:
We appreciate all contributions to the MongoDB Java Driver—thank you!
Full Changelog:(https://github.com/mongodb/mongo-java-driver/compare/r5.4.0-alpha0...r5.5.0)
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.4/security/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Fixed static checker warnings and deprecation warnings. #1564, #1613, #1633
srvMaxHosts. #1590Atlas Search Improvements
phrase, regex, queryString, wildcard, moreLikeThis, equals, and in. #1586, #1587, #1588, #1596, #1609, #1606, #1605Bulk Write and Update Enhancements
updateOne and replaceOne. #1509, #1585, #1612Driver and Codec Optimizations
Client and Connection Handling
timeoutMS on close without affecting operation timeout. #1527AsyncTransportSettings and ExecutorService. #1489timeoutMS expires before sending requests. #1573DefaultConnectionPool. #1575Cloud and Security Improvements
Kotlin Updates
Vector class names and marked PackedBitVector as Beta. #1595, #1594CAPI and jna.Native. #1553kotlinCheck Gradle task from ssdlc-report.sh #1574Testing and CI Improvements
TestDef). #1566, #1578Specification Syncing and Updates
non-lb-connection-establishment. #1634pool-checkout-returned-connection-maxConnecting.json to work with different pool implementations #1563@SuppressWarnings("try") to CommandBatchCursorTest, AsyncCommandBatchCursorTest #1567New Contributors:
We appreciate all contributions to the MongoDB Java Driver—thank you!
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.3.1...r5.4.0
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.3/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Remove deprecated field from GridFS unified tests by @joykim1005 in https://github.com/mongodb/mongo-java-driver/pull/1577
CAPI, jna.Native/Structure initializable at run time by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1553pool-checkout-returned-connection-maxConnecting.json to work with different pool implementations by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1563AggregatesSpecification.groovy by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1564timeoutMS on close without affecting the timeout of the operation by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1527@SuppressWarnings("try") to CommandBatchCursorTest, AsyncCommandBatchCursorTest by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1567kotlinCheck Gradle task from ssdlc-report.sh by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1574DefaultConnectionPool by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1575TestDef is created and used only when there is enough data to do that by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1578non-lb-connection-establishment by @kevinAlbs in https://github.com/mongodb/mongo-java-driver/pull/1634Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.3.0-beta0...r5.4.0-alpha0
Fixing default module name for kotlin-extensions (Backport https://github.com/mongodb/mongo-java-driver/pull/1602 to 5.3.x by @nhachicha in https://gi
kotlin-extensions (Backport https://github.com/mongodb/mongo-java-driver/pull/1602 to 5.3.x by @nhachicha in https://github.com/mongodb/mongo-java-driver/pull/1604)Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.3.0...r5.3.1
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.3/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Remove deprecated field from GridFS unified tests by @joykim1005 in https://github.com/mongodb/mongo-java-driver/pull/1577
[!IMPORTANT] A future minor release will raise the minimum supported MongoDB Server version from 4.0 to 4.2. This is in accordance with MongoDB Software Lifecycle Schedules. Support for MongoDB Server 4.0 will be dropped in a future release!
CAPI, jna.Native/Structure initializable at run time by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1553pool-checkout-returned-connection-maxConnecting.json to work with different pool implementations by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1563AggregatesSpecification.groovy by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1564timeoutMS on close without affecting the timeout of the operation by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1527@SuppressWarnings("try") to CommandBatchCursorTest, AsyncCommandBatchCursorTest by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1567kotlinCheck Gradle task from ssdlc-report.sh by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1574DefaultConnectionPool by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1575TestDef is created and used only when there is enough data to do that by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1578Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.3.0-beta0...r5.3.0
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.3/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Sync client-side-encryption legacy specification tests by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1511
com.oracle.svm.core.annotate from Import-Package for OSGi by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1518Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.2.0...r5.3.0-beta0
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.2/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Exclude com.oracle.svm.core.annotate from Import-Package for OSGi by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1520
com.oracle.svm.core.annotate from Import-Package for OSGi by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1520kotlinx.datetime.LocalTime exists before adding the serializer (Backport #1530 by @katcharov in https://github.com/mongodb/mongo-java-driver/pull/1559)Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.2.0...r5.2.1
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.2/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Support for MongoDB 8.0 by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1385 and https://github.com/mongodb/mongo-java-driver/pull/144
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.1.0...r5.2.0
SecureRandom usage in ObjectId by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1394config/spotbugs/exclude.xml with finding status and rank by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1392ssdlc_compliance_report.md by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1405:mongodb-crypt manifest entries by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1506scaladoc warnings by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1507:mongodb-crypt GraalVM metadata by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1508CursorResourceManager.close by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1440encodeNullableSerializableValue null handling by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1453com.mongodb.client.unified.UnifiedTest and all its descendants to JUnit 5 by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1410Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.2/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
MixedBulkWriteOperation should generate inserted document IDs at most once per batch by @stIncMale in https://github.com/mongodb/mongo-java-driver/pul
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.1.3...r5.1.4
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.1/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Fix CursorResourceManager.close (#1440) by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1446
CursorResourceManager.close (#1440) by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1446Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.1.2...r5.1.3
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.1/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Allow generic base classes for POJOs by @jyemin and @rozza in https://github.com/mongodb/mongo-java-driver/pull/1423
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.1.1...r5.1.2
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.1/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Disallow comma character in authMechanismProperties by @katcharov in https://github.com/mongodb/mongo-java-driver/pull/1412
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.1.0...r5.1.1
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.1/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Ensure durations are included on connection pool events by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1370
TreeSet by @ramasai1 in https://github.com/mongodb/mongo-java-driver/pull/1306InetAddressResolverProvider and add tests by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1353BiFunction with BinaryOperator by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1374Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.1.0
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.1/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env … by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1343
InetAddressResolverProvider and add tests by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1354Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Merge 5.0 breaking changes into the main line of development by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1268
The MongoDB JVM team is pleased to announce version 5.0.0 of the MongoDB Java Driver!
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-5-0-is-released/268913
ClusterSettings does not compute ClusterConnectionMode consistently by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1273authorizedCollections option for listCollections helpers by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1270long instead of int in SocketSettings.Builder.connectTimeout/readTimeout by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1279Filters.eqFull by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1292Observable[Unit] instead of Observable[Void] by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1282ConnectionId.serverValue/localValue of the Long/long type by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1280onErrorDropped logged message (#1281) by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1291ClusterSettings by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1304Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.0...r5.0.0
Nothing published for this version
Remove legacy shell from test scripts (#1404) by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1560
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.4...r4.11.5
MixedBulkWriteOperation should generate inserted document IDs at most once per batch by @stIncMale in https://github.com/mongodb/mongo-java-driver/pul
QueryBatchCursor.ResourceManager.close (#1440) by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1491Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.3...r4.11.4
Please refer to https://www.mongodb.com/docs/drivers/java/sync/v5.1/validate-signatures/ for the full procedure.
To download and import the public key for verifying signatures, execute
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8
Nothing published for this version
Backport a fix of 'Add explicit automatic module name configuration' by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1236
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.1...r4.11.2
Backport a fix of 'Add explicit automatic module name configuration' by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1236
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.0...r4.11.1
Deprecate currentOp/collStats commands by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1175
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-11-released/248657
NettyBufferProvider, NettyByteBuf and improve docs by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1149InternalStreamConnection must release buffers obtained via ByteBufferBsonOutput.getByteBuffers by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1160currentOp/collStats commands by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1175TimePoint and use it in Timeout by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1164synchronized blocks and methods in production code by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1178Socket IO interruptibility by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1189InterruptedExceptions are handled by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1192$vectorSearch aggregation stage by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1200Socket.connect is interruptible in a virtual thread by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1203Lock.lock with Lock.lockInterruptibly by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1206KeyManagementService uses Socket IO (open, read, write), which is interruptible in a virtual thread by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1204ClusterListener, ServerListener, ServerMonitorListener API docs relevant to thread-safety by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1208Lock.lockInterruptibly only where it may actually be needed by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1220Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.10.0...r4.11.0
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-10-released/234658
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-10-released/234658
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.10.1...r4.10.2
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-10-released/234658
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-10-released/234658
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.10.0...r4.10.1
Deprecate Parameterizable, introduce default CodecProvider.get(Class , List , CodecRegistry) instead by @stIncMale in https://github.com/mongodb/mongo…
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-10-released/234658
BsonUtil.mutableDeepCopy by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1081mongocryptd by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1085mongocryptd nor its client are created when they are not supposed to be by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1113Parameterizable, introduce default CodecProvider.get(Class<T>, List<Type>, CodecRegistry) instead by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1115PojoCodecImpl by introducing LazyPropertyModelCodec.NeedsSpecializationCodec by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1136@Evolving with @Sealed where appropriate by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1141Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.9.0...r4.10.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-9-0-released/213117
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-9-0-released/213117
AbstractMapCodec package-access by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1012NoWritesPerformed by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1013CodecCache by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1018MixedBulkWriteOperation such that it does not leak MongoWriteConcernWithResponseException to users by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1051ClientEncryption.createEncryptedCollection helper method by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1079Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.8.0...r4.9.0
Release Announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-8-2-released/208479
Release Announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-8-2-released/208479
Release Announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-8-1-released/203293
Release Announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-8-1-released/203293
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-8-0-released/202534
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-8-0-released/202534
Nothing published for this version
Nothing published for this version
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-7-2-released/192583
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-7-2-released/192583
One column per quarter.