Java Driver 4.11.0 (Oct 11, 2023)
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-11-released/248657
What's Changed
- Build: Ensure spotless checks are run by @rozza in #1146
- Reorganize
NettyBufferProvider,NettyByteBufand improve docs by @stIncMale in #1149 - Upgrade Netty from 4.1.84.Final to 4.1.87.Final by @stIncMale in #1150
- Add path parameter to javadoc of median method. by @vbabanin in #1153
- Collect FaaS info during handshake by @katcharov in #1156
- Do various doc and other minor improvements by @stIncMale in #1157
InternalStreamConnectionmust release buffers obtained viaByteBufferBsonOutput.getByteBuffersby @stIncMale in #1160- Override Iterator#forEachRemaining in MongoCursor by @jyemin in #1161
- Add support for managing Atlas search indexes. by @vbabanin in #1158
- Allow tls=false override with mongodb+srv protocol by @jyemin in #1165
- Support $changeStreamSplitLargeEvent by @katcharov in #1159
- Reorganized Async & Sync OperationHelpers by @rozza in #1169
- Evergreen: Updated static checks by @rozza in #1172
- Add SplitEvent constructor docs by @katcharov in #1174
- Deprecate
currentOp/collStatscommands by @stIncMale in #1175 - Add Scala test methods to SyncMongoCollection. by @vbabanin in #1167
- Revert "Add Scala test methods to SyncMongoCollection" by @vbabanin in #1176
- Make the ClientSession close method thread-safe by @jyemin in #1179
- Add
TimePointand use it inTimeoutby @stIncMale in #1164 - Add durations to connection pool events by @stIncMale in #1166
- Get rid of all
synchronizedblocks and methods in production code by @stIncMale in #1178 - Add end-to-end Search Index Management Helper Methods Tests by @vbabanin in #1184
- Remove incorrect test-skipping logic by @jyemin in #1186
- Deprecate SocketAddress-related methods by @jyemin in #1188
- Handle
SocketIO interruptibility by @stIncMale in #1189 - Introduce SOCKS5 proxy support by @vbabanin in #1180
- Change package import path. by @vbabanin in #1193
- Improve performance monitoring by @vbabanin in #1190
- Handle new explain output in tests by @jyemin in #1191
- Fix how
InterruptedExceptions are handled by @stIncMale in #1192 - Scale double values to 4 decimal digits in geoNear test by @jyemin in #1197
- Deprecate Stream-related API by @jyemin in #1195
- Run changeStreamSplitLargeEvent test on >= 6.0.9 by @katcharov in #1196
- Add FaaS (AWS Lambda) test app by @katcharov in #1183
- Introduce builder for
$vectorSearchaggregation stage by @stIncMale in #1200 - Fixed JAVA-5183 by @dryabtse in #1207
- Handle interrupts:
Socket.connectis interruptible in a virtual thread by @stIncMale in #1203 - Replace uninterruptible
Lock.lockwithLock.lockInterruptiblyby @stIncMale in #1206 - Handle interrupts: synchronous
KeyManagementServiceuses Socket IO (open, read, write), which is interruptible in a virtual thread by @stIncMale in #1204 - fix: include Kotlin sources into the sources jar by @monosoul in #1210
- Kotlin. Support stored nulls for nullable fields by @rozza in #1212
- Refactor transaction server pinning by @jyemin in #1211
- Fix the
ClusterListener,ServerListener,ServerMonitorListenerAPI docs relevant to thread-safety by @stIncMale in #1208 - Add databaseName to command succeeded/failed events/logs by @jyemin in #1213
- $lookup "from" must be null when using $documents pipeline by @katcharov in #1218
- Update Javadoc for Projections. by @vbabanin in #1216
- Use
Lock.lockInterruptiblyonly where it may actually be needed by @stIncMale in #1220 - Add server detection based on host names during MongoClient construct… by @vbabanin in #1214
New Contributors
Full Changelog: r4.10.0...r4.11.0