Skip to content

Releases: Courtsite/temporal-go-helpers

v1.1.0

02 Nov 18:25
8ee3b56
Compare
Choose a tag to compare

Hi folks! It has been a while. We are still using Temporal, and supporting this library.

No major changes in this release.

  1. Support Go 1.16
  2. Upgrade dependencies (using Temporal SDK v1.11.0)
  3. New Drain helper: a convenience method to completely flush a signal channel (see README.md for details)

v1.0.0

07 Dec 21:51
24bdb8a
Compare
Choose a tag to compare

WARNING: this release includes backwards INCOMPATIBLE changes.

  1. Saga compensation operations are now executed in LIFO order instead of FIFO

This should have been the case from the initial release, and indeed, it is how other language SDKs behaves (rolling backwards instead of forwards).

  1. ReceiveWithTimeout now returns two flags: IsCancelled, and HasTimedOut

This is to encourage callers to account for the possibility that the context has been cancelled, and to handle it accordingly. Prior to this change, ReceiveWithTimeout would have simply returned true, indicating that it has timed out. Callers can now better disambiguate between actual timeouts, and the context simply being cancelled.

v0.1.1

17 Nov 18:50
e532120
Compare
Choose a tag to compare

This release includes backwards compatible improvements to ReceiveWithTimeout such that the timer is cleaned up when it is no longer being used, and to better handle potential race conditions.

Initial Release 🚀

02 Nov 18:38
8aaafc4
Compare
Choose a tag to compare

Courtsite is experimenting with Temporal! And, we have built several Go SDK helpers which we are using internally. We would like to share them with you.

Currently:

  • Saga
  • Receive Signal with Timeout

Are there any common patterns or boilerplate you would like to see included in this repository? Let us know!