Skip to content

Releases: michaelbull/kotlin-result

1.1.13

02 Nov 09:32
Compare
Choose a tag to compare

1.1.12

12 Jun 16:50
Compare
Choose a tag to compare

1.1.11

1.1.10

30 Jan 18:36
Compare
Choose a tag to compare

1.1.9

29 Aug 11:42
Compare
Choose a tag to compare
  • Coroutine binding support moved to kotlin-result-coroutines module (b16fb55) by @Munzey
  • Add Scala's merge (09d341a)
    • Calling .merge() on a Result<List<Int>, Set<Int>> will return a Collection<Int> (their most common supertype).
  • Remove deprecation of eager-evaluating functions (a76768f)
    • Rust includes these eager evaluating variants with a simple warning in their comments with regards to using the lazy variants for heavy lifting.
  • Update Gradle to 6.6.1 (30d2778)
  • Update Kotlin to 1.4.0 (a662ebc)
  • Use Kotlin 1.4's Explicit API mode (a9a0c38) by @Munzey

1.1.8

19 Jul 10:13
Compare
Choose a tag to compare
  • Add suspend variant of binding function (bd7e124) by @Munzey
    • Allows calls to binding to be passed a block that suspends
    • Addresses #24

1.1.7

28 Jun 11:22
Compare
Choose a tag to compare
  • Add Result#toErrorIf (cf95820) by @Globegitter
    • Facilitates transforming an Ok to an Err if the value satisfies a given predicate.
  • Add Result#toErrorUnless (1000c58)
    • Facilitates transforming an Ok to an Err unless the value satisfies a given predicate.
  • Add monad comprehensions via binding block (9bcaa97) by @Munzey
    • See the Binding section on the README for an introduction to this concept
  • Add benchmarking framework (0910e9f) by @Munzey
  • Update Gradle to 6.5 (b4b2224)
  • Add unit tests for zip functions (31965ce) by @jvanderwee
  • Convert to multi-platform project structure (bca344d) by @Munzey

1.1.6

12 Feb 14:44
Compare
Choose a tag to compare
  • Update gradle to 6.2-rc-2 (e4da8cf)
  • Replace bintray with maven central (68cabd7)

1.1.5

31 Jan 09:33
Compare
Choose a tag to compare

1.1.4

20 Dec 15:02
Compare
Choose a tag to compare
  • Support destructuring declarations (1bf2125)
    • val (value: String?, error: Throwable?) = runCatching(yourFunction)
  • Update dependencies (782fac0)
  • Replace travis with github actions (b3dbc36)