Skip to content

Commit f4e060d

Browse files
committed
Update prometheus-tools from 1.0.8 to 1.1.0
Source and binary compatibility preserved, but the version has to be bumped to 1.2.0 because of the dependency update.
1 parent 566ce7f commit f4e060d

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

build.sbt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ lazy val commonSettings = Seq(
2222

2323
// Your next release will be binary compatible with the previous one,
2424
// but it may not be source compatible (ie, it will be a minor release).
25-
ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
25+
//
26+
// It is not set to BinaryAndSourceCompatible because prometheus-tools was bumped from 1.0.8 to 1.1.0.
27+
// Otherwise, 1.2.0 is both source and binary compatible with 1.1.5.
28+
ThisBuild / versionPolicyIntention := Compatibility.BinaryCompatible
2629

2730
lazy val root = (project
2831
in file(".")
@@ -39,7 +42,7 @@ lazy val sequentially = (project
3942
"com.typesafe.akka" %% "akka-stream" % "2.6.21",
4043
"com.typesafe.akka" %% "akka-testkit" % "2.6.21" % Test,
4144
"com.evolutiongaming" %% "future-helper" % "1.0.7",
42-
"org.scalatest" %% "scalatest" % "3.2.10" % Test,
45+
"org.scalatest" %% "scalatest" % "3.2.19" % Test,
4346
)))
4447

4548
lazy val benchmark = (project
@@ -55,7 +58,7 @@ lazy val `sequentially-metrics` = (project
5558
settings commonSettings
5659
dependsOn sequentially
5760
settings (libraryDependencies ++= Seq(
58-
"com.evolutiongaming" %% "prometheus-tools" % "1.0.8"
61+
"com.evolutiongaming" %% "prometheus-tools" % "1.1.0"
5962
)))
6063

6164
//used by evolution-gaming/scala-github-actions

sequentially-metrics/src/main/scala/com/evolutiongaming/concurrent/SequentiallyMetrics.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ object SequentiallyMetrics {
4646
}
4747

4848
def run[T](future: => Future[T]): Future[T] = {
49-
time.labels(name, "run").timeFutureNanos(future)
49+
time.labels(name, "run").timeFuture(future)
5050
}
5151
}
5252
}

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ThisBuild / version := "1.1.6-SNAPSHOT"
1+
ThisBuild / version := "1.2.0-SNAPSHOT"

0 commit comments

Comments
 (0)