Sfoglia il codice sorgente

Update dependencies for http4s. (#10186)

Co-authored-by: Benjamin Maurer <[email protected]>
Benjamin M. 4 giorni fa
parent
commit
c6c69adae3

+ 11 - 11
frameworks/Scala/http4s/blaze/build.sbt

@@ -2,7 +2,7 @@ name := "http4s"
 
 version := "1.0"
 
-scalaVersion := "2.13.11"
+scalaVersion := "2.13.17"
 
 scalacOptions ++= Seq(
   "-deprecation",
@@ -19,9 +19,9 @@ scalacOptions ++= Seq(
 
 enablePlugins(SbtTwirl)
 
-val http4sVersion = "0.23.22"
-val http4sBlazeVersion = "0.23.15"
-val http4sTwirlVersion = "0.23.17"
+val http4sVersion = "0.23.32"
+val http4sBlazeVersion = "0.23.17"
+val http4sTwirlVersion = "0.23.18"
 
 assembly / assemblyMergeStrategy := {
   case PathList(xs @ _*) if xs.last == "io.netty.versions.properties" => MergeStrategy.rename
@@ -35,13 +35,13 @@ libraryDependencies ++= Seq(
   "org.http4s" %% "http4s-twirl" % http4sTwirlVersion,
   "org.http4s" %% "http4s-circe" % http4sVersion,
   // Optional for auto-derivation of JSON codecs
-  "io.circe" %% "circe-generic" % "0.14.5",
-  "org.typelevel" %% "cats-effect" % "3.5.1",
-  "co.fs2" %% "fs2-core" % "3.7.0",
-  "co.fs2" %% "fs2-io" % "3.7.0",
-  "io.getquill" %% "quill-jasync-postgres" % "3.19.0",
-  "io.getquill" %% "quill-jasync" % "3.19.0",
-  "ch.qos.logback" % "logback-classic" % "1.4.8"
+  "io.circe" %% "circe-generic" % "0.14.15",
+  "org.typelevel" %% "cats-effect" % "3.6.3",
+  "co.fs2" %% "fs2-core" % "3.12.2",
+  "co.fs2" %% "fs2-io" % "3.12.2",
+  "io.getquill" %% "quill-jasync-postgres" % "4.8.0",
+  "io.getquill" %% "quill-jasync" % "4.8.0",
+  "ch.qos.logback" % "logback-classic" % "1.5.19"
 )
 
 addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1")

+ 2 - 2
frameworks/Scala/http4s/http4s.dockerfile

@@ -1,4 +1,4 @@
-FROM sbtscala/scala-sbt:eclipse-temurin-21.0.6_7_1.10.11_2.13.16 AS builder
+FROM sbtscala/scala-sbt:eclipse-temurin-21.0.8_9_1.11.7_2.13.17 AS builder
 WORKDIR /http4s
 COPY blaze/project project
 COPY blaze/src src
@@ -10,7 +10,7 @@ RUN sbt assembly -batch && \
     rm -Rf ~/.sbt && \
     rm -Rf ~/.ivy2 && \
     rm -Rf /var/cache
-    
+
 FROM openjdk:21
 WORKDIR /http4s
 COPY --from=builder /http4s/http4s-assembly-1.0.jar /http4s/http4s-assembly-1.0.jar