ducktape 0.2.0-M5
arainko
released this
10 Mar 15:24
·
218 commits
to series/0.2.x
since this release
ducktape 0.2.0-M5
This release bring a new encoding of accumulating transformations (well, the 'decoding', really) - the final step destructing the zipped Tuple is now represented as a chain of accessors, i.e. this:
(value: Tuple2[Type, Tuple2[Type, Type]]) => new Person(name = value._1, age = value._2._1, socialSecurityNo = value._2._2)
): Either[List[String], Person]): Either[List[String], Person])
instead of a pattern match like this one:
value: Tuple2[Tuple2[Type, Type], Type]) =>
value match {
case Tuple2(Tuple2(name, age), socialSecurityNo) =>
new ValidatedPerson(name = name, age = age, socialSecurityNo = socialSecurityNo)
case x =>
throw new MatchError(x)
}
)
This release is very likely to become an RC if nothing serious comes up in the next week.
What's Changed
- annotate
Transformer
andTransformer.Fallible
with FunctionalInterface by @arainko in #124 - Revert "update deps" by @arainko in #125
- Revert "Revert "update deps"" by @arainko in #126
- Fix bad owners for fail fast and partially for accumulating by @arainko in #127
- dramatically simplify
ProductZipper
by @arainko in #130 - Regional config docs by @arainko in #133
- More fallible docs by @arainko in #134
Full Changelog: v0.2.0-M4...v0.2.0-M5