The official MongoDB drivers for Java, Kotlin, and Scala
InetAddressResolverProvider
and add tests by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1354
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r4.11.2
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/1273
authorizedCollections
option for listCollections
helpers by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1270
long
instead of int
in SocketSettings.Builder.connectTimeout
/readTimeout
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1279
Filters.eqFull
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1292
Observable[Unit]
instead of Observable[Void]
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1282
ConnectionId.serverValue
/localValue
of the Long
/long
type by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1280
onErrorDropped
logged message (#1281) by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1291
ClusterSettings
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1304
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.0...r5.0.0
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.0...r4.11.1
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/1149
InternalStreamConnection
must release buffers obtained via ByteBufferBsonOutput.getByteBuffers
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1160
currentOp
/collStats
commands by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1175
TimePoint
and use it in Timeout
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1164
synchronized
blocks and methods in production code by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1178
Socket
IO interruptibility by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1189
InterruptedException
s 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/1200
Socket.connect
is interruptible in a virtual thread by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1203
Lock.lock
with Lock.lockInterruptibly
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1206
KeyManagementService
uses Socket IO (open, read, write), which is interruptible in a virtual thread by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1204
ClusterListener
, ServerListener
, ServerMonitorListener
API docs relevant to thread-safety by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1208
Lock.lockInterruptibly
only where it may actually be needed by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1220
Full 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
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
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.10.0...r4.10.1
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/1081
mongocryptd
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1085
mongocryptd
nor its client are created when they are not supposed to be by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1113
Parameterizable
, introduce default CodecProvider.get(Class<T>, List<Type>, CodecRegistry)
instead by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1115
PojoCodecImpl
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/1141
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.9.0...r4.10.0
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/1012
NoWritesPerformed
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1013
CodecCache
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1018
MixedBulkWriteOperation
such that it does not leak MongoWriteConcernWithResponseException
to users by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1051
ClientEncryption.createEncryptedCollection
helper method by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1079
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.7.0...r4.9.0
pom.xml
description updates and clarification.
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r3.12.11...r3.12.12