Releases: michaelbull/kotlin-result
Releases · michaelbull/kotlin-result
1.1.13
- Update Kotlin to 1.5.31 by @pablisco (b8d4109)
- Replace usages of
useExperimentalAnnotation
by @grodin (4e1bb9d) - Update Gradle to 7.2 (98c8eae)
- Add
Result#orElseThrow
(f236e26) - Add
Result#{throwIf,throwUnless}
by @grodin (3b87373) - Add
runSuspendCatching
andT#runSuspendCatching
by @grodin (2667273)- See #64
1.1.12
- Add Linux, Windows and MacOS targets (c4c70b4) by @avently
- https://repo.maven.apache.org/maven2/com/michael-bull/kotlin-result/kotlin-result-coroutines-linuxx64/
- https://repo.maven.apache.org/maven2/com/michael-bull/kotlin-result/kotlin-result-coroutines-macosx64/
- https://repo.maven.apache.org/maven2/com/michael-bull/kotlin-result/kotlin-result-coroutines-mingwx64/
- Set JS compiler to BOTH (7794201) by @gsteckman
- Correctly cancel child jobs in suspending variant of binding (f2bd9aa) by @Munzey
- Fix typo in mapOr KDoc (32b1a9e) by @mguelton
- Update Kotlin to 1.5.10 (d64837f) by @MrBergin
1.1.11
- Update Kotlin to 1.4.30 (d9662cc)
- Add iOS build targets (ccb9c5b) by @Munzey
- https://repo.maven.apache.org/maven2/com/michael-bull/kotlin-result/kotlin-result-iosx64/
- https://repo.maven.apache.org/maven2/com/michael-bull/kotlin-result/kotlin-result-iosarm64/
- https://repo.maven.apache.org/maven2/com/michael-bull/kotlin-result/kotlin-result-coroutines-iosx64/
- https://repo.maven.apache.org/maven2/com/michael-bull/kotlin-result/kotlin-result-coroutines-iosarm64/
- Move benchmarks to separate subproject (0df4c62) by @Munzey
- Fix typo in
recoverUnless
kdoc (754aa5a)
1.1.10
- Releases are now automated via GitHub actions. Every push to master will produce a SNAPSHOT build available at:
- Fixed links in README (3d40c70) by @gregoryinouye
- Eagerly cancel async bindings (c8372a0) by @Munzey
- Add
Result.recoverIf
andResult.recoverUnless
(0fdd0f2) by @oddsund - Publish JS multiplatform artifacts (0f90bb8) by @DerYeger
1.1.9
- Coroutine
binding
support moved tokotlin-result-coroutines
module (b16fb55) by @Munzey - Add Scala's
merge
(09d341a)- Calling
.merge()
on aResult<List<Int>, Set<Int>>
will return aCollection<Int>
(their most common supertype).
- Calling
- 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
1.1.7
- 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