Java Driver 5.1.0 (May 2, 2024)
What's Changed
- Ensure durations are included on connection pool events by @stIncMale in #1370
- Test on Java 21 by @stIncMale in #1326
- Test against GraalVM native image technology by @stIncMale in #1338
- Ensure Operations uses the supplied document class when creating BsonDocumentWrapper by @rozza in #1327
- JAVA-5319: Allow Decoding Data Into
TreeSet
by @ramasai1 in #1306 - Allow configuring the monitoring protocol to use; use the polling protocol in a FaaS environment by default by @stIncMale in #1313
- Convert Bson to BsonDocument for hint by @jyemin in #1335
- Change mapreduce to mapReduce by @jyemin in #1337
- Support discriminators not being the first field when decoding in Kotlin by @rozza in #1324
- Use
InetAddressResolverProvider
and add tests by @stIncMale in #1353 - Force unique clusterTime values by splitting insert into two commands by @jyemin in #1356
- Expand bounds for distinct and MongoIterable#map by @rozza in #1352
- Enhanced OIDC support by @katcharov in #1134 and #1371
- Replace
BiFunction
withBinaryOperator
by @stIncMale in #1374
New Contributors
Full Changelog: r5.0.0...r5.1.0
Verifying artifact signatures
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