Skip to content

Releases: a-sit-plus/KmmResult

1.9.3

18 Jun 19:11

Choose a tag to compare

  • Kotlin 2.1.20
  • Add more targets:
    • watchosSimulatorArm64
    • watchosX64
    • watchosArm32
    • watchosArm64
    • watchosDeviceArm64
    • androidNativeX64
    • androidNativeX86
    • androidNativeArm32
    • androidNativeArm64

1.9.2

28 May 08:09

Choose a tag to compare

  • Simplify build and add BCV thanks to @Goooler
  • lower Android minSdk to 21 (5.0 Lollipop)

1.9.1

19 Feb 13:21

Choose a tag to compare

  • Kotlin 2.1.0
  • Add dedicated Android target
    • JVM target uses JDK 11
    • Android Target uses JDK 1.8 for maximum compatibility

1.9.0

28 Oct 17:54
d4f7eeb

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

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