- new artifact
either-extensions
withFlow
extensions
- KMP support
- Kotlin binary compatibility validator
- kotlin 2.0.0
- kotlinx.coroutines 1.8.1
- gradle 8.8
- kotlin 1.7.20
2.2.0 -- 2022-09-02 🍂
- bintray is removed and lib is now published to jitpack instead
- kotlin 1.7.10
- gradle 7.5.1
- target jdk 11
- kotlinx.coroutines 1.6.4
2.1.1 -- 2021-06-08 🌻
- Publish license information in POM file
- Bump Kotlin 1.5.10
- Bump Kotlin Coroutines 1.5.0
- Bump Gradle 7.0.2
2.1.0 -- 2021-03-25 🧩
- Bump Kotlin 1.4.31
- Bump Gradle 6.8.3
- Added suspending
map
function - Added suspending
flatMap
function
2.0.0 -- 2020-11-12 🍂
This is a major release and contains breaking changes. Several new methods have been added
to make it easier to interact with the Either
type and this release aims to allow for
more human readable code. The API has been documented and published via Github Pages.
- Bump Kotlin 1.4.10
- Bump Gradle 6.7
- API has been cleaned up
- Added dokka documentation to github pages
- Added several new extensions for convenience
- Added support to call suspending functions inside (via
eitherSuspend
andonResultSuspend
)
1.2.0 -- 2020-08-15
This release includes some extension functions to make code more human readable.
- Added
Either<R>.onRight
-- extension function to handleRight
case - Added
Either<R>.onSuccess
-- extension function to handleRight
case - Added
Either<L>.onLeft
-- extension function to handleLeft
case - Added
Either<L>.onFailure
-- extension function to handleLeft
case - Added basic usage samples to README
<A, B, C>.c()
extension function has receivedinternal
visibility modifier
1.1.0 -- 2020-04-29
- Added
<T>.asRight()
,<T>.asLeft()
extension functions
- Kotlin sdk bump 1.3.61 -> 1.3.72
1.0.2 -- 2020-02-11
- Correctly publish sources
- Kotlin sdk bump 1.3.50 -> 1.3.61
- Ktlint bump 0.36.0
1.0.1 -- 2019-08-29
- Updated readme
1.0.0 -- 2019-08-29
- Initial release