Java Driver 4.10.0 (June 22, 2023)
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-4-10-released/234658
What's Changed
- Add RewrapManyDataKeyProseTest by @katcharov in #1083
- Introduce
BsonUtil.mutableDeepCopy
by @stIncMale in #1081 - Run CSFLE unified and legacy tests with
mongocryptd
by @stIncMale in #1085 - Update mongodb-driver-core POM description by @jyemin in #1088
- Update README.md by @ashni-mongodb in #1089
- Fix documentation of ClientEncryptionSettings#keyVaultMongoClientSett… by @jyemin in #1087
- Do not perform server selection to determine sessions support by @jyemin in #1092
- Work around create failure in unified tests with retry by @jyemin in #1094
- Update README.md by @ashni-mongodb in #1095
- Add OperationContext to sync path by @jyemin in #1097
- Add operationId to command events by @jyemin in #1101
- fix: ensure no NPE is thrown with SerializedFluxSink by @imclem in #1096
- Initial driver-kotlin-coroutine implementation by @rozza in #1100
- Reload expansions before deleting Azure resources by @kevinAlbs in #1106
- Fix typo in javadocs for InsertOneResult by @GeorgiChochov in #1086
- Support per-MongoClient DNS lookup configuration by @jyemin in #1104
- Fix UnixServerAddress interaction with InetAddressResolver by @jyemin in #1109
- Update payloads to new Queryable Encryption protocol by @jyemin in #1103
- Fix duplicate retry log messages by @stIncMale in #1108
- Add operation id and elapsed time to connection check out/in events by @jyemin in #1105
- Stop creating the ECC collection in v2 of queryable encryption by @stIncMale in #1110
- Add operation identifier to retry logs. by @vbabanin in #1112
- JAVA-4965: upgrade to zstd-jni v1.5.5-2 by @ispringer in #1118
- Implement prose tests checking that neither
mongocryptd
nor its client are created when they are not supposed to be by @stIncMale in #1113 - Add structured log messages to CMAP. by @vbabanin in #1114
- Ignore connection-logging tests. by @vbabanin in #1127
- Refactor tests, credential cache by @katcharov in #1102
- Test in CI against MongoDB 7.0 by @jyemin in #1124
- Cleanup documentation referring to removed property by @kdombeck in #1125
- Test against standalones with auth/ssl enabled by @jyemin in #1129
- Remove IP literal check for InetAddressResolver by @jyemin in #1120
- Refactoring in preparation for JAVA-4917 by @jyemin in #1123
- Deprecate
Parameterizable
, introduce defaultCodecProvider.get(Class<T>, List<Type>, CodecRegistry)
instead by @stIncMale in #1115 - JAVA-4966 : Fix Macro for sealed trait by @kistria in #1122
- Remove specialization-related conditional logic from
PojoCodecImpl
by introducingLazyPropertyModelCodec.NeedsSpecializationCodec
by @stIncMale in #1136 - Add second case for the RewrapManyDataKeyOpts prose test. by @vbabanin in #1138
- Fix MongoClient leak in auto-encryption by @jyemin in #1142
- Kotlin coroutine update. by @rozza in #1135
- ByteBufBsonDocument remains a ByteBuf by @jyemin in #1119
- Improve Time-Series Bucketing Scalability by @vbabanin in #1137
- Replace
@Evolving
with@Sealed
where appropriate by @stIncMale in #1141 - Kotlinx serialization decoding optional ObjectId / BsonValues fails to hydrate properly by @rozza in #1143
- Wrap string in literal if it contains $ by @katcharov in #1144
- Update README.md by @ashni-mongodb in #1145
- Add builders for percentile and median accumulators/window functions by @vbabanin in #1139
New Contributors
- @ashni-mongodb made their first contribution in #1089
- @imclem made their first contribution in #1096
- @GeorgiChochov made their first contribution in #1086
- @kdombeck made their first contribution in #1125
- @kistria made their first contribution in #1122
Full Changelog: r4.9.0...r4.10.0