2.6
Java Driver 2.6 (May 27, 2011) (removed)
This release addresses bug fixes and includes some minor improvements.
Tickets
Full ticket information can be seen at http://jira.mongodb.org/browse/JAVA/fixforversion/10249
Breaking Changes
- Changed default binary type (for java byte[]) from subtype 2->0. The will save 4 bytes but uses a different storage format on the server so it is not compatible for existing data; you will be able to save and read data without problem but searching against the data will result in inconsistent results. As you read and save data (using a byte[]) this will update the old subtype to the new one.
These are all bug-fixes but may affect your code if you depend on the buggy behavior.
- JSON parser treated int/long values as longs -- reverted back to old behavior of converting to best fit
- query/DBCursor.hint(DBObject) created an index name; very unlikely to be breaking in any way.