r5.0.0
版本发布时间: 2024-03-02 00:57:06
mongodb/mongo-java-driver最新发布版本:r5.1.2(2024-07-10 23:57:53)
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
What's Changed
- [JAVA-5203] Support stored nulls for non-primitive fields in Java records by @bulbfreeman in https://github.com/mongodb/mongo-java-driver/pull/1223
- Add explicit automatic module name configuration. by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1232
- Update logger name to align with naming conventions. by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1233
- Enable container and Kubernetes awareness for improved telemetry. by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1235
- Update DatabaseTestCase to Junit 5 by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1238
- Preserve error code, code name, and error labels when redacting command monitoring/logging by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1225
- Add server selection log messages by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1221
- Remove write and read concern from Atlas Search Index commands. by @vbabanin in https://github.com/mongodb/mongo-java-driver/pull/1241
- BatchCursor refactorings by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1246
- Merge 5.0 breaking changes into the main line of development by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1268
-
ClusterSettings
does not computeClusterConnectionMode
consistently by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1273 - Install legacy shell by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1272
- Pull mongohouse image from ADL ECR repo by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1274
- Remove deprecated methods in WriteConcernError class by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1275
- Support
authorizedCollections
option forlistCollections
helpers by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1270 - Improve BsonNumber support for Decimal128 by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1283
- Accept
long
instead ofint
inSocketSettings.Builder.connectTimeout
/readTimeout
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1279 - Remove
Filters.eqFull
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1292 - Don't gossip cluster time from monitoring connections by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1276
- Expose
Observable[Unit]
instead ofObservable[Void]
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1282 - Make
ConnectionId.serverValue
/localValue
of theLong
/long
type by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1280 - Account the time to deliver connection pool events as part of the reported duration by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1290
- Fix
onErrorDropped
logged message (#1281) by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1291 - Reclaim native memory quicker when using ZlibCompressor by @raelg in https://github.com/mongodb/mongo-java-driver/pull/1285
- Handle kotlin / JVM erasure of types by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1295
- Simplify customization of bson-kotlinx by @rozza in https://github.com/mongodb/mongo-java-driver/pull/1293
- Refactor FaaS support in ClientMetadataHelper by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1300
- Do minor improvements to method docs in
ClusterSettings
by @stIncMale in https://github.com/mongodb/mongo-java-driver/pull/1304 - Add async API (2) by @katcharov in https://github.com/mongodb/mongo-java-driver/pull/1258
- Update Atlas search spec tests by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1315
- JAVA-5311 (take two) by @jyemin in https://github.com/mongodb/mongo-java-driver/pull/1314
New Contributors
- @bulbfreeman made their first contribution in https://github.com/mongodb/mongo-java-driver/pull/1223
- @raelg made their first contribution in https://github.com/mongodb/mongo-java-driver/pull/1285
Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r4.11.0...r5.0.0