All Versions
10
Latest Version
Avg Release Cycle
79 days
Latest Release
1703 days ago
Changelog History
Changelog History
-
v1.1.9 Changes
August 29, 2020- ๐ 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
- ๐ Coroutine
-
v1.1.8 Changes
July 19, 2020 -
v1.1.7 Changes
June 28, 2020- โ 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
- โ Add Result#toErrorIf (cf95820) by @Globegitter
-
v1.1.6 Changes
February 12, 2020 -
v1.1.4 Changes
December 20, 2019 -
v1.1.3 Changes
August 24, 2019 -
v1.1.2 Changes
August 09, 2019- โ Add compiler contracts (66f1122)
-
v1.1.1 Changes
November 01, 2018- Migrate to Kotlin Gradle DSL(80bd9dd)
- โ Remove jdk dependency of kotlin stdlib (722ddd7)
- โก๏ธ Update Kotlin to 1.3.0 (7e45bfb)
- โ Add
fold
as an alias tomapBoth
(4eb5d80) - Return the Result in
on{Success,Failure}
(3a3b541)- This facilitates chaining
onSuccess
/onFailure
calls that may perform arbitrary side-effects, such as logging.
- This facilitates chaining
- โ Add
Result.recover
(b5aab62)- Similar to
getOrElse
but returns anOk
of the transformed error
- Similar to
-
v1.1.0 Changes
September 18, 2018Now published on Bintray
repositories { maven { url = 'https://dl.bintray.com/michaelbull/maven' } } dependencies { compile 'com.michael-bull.kotlin-result:kotlin-result:1.1.0'}
- โก๏ธ Update dependencies (cc1ab49)
- โ Add more mapping functions for Iterables (e43a700)
mapAll
mapResult
mapResultTo
mapResultNotNull
mapResultNotNullTo
mapResultIndexed
mapResultIndexedTo
mapResultIndexedNotNull
mapResultIndexedNotNullTo
- Avoid creating unnecessary Err elements in map functions (29e21e5)
- ๐ Consistently wrap documentation at 100 characters(1377350)
- Mark new mapping functions as inline (21db2e5)
- โ Add bintray publishing configuration (4a0a49b)
- โ Add explicit dependencies to bintrayUpload task (88f496a)
- Migrate away from multi-platform project structure (f10de37)