Skip to content

Commit

Permalink
chore: Patches/Minor updates (#138)
Browse files Browse the repository at this point in the history
* chore: Update openapi-circe-yaml from 0.11.0 to 0.11.2

* chore: Update tapir-http4s-client from 1.10.13 to 1.10.15

* chore: Update tapir-http4s-server from 1.10.15 to 1.11.0

* chore: Update tapir-iron from 1.10.15 to 1.11.0

* chore: Update tapir-json-circe from 1.10.15 to 1.11.0

* chore: Update tapir-openapi-docs from 1.10.15 to 1.11.0

* chore: Update tapir-opentelemetry-metrics from 1.10.15 to 1.11.0

* chore: Update tapir-sttp-stub-server from 1.10.15 to 1.11.0

* chore: Update tapir-swagger-ui-bundle from 1.10.15 to 1.11.0

* chore: Update flyway-core from 10.15.2 to 10.17.0

* chore: Update flyway-database-postgresql from 10.15.2 to 10.17.0

* chore: Update scalafmt-core from 3.8.2 to 3.8.3

* chore: Update otel4s-sdk from 0.8.0 to 0.8.1

* chore: Update otel4s-sdk-exporter from 0.8.0 to 0.8.1

* Fix compilation problem

* Fix compilation error

---------

Co-authored-by: Raphaël Lemaitre <[email protected]>
  • Loading branch information
scala-steward and rlemaitre authored Aug 7, 2024
1 parent cf8b0fd commit e6eac0d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.2
version = 3.8.3
runner.dialect = scala3
maxColumn = 120

Expand Down
3 changes: 1 addition & 2 deletions modules/core/src/main/scala/pillars/Metrics.scala
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ object Metrics:
.withDescription("Duration of HTTP requests")
.withUnit("ms")
.withExplicitBucketBoundaries(
BucketBoundaries(Vector(5L, 10L, 25L, 50L, 75L, 100L, 250L, 500L, 750L, 1000L, 2500L, 5000L, 7500L,
10000L))
BucketBoundaries(5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 2500, 5000, 7500, 10000)
)
.create
.map: histogram =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ object MetricsCollection:
.withUnit("ms")
.withDescription("Response time in milliseconds")
.withExplicitBucketBoundaries(
BucketBoundaries(Vector(5L, 10L, 25L, 50L, 75L, 100L, 250L, 500L, 750L, 1000L, 2500L, 5000L, 7500L,
10000L))
BucketBoundaries(5, 10, 25, 50, 75, 100, 250, 500, 750, 1000, 2500, 5000, 7500, 10000)
)
.create,
meter
Expand Down
28 changes: 14 additions & 14 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object Dependencies {

val http4sClient: Seq[ModuleID] = Seq(
"org.http4s" %% "http4s-netty-client" % "0.5.17",
"com.softwaremill.sttp.tapir" %% "tapir-http4s-client" % "1.10.13",
"com.softwaremill.sttp.tapir" %% "tapir-http4s-client" % "1.10.15",
"com.alejandrohdezma" %% "http4s-munit" % "1.0.0" % Test
)
val http4sServer: Seq[ModuleID] = Seq(
Expand All @@ -48,15 +48,15 @@ object Dependencies {
)

private val tapir = Seq(
"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "1.10.15",
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "1.10.15",
"com.softwaremill.sttp.tapir" %% "tapir-opentelemetry-metrics" % "1.10.15",
"com.softwaremill.sttp.tapir" %% "tapir-iron" % "1.10.15",
"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "1.10.15",
"com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.0",
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % "1.10.15",
"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "1.10.15" % Test,
"com.softwaremill.sttp.client3" %% "core" % "3.9.7" % Test
"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "1.11.0",
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "1.11.0",
"com.softwaremill.sttp.tapir" %% "tapir-opentelemetry-metrics" % "1.11.0",
"com.softwaremill.sttp.tapir" %% "tapir-iron" % "1.11.0",
"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "1.11.0",
"com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.2",
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % "1.11.0",
"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "1.11.0" % Test,
"com.softwaremill.sttp.client3" %% "core" % "3.9.7" % Test
)

val logging: Seq[ModuleID] = Seq( //
Expand All @@ -81,8 +81,8 @@ object Dependencies {
)

val observability: Seq[ModuleID] = Seq(
"org.typelevel" %% "otel4s-sdk" % "0.8.0",
"org.typelevel" %% "otel4s-sdk-exporter" % "0.8.0"
"org.typelevel" %% "otel4s-sdk" % "0.8.1",
"org.typelevel" %% "otel4s-sdk-exporter" % "0.8.1"
)

val skunk: Seq[ModuleID] = Seq(
Expand All @@ -97,10 +97,10 @@ object Dependencies {

val migrationsRuntime: Seq[ModuleID] = Seq(
"org.postgresql" % "postgresql" % "42.7.3",
"org.flywaydb" % "flyway-database-postgresql" % "10.15.2"
"org.flywaydb" % "flyway-database-postgresql" % "10.17.0"
)
val migrations: Seq[ModuleID] = Seq(
"org.flywaydb" % "flyway-core" % "10.15.2"
"org.flywaydb" % "flyway-core" % "10.17.0"
) ++ tests ++ testContainers ++ migrationsRuntime.map(_ % Test)

val fs2Rabbit: Seq[ModuleID] = Seq(
Expand Down

0 comments on commit e6eac0d

Please sign in to comment.