Skip to content

Java Driver v5.2.0 (September 24, 2024)

Latest
Compare
Choose a tag to compare
@mongodb-dbx-release-bot mongodb-dbx-release-bot released this 26 Sep 14:34
· 1 commit to 5.2.x since this release
e34283d

What's Changed

Full Changelog: r5.1.0...r5.2.0

New Features

Improvements

  • Enhance KotlinSerializer with value codecs for widening primitive conversion. by @vbabanin in #1301
  • Extend Socks5 Top-Level Domain regex validation to support up to 63 characters by @vbabanin in #1427
  • Performance improvements for GridFS by @vbabanin in #1402
  • Direct retries to another mongos if one is available by @stIncMale in #1367
  • Improve SecureRandom usage in ObjectId by @stIncMale in #1394
  • Augment config/spotbugs/exclude.xml with finding status and rank by @stIncMale in #1392
  • Create and upload ssdlc_compliance_report.md by @stIncMale in #1405
  • Disallow comma character in authMechanismProperties by @katcharov in #1408
  • Forward slash in connection string is optional by @jyemin in #1420 and #1421
  • Add GitHub Actions based release automation by @alcaeus in #1400 and #1437 and #1425
  • Use Java Cryptographic Architecture provider for implementation of PBKDF2 by @jyemin in #1448
  • Update Kotlin metadata to include Kotlin language version by @rozza in #1461
  • Added Bson-Kotlin Array Codec by @rozza in #1457
  • Added kotlinx.json JsonElement serialization support by @rozza in #1459

Bug Fixes

  • Revert making BsonEncoder / BsonDecoder internal by @rozza in #1510
  • Remove host and port from IllegalArgumentException thrown by malformed connection string by @rozza in #1467
  • Allow generic base classes for POJOs by @jyemin in #1423
  • Fix to identify and match type arguments, including optional generic types in DataClassCodec#getCodec by @ht-jo in #1339
  • Fix OSGi :mongodb-crypt manifest entries by @stIncMale in #1506
  • Fix scaladoc warnings by @stIncMale in #1507
  • Fix :mongodb-crypt GraalVM metadata by @stIncMale in #1508
  • Fix release workflow by @alcaeus in #1422
  • Fix encoding nullable generics by @cliffred in #1317
  • Fix CursorResourceManager.close by @stIncMale in #1440
  • Fix bson-kotlinx encodeNullableSerializableValue null handling by @rozza in #1453
  • Ensure Sink.contextView is propagated by @rozza in #1450
  • Ensure exception propagation in async try-catch block. by @vbabanin in #1466
  • MixedBulkWriteOperation should generate inserted document IDs at most once per batch by @stIncMale in #1482
  • Fix exception propagation in Async API methods by @vbabanin in #1479

Other Notable Changes and Upgrades

New Contributors

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