Skip to content

Latest commit

 

History

History
415 lines (291 loc) · 18.2 KB

CHANGELOG.md

File metadata and controls

415 lines (291 loc) · 18.2 KB

0.12.3 (2020-04-28)

  • Update mongodb-driver-core to 4.2.3

0.12.1 (2020-01-05)

  • Update joda-time to 2.10.9 (#259) @scala-steward
  • Update sbt to 1.4.6 (#258) @scala-steward
  • Migrate to GitHub actions (#257) @yanns
  • Update cats-core to 2.3.1 (#256) @scala-steward
  • Update scalacheck to 1.15.2 (#255) @scala-steward
  • Update sbt to 1.4.5 (#254) @scala-steward
  • Update cats-core to 2.3.0 (#252) @scala-steward
  • Update jackson-databind to 2.12.0 (#253) @scala-steward
  • Update sbt to 1.4.4 (#251) @scala-steward
  • Update sbt-bintray to 0.6.1 (#245) @scala-steward
  • Update sbt to 1.4.3 (#250) @scala-steward
  • Update scalatest to 3.2.3 (#249) @scala-steward
  • Update scalacheck to 1.15.1 (#248) @scala-steward
  • Fix error message in case of invalid enum value (#247) @balazs-kossovics-ct
  • Update scalacheck to 1.15.0 (#244) @scala-steward
  • Update sbt-bintray to 0.6.0 (#243) @scala-steward
  • Update joda-time to 2.10.8 (#242) @scala-steward
  • Update joda-time to 2.10.7 (#241) @scala-steward
  • Update sbt to 1.4.1 (#240) @scala-steward
  • Update sbt to 1.4.0 (#238) @scala-steward
  • Update jackson-databind to 2.11.3 (#237) @scala-steward

0.11.20 (2020-09-13)

  • target jvm 8 bytecode (#232) @yanns

0.11.19 (2020-09-04)

  • scala 2.12.12 (#231) @yanns
  • Cats 2.2.0 (#230) @yanns
  • test jsonTypeSwitch (#227) @yanns
  • Update mongodb-driver-core to 3.12.7 (#221) @scala-steward
  • Update magnolia to 0.17.0 (#224) @scala-steward
  • Update jackson-databind to 2.11.2 (#220) @scala-steward

0.11.7 (2020-07-09)

  • Update mongodb-driver-core to 3.12.6 (#217) @scala-steward
  • scala 2.13.3 (#216) @agourlay
  • Modularize sphere json (#213) @yanns
  • Update jackson-databind to 2.11.1 (#214) @scala-steward

0.11.7 (2020-06-15)

  • json4s 3.6.9 (#210) @agourlay
  • Optimise mongo format (#209) @agourlay
  • Update mongodb-driver-core to 3.12.5 (#207) @scala-steward

0.11.6 (2020-05-25)

  • test empty type hints (#201) @yanns
  • some love for typeclasses (#202) @yanns
  • keep only one method for automatic derivation based on magnolia (#200) @yanns
  • Update scalacheck-1-14 to 3.1.2.0 (#199) @scala-steward
  • tests suite for mongo derivation (#193) @yanns
  • optimize mongo format generated by magnolia (#196) @yanns
  • Update mongodb-driver-core to 3.12.4 (#197) @scala-steward
  • Update scalatest to 3.1.2 (#198) @scala-steward
  • Update json4s-jackson, json4s-scalap to 3.6.8 (#194) @scala-steward
  • sphere-mongo must depend on sphere-mongo-core and sphere-mongo-derivation (#192) @yanns

0.11.5-2 (2020-05-02)

  • sphere-mongo is now split into sphere-mongo-core containing the type classes and sphere-mongo-derivation containing the magic for deviring type class instances for case classes and sealed traits. This split does not change anything for users of sphere-mongo.
  • there is now an experimental sphere-mongo-derivation-magnolia project, alternative to sphere-mongo-derivation based on magnolia. (see #174 for plan)

Detail:

  • sphere-mongo must depend on sphere-mongo-core and sphere-mongo-derivation (#192) @yanns
  • Issue with mongo type hint field (#191) @yanns
  • add sphere-mongo-derivation-magnolia (#190) @yanns
  • extract mongo-derivation (#189) @yanns
  • show impact of parsing DateTime for a more realistic benchmark (#187) @agourlay
  • various optimizations which have a slight positive impact on the bench (#186) @agourlay
  • minor cleanup macros (#185) @agourlay
  • Update jackson-databind to 2.11.0 (#184) @scala-steward
  • a bit of linting (#183) @agourlay
  • FromJson[Collections] even more imperative style for a couple percents improvement (#182) @agourlay
  • Update joda-time to 2.10.6 (#181) @scala-steward
  • scala 2.13.2 (#180) @agourlay
  • optimize Money & HighPrecisionMoney (#179) @agourlay
  • Allocate only once the typeHint JField (#178) @agourlay
  • Add missing unit tests for MongoFormat[Vector[_]] (#177) @agourlay
  • Cleanup JavacOptions regarding Java7 (#175) @agourlay
  • introduce official owners (#172) @yanns

0.11.4 (2020-04-15)

  • Update sbt to 1.3.10 (#171) @scala-steward
  • Precompute most common centFactor in Money fromCentAmount (#170) @agourlay
  • Various perf improvements (#169) @agourlay
  • Do not use List.apply for performance in MongoFormatMacros (#168) @agourlay
  • Update Scala 2.12.11 (#167) @agourlay

0.11.3 (2020-04-11)

  • Update mongodb-driver-core to 3.12.3 (#165) @scala-steward
  • Update mongodb-driver-core to 3.12.2 (#162) @scala-steward
  • Update sbt to 1.3.9 (#163) @scala-steward
  • Update jackson-databind to 2.10.3 (#161) @scala-steward
  • Update scalacheck-1-14 to 3.1.1.1 (#159) @scala-steward
  • Update cats-core to 2.1.1 (#160) @scala-steward
  • Update scalatest to 3.1.1 (#158) @scala-steward

0.11.2 (2020-02-13)

  • upgrade to scalatest 3.1.0 (#157) @agourlay
  • Update mongodb-driver-core to 3.12.1 (#154) @scala-steward
  • test JSONTypeHintField (#156) @yanns
  • Update sbt to 1.3.8 (#155) @scala-steward
  • Update sbt-release to 1.0.13 (#153) @scala-steward
  • Update sbt to 1.3.7 (#152) @scala-steward

0.11.1 (2020-01-07)

  • cats 2.1.0 in sphere-util (#151) @yanns

0.11.0 (2020-01-07)

This version is available for scala 2.12 and scala 2.13. Support for scala 2.11 has been removed.

  • cats 2.1.0 (#148) @yanns
  • Update jackson-databind to 2.10.2 (#149) @scala-steward
  • Update sbt-bintray to 0.5.6 (#147) @scala-steward
  • Update sbt to 1.3.6 (#146) @scala-steward
  • Update scalacheck to 1.14.3 (#145) @scala-steward
  • scala 2.13.1 (#142) @yanns
  • Update sbt-release to 1.0.12 (#135) @scala-steward
  • Update sbt to 1.3.4 (#139) @scala-steward
  • Update scalacheck to 1.14.2 (#140) @scala-steward
  • Update jackson-databind to 2.10.1 (#138) @scala-steward
  • Update joda-time to 2.10.5 (#136) @scala-steward

0.10.1 (2019-10-10)

  • micro-optimizations (#132) @yanns
  • Update jackson-databind to 2.10.0 (#130) @scala-steward
  • Update joda-time to 2.10.4 (#126) @scala-steward
  • Update jackson-databind to 2.9.10 (#128) @scala-steward
  • automatic release notes (#129) @yanns
  • test MongoTypeHintField (#124) @yanns

0.10.0 (2019-09-11)

  • Update scala-logging to 3.9.2. 109
  • Update json4s-jackson, json4s-scalap to 3.6.7. 114
  • Update joda-time to 2.10.3. 116
  • Update jackson-databind to 2.9.9.3. 118
  • Update cats-core, cats-macros to 2.0.0. 122
  • cross-compile on scala 2.13, 2.12 & 2.11. 123

0.9.28 (2019-06-06)

  • Update cats to 1.6.1. 105
  • Update json4s to 3.6.6. 108
  • Remove scala 2.13.0-M5 artifacts to allow updating dependencies. 107

0.9.27 (2019-05-20)

  • Update joda-time to 2.10.2. 102
  • Update jackson-databind to 2.9.9. 104

0.9.26 (2019-05-03)

  • introduce mongo format for java.util.Local 101

0.9.25 (2019-03-23)

  • artifacts for scala 2.13.0-M5 available. 95 and 96

0.9.24 (2019-03-18)

  • deriveJSON and deriveMongoFormat support sum types with only one concrete type. 92

0.9.23 (2019-03-11)

  • update mongo core driver to 3.10.1. 70

0.9.22 (2019-03-05)

  • avoid unnecessary instantiations. 88 91
  • handle fields of embedded json. 90

0.9.21 (2019-03-05)

  • add cats instances for MongoFormat and JSON. 85
  • use more generic BSONObject and BasicBSONList. 87

0.9.20 (2019-03-01)

  • fix runtime error on HighPrecisionMoney.toString. 74
  • lots of improvement on mongo support:
    • handle optional embedded field. 75
    • MongoFormat instance for Map[String, A] where A: MongoFormat. 76 (and a fix)
    • MongoFormat instance for BaseMoney. 79

0.9.19 (2019-02-27)

  • support scala singleton objects in mongo generics. 72
  • Breaking change: avoid need for currying in mongo format. 73

0.9.18 (2019-02-22)

  • update json4s-jackson and json4s-scalap to 3.6.5. 71
  • update cats to 1.6.0. 68

0.9.17 (2019-01-15)

  • update jackson-databind from 2.9.7 to 2.9.8. 62
  • update json4s-jackson and json4s-scalap from 3.6.2 to 3.6.3. 63
  • optimize FromJSON[Seq[A]]. 65

0.9.16 (2018-12-12)

  • make value log of Logging protected. 60
  • update Scala to 2.12.8
  • update cats to 1.5.0
  • update mongodb-driver to 3.9.1
  • update joda-convert to 2.1.2
  • update json4s-jackson to 3.6.2

0.9.15 (2018-10-02)

  • update jackson-databind from 2.9.6 to 2.9.7. 50
  • update cats to 1.4.0
  • update mongodb-driver to 3.8.2
  • update json4s-jackson to 3.6.0
  • update scala to 2.12.7
  • fix to respect the java embedded annotation #52

0.9.14 (2018-08-02)

  • update cats to 1.2.0
  • update joda to 2.10
  • update joda-convert to 2.1.1
  • update mongodb-driver to 3.8.0
  • update jackson-databind to 2.9.6
  • update json4s-jackson to 3.6.0

0.9.13 (2018-06-06)

  • Fix a bug in the new derive functions introduced in 0.9.12. 40

0.9.12 (2018-06-05)

  • Added derive functions for ToJSON and FromJSON. E.g. in addition to jsonProduct, there is now also toJsonProduct and fromJsonProduct. 39

0.9.11 (2018-06-04)

  • sphere-mongo depends on mongodb-driver-core instead of mongodb-driver to let the user decide to use whether the sync or the mongodb-driver-async driver.

0.9.10 (2018-06-01)

  • update Scala to 2.12.6
  • update scala-logging to 3.9.0
  • update jackson-databind to 2.9.5
  • update mongodb-driver to 3.7.0 and 3.7.1
  • introduce ToJSON.instance to reserve ToJSON.apply for the typeclass instance. This change is backwards compatible only with scala >= 2.12.
  • optimize LangTag.unapply to avoid allocations.

0.9.9 (2018-05-30)

  • this version was partially deployed - please ignore and more to 0.9.10 directly.

0.9.8 (2018-05-08)

  • increase limit to allow more subclasses for deriveJSON[X].

0.9.7 (2018-03-23)

  • json and mongo formats performance optimization
  • update cats to 1.1.0
  • update scala-logging to 3.8.0
  • update joda-convert to 2.0.1

0.9.6 (2018-03-22)

  • Added HighPrecisionMoney decoding validations for fractionDigits and centAmount
  • Added helpers for BaseMoney (amount and baseMoneyMonoid)
  • Introduced ValidatedFlatMap

0.9.5 (2018-03-02)

  • added initial support for high precision money
    • money is now polymorphic and has centPrecision and highPrecision types
    • old format with currencyCode and centAmount still supported for input, it's treated as centPrecision
    • when returned to clients "old" money has additional fields: type, fractionDigits
    • high precision money centAmount can be specified and is used for rounding - experimental
    • high precision money is defined by preciseAmount and fractionDigits

0.9.4 (2018-02-06)

0.9.3 (2018-01-02)

  • update json4s-jackson to 3.5.3
  • update jackson-databind to 2.9.3
  • update joda-convert to 1.9.2
  • update cats to 1.0.1

0.9.2 (2017-12-14)

  • MongoFormat uses the field default value if the field is absent in the mongo object.

0.9.1 (2017-12-12)

  • add support for scala enums for MongoDB

0.9.0 (2017-09-05)

  • update Cats dependency to 1.0.0-MF
  • added scalac option "-Ypartial-unification"

0.8.2 (2017-06-15)

Please note that v0.8.0 and v0.8.1 represent the same version. They are side-effect of failed attempt to update the sbt-bintray plugin.

  • Introduced sphere-mongo which provides a set of type classes and macros to help with defining models for MongoDB (it is similar to what sphere-json provides for JSON models). You can use it like this:
    resolvers += Resolver.bintrayRepo("commercetools", "maven")
    
    libraryDependencies += "io.sphere" %% "sphere-mongo" % "0.8.2"

0.7.0 (2017-05-11)

  • use Cats instead of Scalaz.

0.6.13 (2017-05-10)

  • update dependencies
  • optimize performance of FromJSON[List[A]] and FromJSON[Vector[A]]

0.6.12 (2017-04-04)

  • update dependencies
  • add ToJSON.apply

0.6.11 (2017-03-29)

  • add ToJSONProduct.forProductN to create ToJSON without any magic

0.6.10 (2017-02-28)

  • jackson-databind 2.8.7
  • add Money.withCentAmount to calculate a new money with a new cent amount in the same currency

0.6.9 (2017-02-10)

0.6.8 (2016-12-02)

0.6.7 (2016-11-10)

0.6.6 (2016-11-01)

0.6.5 (2016-06-27)

0.6.4 (2016-05-31)

  • update "org.scalaz" %% "scalaz-core" to "7.1.8"
  • update "com.fasterxml.jackson.core" % "jackson-databind" to 2.7.4
  • update "joda-time" % "joda-time" to 2.9.4

0.6.3 (2016-04-04)

  • update scala to 2.11.8
  • update "com.fasterxml.jackson.core" % "jackson-databind" to 2.7.3
  • update "joda-time" % "joda-time" to 2.9.3
  • JNothing is now treated the same way as JNull during the case-class serialization

0.6.2 (2016-01-07)

  • update "com.fasterxml.jackson.core" % "jackson-databind" to "2.7.2"
  • update "org.scalaz" %% "scalaz-core" to "7.1.7"
  • update "joda-time" % "joda-time" to "2.9.2"
  • can parse a JLong

0.6.0 (2015-12-14)

  • null is now treated the same way as undefined during the case-class serialization
  • Dropped scala 2.10 support

0.5.31 (2015-12-11)

  • Added deriveSingletonJSON macros which provides a nice alternative to Enumeration where you can represent enum-values as a sealed case object hierarchy (you can find an example in the DeriveSingletonJSONSpec).