Skip to content

Releases: gaelrenoux/tranzactio

v5.3.0-M2

05 Feb 18:05
e1313b0
Compare
Choose a tag to compare
v5.3.0-M2 Pre-release
Pre-release

This milestone uses upgrades Doobie from RC5 to RC6.

Important: Using Doobie RC6 is NOT recommended, see Doobie's documentation. Therefore, this version of Tranzactio is not considered production-ready. Use at your own risks.

v5.3.0-M1

05 Feb 17:57
36699c1
Compare
Choose a tag to compare
v5.3.0-M1 Pre-release
Pre-release

Only contains some refactoring in DatabaseServiceBase to remove some unnecessary maps (thank you @guizmaii). It might be improve performance slightly.

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.