Skip to content

Commit 9bd9be8

Browse files
authored
Bump Doobie to the latest release candidate (#65)
1 parent 22ee0ad commit 9bd9be8

2 files changed

Lines changed: 30 additions & 30 deletions

File tree

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -178,30 +178,30 @@ The table below indicates for each version of TranzactIO, the versions of ZIO or
178178
Check the backward compatibility information on those libraries to check which versions TranzactIO can support.
179179

180180
| TranzactIO | Scala | ZIO | Doobie | Anorm |
181-
|------------|-------------|--------------|-----------|--------------|
182-
| 0.1.0 | 2.13 | 1.0.0-RC17 | 0.8.6 | - |
183-
| 0.2.0 | 2.13 | 1.0.0-RC18-2 | 0.8.6 | - |
184-
| 0.3.0 | 2.13 | 1.0.0-RC18-2 | 0.8.6 | 2.6.5 |
185-
| 0.4.0 | 2.13 | 1.0.0-RC19-2 | 0.9.0 | 2.6.5 |
186-
| 0.5.0 | 2.13 | 1.0.0-RC20 | 0.9.0 | 2.6.5 |
187-
| 0.6.0 | 2.13 | 1.0.0-RC21-1 | 0.9.0 | 2.6.5 |
188-
| 1.0.0 | 2.13 | 1.0.0 | 0.9.0 | 2.6.7 |
189-
| 1.0.1 | 2.13 | 1.0.0 | 0.9.0 | 2.6.7 |
190-
| 1.1.0 | 2.13 | 1.0.3 | 0.9.2 | 2.6.7 |
191-
| 1.2.0 | 2.13 | 1.0.3 | 0.9.2 | 2.6.7 |
192-
| 1.3.0 | 2.13 | 1.0.5 | 0.9.4 | 2.6.10 |
193-
| 2.0.0 | 2.13 | 1.0.5 | 0.12.1 | 2.6.10 |
194-
| 2.1.0 | 2.12 2.13 | 1.0.9 | 0.13.4 | 2.6.10 |
195-
| 3.0.0 | 2.12 2.13 | 1.0.11 | 1.0.0-RC2 | 2.6.10 |
196-
| 4.0.0 | 2.12 2.13 | 2.0.0 | 1.0.0-RC2 | 2.6.10 |
197-
| 4.1.0 | 2.12 2.13 3 | 2.0.2 | 1.0.0-RC2 | 2.7.0 |
198-
| 4.2.0 | 2.12 2.13 3 | 2.0.13 | 1.0.0-RC2 | 2.7.0 |
199-
| 5.0.1 | 2.12 2.13 3 | 2.0.15 | 1.0.0-RC4 | 2.7.0 |
200-
| 5.1.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC5 | 2.7.0 |
201-
| 5.2.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC5 | 2.7.0 |
202-
| 5.3.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC8 | 2.7.0 |
203-
| 5.4.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC9 | 2.7.0 |
204-
| master | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC9 | 2.7.0 |
181+
|------------|-------------|--------------|------------|--------------|
182+
| 0.1.0 | 2.13 | 1.0.0-RC17 | 0.8.6 | - |
183+
| 0.2.0 | 2.13 | 1.0.0-RC18-2 | 0.8.6 | - |
184+
| 0.3.0 | 2.13 | 1.0.0-RC18-2 | 0.8.6 | 2.6.5 |
185+
| 0.4.0 | 2.13 | 1.0.0-RC19-2 | 0.9.0 | 2.6.5 |
186+
| 0.5.0 | 2.13 | 1.0.0-RC20 | 0.9.0 | 2.6.5 |
187+
| 0.6.0 | 2.13 | 1.0.0-RC21-1 | 0.9.0 | 2.6.5 |
188+
| 1.0.0 | 2.13 | 1.0.0 | 0.9.0 | 2.6.7 |
189+
| 1.0.1 | 2.13 | 1.0.0 | 0.9.0 | 2.6.7 |
190+
| 1.1.0 | 2.13 | 1.0.3 | 0.9.2 | 2.6.7 |
191+
| 1.2.0 | 2.13 | 1.0.3 | 0.9.2 | 2.6.7 |
192+
| 1.3.0 | 2.13 | 1.0.5 | 0.9.4 | 2.6.10 |
193+
| 2.0.0 | 2.13 | 1.0.5 | 0.12.1 | 2.6.10 |
194+
| 2.1.0 | 2.12 2.13 | 1.0.9 | 0.13.4 | 2.6.10 |
195+
| 3.0.0 | 2.12 2.13 | 1.0.11 | 1.0.0-RC2 | 2.6.10 |
196+
| 4.0.0 | 2.12 2.13 | 2.0.0 | 1.0.0-RC2 | 2.6.10 |
197+
| 4.1.0 | 2.12 2.13 3 | 2.0.2 | 1.0.0-RC2 | 2.7.0 |
198+
| 4.2.0 | 2.12 2.13 3 | 2.0.13 | 1.0.0-RC2 | 2.7.0 |
199+
| 5.0.1 | 2.12 2.13 3 | 2.0.15 | 1.0.0-RC4 | 2.7.0 |
200+
| 5.1.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC5 | 2.7.0 |
201+
| 5.2.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC5 | 2.7.0 |
202+
| 5.3.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC8 | 2.7.0 |
203+
| 5.4.0 | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC9 | 2.7.0 |
204+
| master | 2.12 2.13 3 | 2.0.21 | 1.0.0-RC10 | 2.7.0 |
205205

206206

207207

@@ -219,7 +219,7 @@ Those are the specific operations handled by Tranzactio, that are necessary to i
219219

220220
They correspond to specific methods in the `ConnectionSource` service.
221221
You would not usually address that service directly, going through `Database` instead.
222-
222+
223223
#### Error kinds
224224

225225
In TranzactIO, we recognize two kinds of errors relating to the DB: query errors, and connection errors:
@@ -251,7 +251,7 @@ val result2: ZIO[Database, E, A] = Database.transactionOrDie(zio)
251251
// assuming E extends Exception:
252252
val result3: ZIO[Database, Exception, A] = Database.transactionOrWiden(zio)
253253
```
254-
254+
255255
A frequent case is to have an additional environment on your ZIO monad, e.g.: `ZIO[ZEnv with Connection, E, A]`.
256256
All methods mentioned above will carry over the additional environment:
257257
```scala
@@ -339,7 +339,7 @@ To provide a `Connection` to the ZIO stream, you can either consume the stream i
339339

340340
The methods `transactionOrDieStream` and `autoCommitStream` work in the same way as the similar, non-stream method.
341341
Note that for transactions, only the `OrDie` variant exists: this is because ZIO's acquire-release mechanism for stream does not allow to pass errors that occur during the acquire-release phase in the error channel.
342-
Defects in the stream due to connection errors can only be caught after the `ZStream` has been consumed into a `ZIO`.
342+
Defects in the stream due to connection errors can only be caught after the `ZStream` has been consumed into a `ZIO`.
343343

344344
```scala
345345
import io.github.gaelrenoux.tranzactio.doobie._

project/BuildHelper.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ object BuildHelper {
88
val zio = "2.0.21"
99
val zioCats = "23.1.0.0"
1010
val cats = "2.10.0"
11-
val doobie = "1.0.0-RC9"
11+
val doobie = "1.0.0-RC10"
1212
val anorm = "2.7.0"
1313
val h2 = "2.2.224"
1414
val scala212 = "2.12.18"
1515
val scala213 = "2.13.12"
1616
val scala3 = "3.3.1"
1717
}
18-
18+
1919
val coreDeps: Seq[ModuleID] = Seq(
2020
/* ZIO */
2121
"dev.zio" %% "zio" % V.zio,
@@ -54,7 +54,7 @@ object BuildHelper {
5454
sonatypeProjectHosting := Some(GitHubHosting("gaelrenoux", "tranzactio", "gael.renoux@gmail.com")),
5555
publishTo := sonatypePublishTo.value,
5656
)
57-
57+
5858
}
5959

6060
object ScalacOptions {

0 commit comments

Comments
 (0)