2.6.0
Changes in BSON serialization (in commons-mongo
module):
- BSON serialization uses the smallest possible representation based on actual values:
Long
is serialized toBsonInt32
if the value is small enoughBigInt
is serialized toBsonInt64
orBsonInt32
if the value is small enoughBigDecimal
is serialized toBsonDecimal128
where possible (#410)
BsonReaderInput
based onBsonBinaryReader
can now read document fields in any order (#411)peekField
was implemented- this doesn't work with
BsonDocumentReader
due to upstream bug in its implementation