2.13.0
Java Driver 2.13.0 (January 29, 2015)
The 2.13.0 MongoDB Java Driver includes bug fixes, new features, and improvements. It is binary compatible with the 2.12 release line and supports all MongoDB server versions from the 2.2 release through the upcoming 3.0 release.
Downloads
Below and on maven central
Docs
http://api.mongodb.org/java/2.13/
Compatibility
If you are deploying MongoDB version 3.0 with authentication enabled, and one of the following holds true:
- You have no existing users created in the database
- You plan to execute the authSchemaUpgrade command
then you MUST first
- Upgrade your MongoDB Java driver to this version
- Replace any calls to MongoCredential#createMongoCRCredential with calls to MongoCredential#createCredential.
- Remove any explicit reference to the MONGODB-CR authMechanism from the connection string
Otherwise, authentication will fail because the server is expecting the driver to use the new SCRAM-SHA1 authentication protocol rather than the MONGODB-CR authentication protocol that it replaces.
Bug fixes
You can find a full list of bug fixes here.
New Features
You can find a full list of new features here.
Improvements
You can find a full list of improvements here.
And finally: this will be the last feature release before the 3.0 driver release, which will contain backwards breaking changes. The 2.13 release deprecates some additional classes and methods, most of which will be removed in 3.0. So to prepare for an eventual upgrade, please compile against 2.13 with deprecation warnings enabled. Code which compiles without any deprecation warnings against 2.13 should run without modification against the eventual 3.0 release. You can find a complete list of deprecated classes and methods that will be removed in the 3.0 release here. You can find the list of deprecations added in the 2.13 release here.