github AVSystem/scala-commons v2.6.0
2.6.0

latest releases: v2.16.0, v2.15.0, v2.14.0...
2 years ago

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

Don't miss a new scala-commons release

NewReleases is sending notifications on new releases.