2.6.0
Changes in BSON serialization (in commons-mongo module):
- BSON serialization uses the smallest possible representation based on actual values:
Longis serialized toBsonInt32if the value is small enoughBigIntis serialized toBsonInt64orBsonInt32if the value is small enoughBigDecimalis serialized toBsonDecimal128where possible (#410)
BsonReaderInputbased onBsonBinaryReadercan now read document fields in any order (#411)peekFieldwas implemented- this doesn't work with
BsonDocumentReaderdue to upstream bug in its implementation