Skip to content

v0.8.0

Compare
Choose a tag to compare
@mlms13 mlms13 released this 03 Jul 16:15

🚨 Breaking

  • Long-deprecated int and float functions have been removed. You should be using intFromNumber and floatFromNumber instead to avoid shadowing issues
  • tuple (which previously contructed a tuple from a JSON object) is now tupleFromFields
  • Base failure type now includes an ExpectedTuple(int) constructor, where int is the expected size. This is only a breaking change if you're manually matching on values of the base failure type.

✨ New features

  • JSON arrays can now be decoded directly into tuples using tuple2...tuple5 (which will fail if the JSON array is larger than expected) or tupleAtLeast2...tupleAtLeast5 (which will tolerate longer arrays)