This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
Releases: nomisRev/Saga
Releases · nomisRev/Saga
1.0.1
Patch release with Kotlin version increase to 1.7.20
What's Changed
- Update actions/setup-java action to v3.5.0 by @renovate in #147
- Update all dependencies to v1.1.3 by @renovate in #148
- Update gradle/gradle-build-action action to v2.3.1 by @renovate in #149
- Update actions/setup-java action to v3.5.1 by @renovate in #150
- Update all dependencies by @renovate in #151
- Update all dependencies by @renovate in #152
Full Changelog: 1.0.0...1.0.1
1.0.0
What's Changed
- Refactor
Saga<A>
totypealias Saga<A> = suspend SagaEffect.() -> A
- Remove
traverse
and friends. Use collection inline operators (map
,forEach
, ...) +bind
. - Refactor constructors to smart-constructors only
saga
with 3 different signatures.fun <A> saga(block: suspend SagaEffect.() -> A): Saga<A>
fun <A> saga(action: suspend () -> A, compensate (A) -> Unit): Saga<A>
suspend fun <A> SagaEffect.saga(action: suspend SagaActionStep.() -> A, compensate (A) -> Unit): A
Note: binary compatibility will be maintained starting this version.
Full Changelog: 0.1.0...1.0.0