Skip to content

Releases: a-sit-plus/KmmResult

1.9.0

28 Oct 17:54
d4f7eeb
Compare
Choose a tag to compare
  • add WasmJS target
  • add WasmWasi target (not for KmmResult-test, as Kotest does not support WASI yet)
  • Function Renames (old ones are still present, but deprecated)
  • rename wrapping -> catchingAs but keep the old names as deprecated alternative
    • add catchingUnwrappedAs, which works just like catchingAs but on a Result rather than a KmmResult to avoid instantiation overhead

1.8.0

16 Oct 14:17
Compare
Choose a tag to compare
  • introduce kmmresult-test, featuring
    • result should succeed
    • result shouldNot succeed
    • result shouldSucceedWith expectedValue
    • result.shouldSucceed() returning the contained value
  • remove Arrow dependency and import arrow's list of Fatal exceptions directly into our code
  • Introduce Result.nonFatalOrThrow to mimic KmmResult's non-fatal-only behaviour, but without the object instantiation overhead
  • Introduce carchingUnwrapped, which mimics KmmResult's non-fatal-only behaviour, but without the object instantiation overhead