Java Driver 5.7.0-beta0 (January 16, 2026)
Pre-release
Pre-release
·
46 commits
to main
since this release
What’s Changed 🚀
New Features
- Add auto-embedding support as part of vector search APIs #1862
Credential Handling
- Handle unexpected end-of-stream errors from KMS #1849
- Encryption client now uses writeConcern majority #1858
Performance Optimizations
- Reuse ConnectionSource to avoid extra server selection #1813
Resource Management
- Implement NettyByteBuf.asReadOnly and improve buffer duplication #1841
Compatibility and Maintenance
- Update DEFAULT_ALLOWED_HOSTS to include *.mongo.com #1843
- Update specifications submodule to latest (tests temporarily disabled) #1851
- Remove unused JsonPoweredCrudTestHelper #1838
Benchmarks and Testing
- Add new prose test coverage for transactions #1824
- Improve GridFSObservableSpec cleanup when unsubscribing #1834
- Support optional nModified field in bulk write responses #1823
Bug Fixes and Stability
- Fix server selection flaky tests and update thresholds #1847
- Fix flaky test related to API version handling (JAVA-6016) #1845
- Remove assertion for verbose result due to SERVER-113344 #1835
- Align log level to warning when removing server from cluster #1853
Documentation and Quality of Life
- Update reactive streams MongoCollection JavaDoc to return empty Publisher instead of null #1840
Infrastructure Improvements
- Evergreen git clone depth set to 1 for faster builds #1851
Verifying artifact signatures
Please refer to https://www.mongodb.com/docs/drivers/java/sync/current/security/validate-signatures/#std-label-java-validate-signatures for the full procedure.
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 1a75005e142192223d6a7c3b76e0008d166740a8Full Changelog: r5.4.0-alpha0...r5.7.0-beta0