2.11.0
Java Driver 2.11.0 (March 19, 2013)
The 2.11.0 Java driver fully supports the MongoDB 2.4 security enhancements, which include:
- Kerberos authentication
- Server documentation is available here: http://docs.mongodb.org/manual/tutorial/control-access-to-mongodb-with-kerberos-authentication/.
- Driver documentation is available here: http://docs.mongodb.org/ecosystem/tutorial/authenticate-with-java-driver/
- Role-based access control
- Server documentation is available here: http://docs.mongodb.org/manual/release-notes/2.4/#role-based-access-control-and-new-privilege-documents
Downloads
maven central and
driver-downloads.mongodb.org
Docs
http://api.mongodb.org/java/2.11.0/
New Features:
- JAVA-691: Authentication enhancements
- JAVA-431: the find() method of GridFS should allow specification of sort criteria
Improvements:
- JAVA-673: MongoURI should allow configuring default SSL socket factory
- JAVA-725: Deprecate MongoURI, MongoOptions, and Mongo constructors
- JAVA-728: Improve logging of Mongo instance construction
- JAVA-733: JSON.parse() should handle $binary object correctly
- JAVA-734: JSON.parse() should handle $timestamp correctly
- JAVA-735: Binary class should implements Equals and HashCode
- JAVA-741: Ability to disable validation for illegal characters in keys
- JAVA-743: JSONCallback should apply decoding hooks for all supported types
- JAVA-744: Add convenience methods for MongoClientOptions
- JAVA-757: Exceptions throws for GLE should contain the entire GLE document
- JAVA-768: Use ReadPreference.primaryPreferred() for authentication
- JAVA-780: Expose MongoClientURI constructor for overriding default options
- JAVA-785: Improve logging of socket errors
Bugs fixes:
- JAVA-595: With redeploy web app created a ThreadLocal but failed to remove it when the web application was stopped
- JAVA-641: JMX registration error
- JAVA-657: ReadPrefs ignored for some commands due to case-sensitive comparison
- JAVA-703: GridFS List find( DBObject query ,...) should close cursor
- JAVA-705: Query commands like aggregate and mapReduce don't pick up the read preference set on the collection
- JAVA-708: ReadPreference.nearest() does not count primary in expected way
- JAVA-720: DBCursor.next() throws the wrong Exception
- JAVA-722: Errors when DBRef's $id is Object instead of simple value
- JAVA-753: Java Driver sending reads with NEAREST preference to nodes in RECOVERING state
- JAVA-772: If cursor is not found by the server, report in the exception the cursor that was requested
- JAVA-787: DBTCPConnector._checkWriteError () consume a PoolOutputBuffer not returned to SimplePool