~jan0sch/smederee

Showing details for patch b44bf18aee688fd0d8569fc8bbab8341f5b1a78e.
2025-02-10 (Mon), 7:00 PM - Jens Grassel - b44bf18aee688fd0d8569fc8bbab8341f5b1a78e

Update doobie to 1.0.0-RC7

Summary of changes
8 files modified with 8 lines added and 8 lines removed
  • build.sbt with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieOrganisationRepository.scala with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala with 1 added and 1 removed lines
diff -rN -u old-smederee/build.sbt new-smederee/build.sbt
--- old-smederee/build.sbt	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/build.sbt	2025-02-20 15:26:07.956199936 +0000
@@ -281,7 +281,7 @@
             val cats             = "2.13.0"
             val catsEffect       = "3.5.7"
             val circe            = "0.14.10"
-            val doobie           = "1.0.0-RC6"
+            val doobie           = "1.0.0-RC7"
             val flyway           = "11.3.1"
             val fs2              = "3.5.0"
             val http4s           = "1.0.0-M44"
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala	2025-02-20 15:26:07.960199941 +0000
@@ -18,7 +18,7 @@
 import doobie.postgres.implicits.*
 import fs2.Stream
 
-final class DoobieAccountManagementRepository[F[_]: Sync](tx: Transactor[F]) extends AccountManagementRepository[F] {
+final class DoobieAccountManagementRepository[F[_]: Async](tx: Transactor[F]) extends AccountManagementRepository[F] {
     given Meta[EmailAddress]    = Meta[String].timap(EmailAddress.apply)(_.toString)
     given Meta[EncodedKeyBytes] = Meta[String].timap(EncodedKeyBytes.unsafeFrom)(_.toString)
     given Meta[FullName]        = Meta[String].timap(FullName.apply)(_.toString)
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala	2025-02-20 15:26:07.960199941 +0000
@@ -19,7 +19,7 @@
 import doobie.postgres.implicits.*
 import fs2.Stream
 
-final class DoobieAuthenticationRepository[F[_]: Sync](tx: Transactor[F]) extends AuthenticationRepository[F] {
+final class DoobieAuthenticationRepository[F[_]: Async](tx: Transactor[F]) extends AuthenticationRepository[F] {
     given Meta[EmailAddress] = Meta[String].timap(EmailAddress.apply)(_.toString)
     given Meta[FullName]     = Meta[String].timap(FullName.apply)(_.toString)
     given Meta[LanguageCode] = Meta[String].timap(LanguageCode.apply)(_.toString)
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieOrganisationRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieOrganisationRepository.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieOrganisationRepository.scala	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieOrganisationRepository.scala	2025-02-20 15:26:07.960199941 +0000
@@ -19,7 +19,7 @@
 import fs2.Stream
 import org.http4s.Uri
 
-final class DoobieOrganisationRepository[F[_]: Sync](tx: Transactor[F]) extends OrganisationRepository[F] {
+final class DoobieOrganisationRepository[F[_]: Async](tx: Transactor[F]) extends OrganisationRepository[F] {
     given Meta[EmailAddress]            = Meta[String].timap(EmailAddress.apply)(_.toString)
     given Meta[FullName]                = Meta[String].timap(FullName.apply)(_.toString)
     given Meta[LanguageCode]            = Meta[String].timap(LanguageCode.apply)(_.toString)
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala	2025-02-20 15:26:07.960199941 +0000
@@ -22,7 +22,7 @@
 import fs2.Stream
 import org.http4s.Uri
 
-final class DoobieVcsMetadataRepository[F[_]: Sync](tx: Transactor[F]) extends VcsMetadataRepository[F] {
+final class DoobieVcsMetadataRepository[F[_]: Async](tx: Transactor[F]) extends VcsMetadataRepository[F] {
     given Meta[EmailAddress]             = Meta[String].timap(EmailAddress.apply)(_.toString)
     given Meta[OrganisationId]           = Meta[UUID].timap(OrganisationId.apply)(_.toUUID)
     given Meta[Set[Permission]]          = Meta[Int].timap(Permission.decode)(_.encode)
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala	2025-02-20 15:26:07.960199941 +0000
@@ -12,7 +12,7 @@
 import fs2.Stream
 import org.slf4j.LoggerFactory
 
-final class DoobieLabelRepository[F[_]: Sync](tx: Transactor[F]) extends LabelRepository[F] {
+final class DoobieLabelRepository[F[_]: Async](tx: Transactor[F]) extends LabelRepository[F] {
     private val log = LoggerFactory.getLogger(getClass)
 
     given LogHandler[F] = Slf4jLogHandler.createLogHandler[F](log)
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala	2025-02-20 15:26:07.960199941 +0000
@@ -17,7 +17,7 @@
 import fs2.Stream
 import org.slf4j.LoggerFactory
 
-final class DoobieMilestoneRepository[F[_]: Sync](tx: Transactor[F]) extends MilestoneRepository[F] {
+final class DoobieMilestoneRepository[F[_]: Async](tx: Transactor[F]) extends MilestoneRepository[F] {
     private val log = LoggerFactory.getLogger(getClass)
 
     given LogHandler[F] = Slf4jLogHandler.createLogHandler[F](log)
diff -rN -u old-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala new-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala
--- old-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala	2025-02-20 15:26:07.956199936 +0000
+++ new-smederee/modules/hub/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala	2025-02-20 15:26:07.960199941 +0000
@@ -19,7 +19,7 @@
 import fs2.Stream
 import org.slf4j.LoggerFactory
 
-final class DoobieTicketRepository[F[_]: Sync](tx: Transactor[F]) extends TicketRepository[F] {
+final class DoobieTicketRepository[F[_]: Async](tx: Transactor[F]) extends TicketRepository[F] {
     private val log = LoggerFactory.getLogger(getClass)
 
     given LogHandler[F] = Slf4jLogHandler.createLogHandler[F](log)