Skip to content

Commit

Permalink
FAQ: migration to 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelrenoux committed Jul 29, 2023
1 parent e05778a commit 830a2fd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,21 @@ but I'm completely unfamiliar with it.
Slick, however, is a problem. I know it quite well, tried to implement a TranzactIO module for it, and couldn't.
Transactions cannot be handled externally using Slick.
I don't think it's doable until this ticket is done: https://github.com/slick/slick/issues/1563



### How do I migrate to 5.x?

Versions starting at 5.0.0 have split artifacts for Anorm and Doobie. If you were using a 4.x version or below, you need
to update your project's dependencies.

```sbt
// Before
// libraryDependencies += "io.github.gaelrenoux" %% "tranzactio" % TranzactIOVersion

// For Doobie
libraryDependencies += "io.github.gaelrenoux" %% "tranzactio-doobie" % TranzactIOVersion

// For Anorm
libraryDependencies += "io.github.gaelrenoux" %% "tranzactio-anorm" % TranzactIOVersion
```

0 comments on commit 830a2fd

Please sign in to comment.