Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Releases: nomisRev/Saga

1.0.1

04 Oct 16:31
8a5da2d
Compare
Choose a tag to compare

Patch release with Kotlin version increase to 1.7.20

What's Changed

Full Changelog: 1.0.0...1.0.1

1.0.0

05 Sep 19:37
Compare
Choose a tag to compare

What's Changed

  • Refactor Saga<A> to typealias 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

0.1.0

30 Aug 17:28
Compare
Choose a tag to compare

First release of Saga.

Kotlin implementation of the Saga pattern for distributed transaction build on top Kotlin's suspension system.
Offer a convenient saga { } DSL, and parallel compositional combinators such as parZip and parTraverse.

0.1.3

28 Dec 14:47
Compare
Choose a tag to compare

Fixes JDK compatibility