Releases: mongodb/mongo-java-driver
2.9.3
Java Driver 2.9.3 (October 30, 2012)
This is a recommended update for anyone running with 2.9.2.
Bugs fixed:
- JAVA-680: Secondary reads on lists of mongos fail until first write
###Downloads
github and maven central
###Tickets
Jira release notes
2.9.2
Java Driver 2.9.2 (October 23, 2012)
This is a critical update for anyone running with 2.9.0 or 2.9.1.
Bugs fixed:
- JAVA-660: Concurrency issue can cause corrupted messages to be sent to the server
- JAVA-641: JMX registration error
- JAVA-658: DBTCPConnector ignores readprefs for combination of legacy settings
- JAVA-656: Don't checkMaster on slaveOk queries
- JAVA-666: Don't rely on MXBean
###Downloads
github and maven central
###Tickets
Jira release notes
2.9.1
Java Driver 2.9.1 (September 9, 2012)
Bugs fixed:
- JAVA-633: DBCollection.isCapped() method throws ClassCastException with mongodb-2.2.0
- JAVA-635: SimplePool.permitAcquired method swallows InterruptedException. See MongoInterruptedException
###Downloads
github and maven central
###Tickets
Jira release notes
2.9.0
Java Driver 2.9.0 (August 29, 2012)
Highlights:
- JAVA-474: Enhance read preference support. See ReadPreference Javadoc
- JAVA-381: Support redundant mongos connections. See [Mongo constructor Javadoc](http://api.mongodb.org/java/2.9.0/com/mongodb/Mongo.html#Mongo(java.util.List\))
- JAVA-590: Helper method for aggregation framework. See aggregate method in DBCollection Javadoc
- JAVA-610: Make DBCursor finalizer optional and disable it in all cases where there is no cursor maintained on the server. See MongoOptions Javadoc
- JAVA-613: Expand connection pool JMX stats to include the current operation being executed by each in use connection. See ConnectionPoolStat Javadoc
- JAVA-295: Support Android platform
###Downloads
github and maven central
###Tickets
Jira release notes
2.8.0
Java Driver 2.8.0 (June 18, 2012)
Highlights:
- JAVA-458: With slaveOk, query distribution to slaves is not even
- JAVA-429: Allow DBCollections to be modified using raw/binary BSON.
- JAVA-509: ClassMap synchronization is a major source of contention
- JAVA-249: Java Driver cannot connect to "localhost" when mongod is listening only on 127.0.0.1 (or "localhost")
- JAVA-488: Support serialization to Mongo extended JSON format
- JAVA-561: Add getX with default methods for missing values
- JAVA-332: GridFS: Allow seek/reads (get part of a chunk) on stream interface
- JAVA-272: OSGi Manifest is incorrect
Tickets
Full ticket information can be seen at https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10006&version=10980
2.7.3
2.7.2
2.7.0
Java Driver 2.7.0 (November 4, 2011)
- JAVA-439: Embedded Map allows dot in key names
- JAVA-427: Support ContinueOnError Flag for bulk insert
- JAVA-393: add support for "j" option to WriteConcern
- JAVA-333: Allow bson decoder per operation (find/cusor)
- JAVA-404: Allow inline M/R w/SlaveOk go to secondaries
- JAVA-461: the logic to spread requests around slaves may select a slave over latency limit
- JAVA-448: Tailable Cursor and awaitdata
- JAVA-428: Support new ReadPreference semantics, deprecate SlaveOK
- JAVA-459: smooth the latency measurements
- JAVA-425: Support MongoDB Server 2.0 getLastError Changes (j, w=string/number)
- JAVA-462: GridFSInputFile does not close input streams when constructed by the driver
- JAVA-363: NPE in GridFSFile.validate
- JAVA-364: MapReduceOutput sometimes returns empty results in a replica set when SLAVE_OK=true
- JAVA-323: when executing a command, only top level object returned should be a CommandResult, not sub-objects
- JAVA-444: make ensureIndex first do a read on index collection to see if index exists
- JAVA-356: JSONParseException class not public
Tickets
Full ticket information can be seen at https://jira.mongodb.org/browse/JAVA/fixforversion/10480
2.6.5
2.6.4
Java Driver 2.6.4 (August 08, 2011)
- JAVA-319: JSON parser to not require quotes around keys
- JAVA-382: NPE in ReplicaSetStatus.ensureMaster
- JAVA-387: DBCollection#findOne(DBObject o, DBObject fields) doesn't markAsPartialObject
- JAVA-390: Make it possible to override the bson decoder, not just the callback
- JAVA-396: improve javadocs for connection options, they confuse people
- JAVA-397: authentication for replica set fails frequently because 'getnonce' and 'authenticate' command is issued to different server
- JAVA-398: Configure max connection retry time
- JAVA-406: Java driver does not accept empty keys
- JAVA-407: some source files do not include licence information
- JAVA-409: when creating Mongo to single server, its address appears twice (ipv4/ipv6) and it gets exploded into a replica set
- JAVA-410: if using DBAddress instead of ServerAddress, server matching in replica set doesnt work
- JAVA-395: Date Time values do not preserve milliseconds when serialized to or deserialized from JSON
Tickets
Full ticket information can be seen at https://jira.mongodb.org/browse/JAVA/fixforversion/10490