Skip to content

Commit c3a4dbe

Browse files
Update/http4s server 0.21.4 (#226)
* Update http4s-blaze-client, ... to 0.21.4 * fix: Deprecation warnings Co-authored-by: Scala Steward <[email protected]>
1 parent 6cf2eea commit c3a4dbe

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

http4s-server-blaze/src/main/scala/com/avast/sst/http4s/server/Http4sBlazeServerModule.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,9 @@ object Http4sBlazeServerModule {
2727
InetSocketAddress.createUnresolved(config.listenAddress, config.listenPort)
2828
)
2929
)
30-
server <- BlazeServerBuilder[F]
30+
server <- BlazeServerBuilder[F](executionContext)
3131
.bindSocketAddress(inetSocketAddress)
3232
.withHttpApp(httpApp)
33-
.withExecutionContext(executionContext)
3433
.withoutBanner
3534
.withNio2(config.nio2Enabled)
3635
.withWebSockets(config.webSocketsEnabled)

http4s-server/src/test/scala/com/avast/sst/http4s/server/middleware/CorrelationIdMiddlewareTest.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ class CorrelationIdMiddlewareTest extends AsyncFunSuite with Http4sDsl[IO] {
3131
}
3232
}
3333
}
34-
server <- BlazeServerBuilder[IO]
34+
server <- BlazeServerBuilder[IO](ExecutionContext.global)
3535
.bindSocketAddress(InetSocketAddress.createUnresolved("127.0.0.1", 0))
36-
.withExecutionContext(ExecutionContext.global)
3736
.withHttpApp(routes)
3837
.resource
3938
client <- BlazeClientBuilder[IO](ExecutionContext.global).resource

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ object Dependencies {
4242
val datastaxJavaDriverCore = "4.6.0"
4343
val doobie = "0.9.0"
4444
val grpc = "1.29.0"
45-
val http4s = "0.21.3"
45+
val http4s = "0.21.4"
4646
val micrometerCore = "1.5.0"
4747
val micrometerJmx = "1.5.0"
4848
val micrometerStatsD = "1.5.0"

0 commit comments

Comments
 (0)