Releases: michaelbull/kotlin-result
Releases · michaelbull/kotlin-result
1.1.2
1.1.1
- 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
1.1.0
Now 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)