Skip to content

Commit

Permalink
Use skunk 1.0.0-M6 (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed May 16, 2024
2 parents 7c45233 + 2c7e526 commit 99ec757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/db/src/main/scala/DbResource.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import cats.*
import cats.effect.*
import cats.syntax.all.*
import fs2.io.net.Network
import natchez.Trace.Implicits.noop
import org.typelevel.log4cats.Logger
import org.typelevel.log4cats.syntax.*
import skunk.*
Expand All @@ -16,6 +15,8 @@ class DbResource private (val postgres: Resource[IO, Session[IO]])

object DbResource:

given org.typelevel.otel4s.trace.Tracer[IO] = org.typelevel.otel4s.trace.Tracer.noop[IO]

def instance(postgresConf: PostgresConfig)(using Logger[IO]): Resource[IO, DbResource] =

def checkPostgresConnection(postgres: Resource[IO, Session[IO]]): IO[Unit] =
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ object Dependencies {
val http4sClient = http4s("client")
val http4sEmberClient = http4s("ember-client")

val skunk = "org.tpolecat" %% "skunk-core" % "0.6.4"
val skunk = "org.tpolecat" %% "skunk-core" % "1.0.0-M6"
val flyway4s = "com.github.geirolz" %% "fly4s" % "1.0.3"
val flyway = "org.flywaydb" % "flyway-core" % V.flyway
val flywayPostgres = "org.flywaydb" % "flyway-database-postgresql" % V.flyway
Expand Down

0 comments on commit 99ec757

Please sign in to comment.