Skip to content

2.6.0

Compare
Choose a tag to compare
@ghik ghik released this 11 Mar 10:01
· 335 commits to master since this release

Changes in BSON serialization (in commons-mongo module):

  • BSON serialization uses the smallest possible representation based on actual values:
    • Long is serialized to BsonInt32 if the value is small enough
    • BigInt is serialized to BsonInt64 or BsonInt32 if the value is small enough
    • BigDecimal is serialized to BsonDecimal128 where possible (#410)
  • BsonReaderInput based on BsonBinaryReader 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