Skip to content

Commit 7d3d072

Browse files
committed
NPFM-1078 Update tpolecat/doobie to v1.0.0-RC4 for compatibility with action-processor
1 parent 89f985e commit 7d3d072

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

build.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ lazy val root = (project in file("."))
3030
"com.softwaremill.magnolia1_2" %% "magnolia" % "1.0.0-M7",
3131
"de.siegmar" % "fastcsv" % "1.0.3",
3232
"org.mapdb" % "mapdb" % "3.0.8",
33-
"org.tpolecat" %% "doobie-core" % "1.0.0-RC2",
34-
"org.tpolecat" %% "doobie-hikari" % "1.0.0-RC2",
35-
"org.tpolecat" %% "doobie-postgres" % "1.0.0-RC2",
33+
"org.tpolecat" %% "doobie-core" % "1.0.0-RC4",
34+
"org.tpolecat" %% "doobie-hikari" % "1.0.0-RC4",
35+
"org.tpolecat" %% "doobie-postgres" % "1.0.0-RC4",
3636
"org.postgresql" % "postgresql" % "42.4.3", // CVE-2022-41946, CVE-2022-31197
37-
"com.google.code.gson" % "gson" % "2.8.9", // overriden because of a vulnerability
37+
"com.google.code.gson" % "gson" % "2.8.9", // overridden because of a vulnerability
3838
"com.disneystreaming" %% "weaver-cats" % "0.7.7" % Test,
3939
"com.disneystreaming" %% "weaver-core" % "0.7.7" % Test,
40-
"org.tpolecat" %% "doobie-h2" % "1.0.0-RC1" % Test,
40+
"org.tpolecat" %% "doobie-h2" % "1.0.0-RC4" % Test,
4141
"org.jetbrains.kotlin" % "kotlin-stdlib" % "1.6.0" // override to avoid CVE-2022-24329, CVE-2020-29582 vulnerabilities
4242
),
4343
/*

src/main/scala/com/intenthq/action_processor/integrations/feeds/SQLFeed.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait SQLFeed[I, O] extends Feed[I, O] with DoobieImplicits {
1515
protected lazy val transactor: Transactor[IO] = createTransactor
1616
protected val chunkSize: Int = doobie.util.query.DefaultChunkSize
1717

18-
protected def createTransactor: Aux[IO, Unit] = Transactor.fromDriverManager[IO](driver, jdbcUrl)
18+
protected def createTransactor: Aux[IO, Unit] = Transactor.fromDriverManager[IO](driver, jdbcUrl, None)
1919

2020
override def inputStream(feedContext: FeedContext[IO]): fs2.Stream[IO, I] =
2121
query(feedContext)

0 commit comments

Comments
 (0)