Skip to content

Releases: AVSystem/scala-commons

2.7.1

20 Jun 12:22
Compare
Choose a tag to compare
  • [bugfix] DefaultBlocking.ioScheduler caches the scheduler

2.7.0

06 Jun 12:06
68d69df
Compare
Choose a tag to compare
  • Transaction support in typed MongoDB API (#417)

2.6.2

01 Apr 14:20
0741d24
Compare
Choose a tag to compare
  • Dependency updates: Jetty, Scala, ScalaJS, slf4j

2.6.1

21 Mar 12:34
3cad3bc
Compare
Choose a tag to compare
  • BsonInput.readDouble() implementations accept INT32 (#413 by @pulewicz)

2.6.0

11 Mar 10:01
Compare
Choose a tag to compare

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

2.5.4

09 Feb 14:59
Compare
Choose a tag to compare
  • fixed numeric overflow in RetryStrategy.exponentially

2.5.3

09 Feb 14:49
9ecda72
Compare
Choose a tag to compare
  • BSON inputs for GenCodec: allow interpreting BSON Int32 as Long when reading

2.5.2

16 Dec 11:41
456a54a
Compare
Choose a tag to compare

commons-mongo:

  • added support for MongoPolyDataCompanion (Scala 2.13 only)

2.5.0

18 Nov 08:26
b21609f
Compare
Choose a tag to compare
  • Reworked TypedMap and added support for it in Mongo API
  • Added FloatWrapperCompanion, DoubleWrapperCompanion and BooleanWrapperCompanion

v2.0.0

25 May 20:38
Compare
Choose a tag to compare
  • Added support for Scala 2.13 and dropped support for Scala 2.11
  • GenCodec creates a List instead of Vector when deserializing scala.collection.Seq or scala.collection.immutable.Seq #76
  • commons-annotations module removed, annotations moved to commons-core
  • removed commons-rest, commons-akka and commons-kafka
  • AnnotationAggregate redesigned to use aggregated method rather than dummy type member
  • aliases for Annotation and StaticAnnotation in CommonAliases
  • Async moved from RawRest into concurrent package
  • declareSize, sizePolicy for Outputs and knownSize for Inputs