sideeffffect / liquibase-doobie   3.2.0

GitHub

ZIO wrapper for Doobie

Scala versions: 3.x 2.13

Liquibase Doobie

CI Release
Build Status Release Artifacts

ZIO and Cats Effect wrappers for Doobie with Liquibase.

ZIO

"com.github.sideeffffect" %% "liquibase-doobie-zio" % "<version>"

This library comes with ready-made case class for configuration Config and a layer ZIODoobieLiquibase.layer that you can use when composing your application from ZLayers.

// defined in subproject `liquibase-doobie`
final case class Config(
  hikari: doobie.hikari.Config,
  liquibaseChangeLogFile: String,
)

ZIODoobieLiquibase.layer: RLayer[Config, Transactor[Task]]

ZIO Config derivation

"com.github.sideeffffect" %% "liquibase-doobie-zio-config" % "<version>"

Cats Effect

For Cats Effect only use

"com.github.sideeffffect" %% "liquibase-doobie" % "<version>"

Pureconfig

"com.github.sideeffffect" %% "liquibase-doobie-pureconfig" % "<version>"