Skip to content

Commit

Permalink
Update/http4s server 0.21.4 (#226)
Browse files Browse the repository at this point in the history
* Update http4s-blaze-client, ... to 0.21.4

* fix: Deprecation warnings

Co-authored-by: Scala Steward <[email protected]>
  • Loading branch information
jakubjanecek and scala-steward authored Apr 29, 2020
1 parent 6cf2eea commit c3a4dbe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ object Http4sBlazeServerModule {
InetSocketAddress.createUnresolved(config.listenAddress, config.listenPort)
)
)
server <- BlazeServerBuilder[F]
server <- BlazeServerBuilder[F](executionContext)
.bindSocketAddress(inetSocketAddress)
.withHttpApp(httpApp)
.withExecutionContext(executionContext)
.withoutBanner
.withNio2(config.nio2Enabled)
.withWebSockets(config.webSocketsEnabled)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ class CorrelationIdMiddlewareTest extends AsyncFunSuite with Http4sDsl[IO] {
}
}
}
server <- BlazeServerBuilder[IO]
server <- BlazeServerBuilder[IO](ExecutionContext.global)
.bindSocketAddress(InetSocketAddress.createUnresolved("127.0.0.1", 0))
.withExecutionContext(ExecutionContext.global)
.withHttpApp(routes)
.resource
client <- BlazeClientBuilder[IO](ExecutionContext.global).resource
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object Dependencies {
val datastaxJavaDriverCore = "4.6.0"
val doobie = "0.9.0"
val grpc = "1.29.0"
val http4s = "0.21.3"
val http4s = "0.21.4"
val micrometerCore = "1.5.0"
val micrometerJmx = "1.5.0"
val micrometerStatsD = "1.5.0"
Expand Down

0 comments on commit c3a4dbe

Please sign in to comment.