Skip to content

Releases: gaelrenoux/tranzactio

v5.2.0

24 Mar 16:15
Compare
Choose a tag to compare

Two new features in this version:

  • The transactionOrDieStream and autoCommitStream now let you provide the Connection to a ZStream without converting it to a ZIO first, staying in streaming mode (#35). Thanks @xQwexx for the help!
  • Introduction of the DatabaseT[M] type, that lets you handle multiple databases in the same ZIO environment (#51).

v5.1.0

11 Feb 15:16
Compare
Choose a tag to compare

This version bumps the following dependency versions:

  • Scala to 2.13.12 and 3.3.1
  • ZIO to 2.0.21
  • Doobie to 1.0.0-RC5 (thank you @strokyl)

It also contains a small improvement on error handling: when the transaction fails AND the rollback (or the commit if commit-on-failure was used) fails, the resulting error cause will now contain both failures: the initial failure, and the rollback failure.

v5.0.1

05 Aug 15:40
Compare
Choose a tag to compare

Fix sbt version, required for publication.

v5.0.0

05 Aug 14:46
112d9ec
Compare
Choose a tag to compare

Massive changes in this version.

Multiple artifacts

Starting from this version, and thanks to some great work by @thanhbv, Transzactio now produces separate artifacts for Doobie and Anorm, avoiding unnecessary transitive dependencies. See migration notes for details.

Latest versions

This version depends on the latest versions for Scala 2 and 3, ZIO, and Doobie.

Introduction of the DbContext

In order to be able to handle query-logging in Doobie (through the LogHandler and its new behavior in Doobie 1.0.0-RC4), I've introduced the DbContext class. Generally, this class will be used to pass any library-specific information to the wrapped library. Right now, it's only used for the LogHandler (see here for an example).

v4.2.0

28 May 15:05
Compare
Choose a tag to compare

Upgrade on all Scala versions, ZIO version and zio-interop-cats version.

v4.1.0

25 Sep 16:00
Compare
Choose a tag to compare

Adds Scala 3 support (by @endertunc). Also updates a few versions (ZIO and Anorm).

v4.0.0

26 Jun 10:24
Compare
Choose a tag to compare

ZIO 2.0.0 is out, so here's the corresponding Tranzactio version. Note that we are still running on Doobie 1.0.0-RC2, which has been out since January.

v4.0.0-M4

19 Jun 12:00
421af06
Compare
Choose a tag to compare
v4.0.0-M4 Pre-release
Pre-release

Upgrades TranzactIO for ZIO 2.0.0-RC6.

Note: there is no M3 release, I screwed up a little bit when creating the M3 tag.

v3.0.0

26 Jun 10:20
Compare
Choose a tag to compare

No change compared to 3.0.0-M3, but I've decided to remove the milestone and make it a proper version. Two reasons:

  • The RC2 of Doobie 1.0.0 has been out since January.
  • I've released a 4.0.0 version for ZIO 2.0.0 and it seemed confusing to keep the milestone on the 3.0.0 and not on the 4.0.0.

v4.0.0-M2

18 Apr 12:24
Compare
Choose a tag to compare
v4.0.0-M2 Pre-release
Pre-release

Applies ZIO 2 guidelines:

  • Most parameters are now by-name.
  • Added implicit ZTRaceElements on appropriate methods.

Also fixes a bug on exponential retries (max-delay was always 10 seconds).