v1.2.0
Changelog:
-
chimney-java-collections
module now contains conversions for Scala to/from Java primitives (scala.Int
<->java.lang.Integer
,scala.Double
<->java.lang.Double
, etc) (#535, done in #556) -
introduced
Codec[Domain, Dto]
andIso[A, B]
types which represents bidirectional conversions:Codec
"encodes"Domain
intoDto
usingTransformer
and "decodes"Dto
intoDomain
withPartialTransformer
Iso
represents isomorphism where both directions are handled withTransformer
s
-
allow renaming the subtype in sealed/enum conversions (#409, done in #557)
-
allow enabling default values only for a specific type (e.g.
scalapb.UnknownFieldSet
), allow providing your ownDefaultValue[A]
for cases when it would be convenient to use then but where they are not defined (#408, done in #558)