Skip to content

Commit

Permalink
Updates: Scala 2.13.0-RC1 -> 2.13.0-RC3, Akka 2.5.22 -> 2.5.23.
Browse files Browse the repository at this point in the history
Test updates: scalatest 3.1.0-SNAP10 -> 3.1.0-SNAP12, mockito-scala 1.4.6 -> 1.5.2.
Preparing for release 4.0.6.
  • Loading branch information
erikvanoosten committed Jun 4, 2019
1 parent b0e7a9a commit ada45de
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 25 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
v4.0.6: Jun 2019
================

* No code changes.
* Scaladoc improvements.
* Updates: metrics-core 4.0.5 -> 4.1.0, Akka: 2.5.22 -> 2.5.23.
* Added scala 2.13.0-RC3. Note: 2.13.0-RC3 is only supported until the next 2.13 release.

v4.0.5: May 2019
================

* No code changes (except for tests).
* Updates: Akka: 2.5.19 -> 2.5.22.
* Tests now use mockito-scala instead of mockito.
* Added scala 2.13.0-RC1 (dropped scala 2.13.0-M5). Note: 2.13.0-RC1 is only supported until the next pre-2.13 release.
* Added scala 2.13.0-RC1. Note: 2.13.0-RC1 is no longer supported, please use v4.0.6 for scala 2.13.0-RC3.

v4.0.4: Jan 2019
================

* No code changes.
* Updates: scala 2.12.7 -> 2.12.8, dropwizard metrics: 4.0.3 -> 4.0.5, HdrHistogram: 2.1.10 -> 2.1.11,
Akka: 2.5.18 -> 2.5.19.
* Added scala 2.13.0-M5. Note: 2.13.0-M5 is no longer supported, please use v4.0.5 for scala 2.13.0-RC1.
* Added scala 2.13.0-M5. Note: 2.13.0-M5 is no longer supported, please use v4.0.6 for scala 2.13.0-RC3.

v4.0.3: Nov 2018
================
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Akka versions see [all available versions](/docs/AvailableVersions.md).
<tr>
<td valign="top">2.11</td>
<td valign="top">2.12</td>
<td valign="top">2.13.0-RC1 (*)</td>
<td valign="top">2.13.0-RC3 (*)</td>
<td valign="top">2.5</td>
<td valign="top">2.4</td>
</tr>
Expand All @@ -96,7 +96,7 @@ Akka versions see [all available versions](/docs/AvailableVersions.md).
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top">Dropwizard-metrics 4.0.4</td>
<td valign="top">Dropwizard-metrics 4.1.0</td>
</tr>
<tr>
<td valign="top">metrics4-akka_a25</td>
Expand All @@ -105,7 +105,7 @@ Akka versions see [all available versions](/docs/AvailableVersions.md).
<td valign="top">✓</td>
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top">Akka 2.5.19</td>
<td valign="top">Akka 2.5.23</td>
</tr>
<tr>
<td valign="top">metrics4-akka_a24</td>
Expand All @@ -128,7 +128,7 @@ Akka versions see [all available versions](/docs/AvailableVersions.md).
</tbody>
</table>

(*) Milestone versions are only supported until a non-milestone version is available.
(*) RC versions are only supported until the next version is available.

(**) The first number is the version of `"org.mpierce.metrics.reservoir" % "hdrhistogram-metrics-reservoir"`,
the second the version of `"org.hdrhistogram" % "HdrHistogram"`.
Expand All @@ -144,17 +144,17 @@ Metrics-scala 3.x and metrics-scala 4.x can be used at the same time on top of e

## Download 4.x

<a href="CHANGELOG.md#v405-may-2019">Release notes for 4.0.5.</a>
<a href="CHANGELOG.md#v406-jun-2019">Release notes for 4.0.6.</a>

WARNING: `nl.grons:metrics-scala:4.0.0` was accidentally released as well. *Do not use it* as it will give
binary compatibility problems. Instead use `"nl.grons" %% "metrics4-scala" % "4.0.1"` or later as described below.

SBT:
```
libraryDependencies ++= Seq(
"nl.grons" %% "metrics4-scala" % "4.0.5",
"nl.grons" %% "metrics4-akka_a24" % "4.0.5",
"nl.grons" %% "metrics4-scala-hdr" % "4.0.5"
"nl.grons" %% "metrics4-scala" % "4.0.6",
"nl.grons" %% "metrics4-akka_a24" % "4.0.6",
"nl.grons" %% "metrics4-scala-hdr" % "4.0.6"
)
```

Expand All @@ -163,7 +163,7 @@ Maven:
<properties>
<scala.version>2.12.7</scala.version>
<scala.compat.version>2.12</scala.compat.version>
<metrics.scala.version>4.0.5</metrics.scala.version>
<metrics.scala.version>4.0.6</metrics.scala.version>
</properties>
<dependency>
<groupId>nl.grons</groupId>
Expand Down
14 changes: 7 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ lazy val commonSettings = Seq(
scalaVersion := "2.12.8",
crossVersion := CrossVersion.binary,
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.1.0-SNAP10" % Test,
"org.mockito" %% "mockito-scala" % "1.4.6" % Test,
"org.scalatest" %% "scalatest" % "3.1.0-SNAP12" % Test,
"org.mockito" %% "mockito-scala" % "1.5.2" % Test,
"org.slf4j" % "slf4j-simple" % "1.7.26" % Test
),
fork := true,
Expand Down Expand Up @@ -49,7 +49,7 @@ lazy val root = (project in file("."))
lazy val metricsScala = (project in file("metrics-scala"))
.settings(
commonSettings,
crossScalaVersions := Seq("2.11.12", "2.12.8", "2.13.0-RC1"),
crossScalaVersions := Seq("2.11.12", "2.12.8", "2.13.0-RC3"),
name := "metrics4-scala",
description := "metrics-scala for Scala " + CrossVersion.binaryScalaVersion(scalaVersion.value),
libraryDependencies ++= Seq(
Expand All @@ -63,7 +63,7 @@ lazy val metricsScalaHdr = (project in file("metrics-scala-hdr"))
.dependsOn(metricsScala)
.settings(
commonSettings,
crossScalaVersions := Seq("2.11.12", "2.12.8", "2.13.0-RC1"),
crossScalaVersions := Seq("2.11.12", "2.12.8", "2.13.0-RC3"),
name := "metrics4-scala-hdr",
description := "metrics-scala-hdr for Scala " + CrossVersion.binaryScalaVersion(scalaVersion.value),
libraryDependencies ++= Seq(
Expand All @@ -78,12 +78,12 @@ lazy val metricsAkka25 = (project in file("metrics-akka-25"))
.dependsOn(metricsScala)
.settings(
commonSettings,
crossScalaVersions := Seq("2.12.8", "2.13.0-RC1"),
crossScalaVersions := Seq("2.12.8", "2.13.0-RC3"),
name := "metrics4-akka_a25",
description := "metrics-scala for Akka 2.5 and Scala " + CrossVersion.binaryScalaVersion(scalaVersion.value),
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.22",
"com.typesafe.akka" %% "akka-testkit" % "2.5.22" % Test
"com.typesafe.akka" %% "akka-actor" % "2.5.23",
"com.typesafe.akka" %% "akka-testkit" % "2.5.23" % Test
),
sourceDirectory := baseDirectory.value.getParentFile / "metrics-akka" / "src",
mimaPreviousArtifacts := Set("nl.grons" %% "metrics4-akka_a25" % "4.0.1")
Expand Down
47 changes: 42 additions & 5 deletions docs/AvailableVersions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ The table shows the available 4.x artifacts of metrics-scala.
<tr>
<td valign="top">2.11</td>
<td valign="top">2.12</td>
<td valign="top">2.13.0-RC1 (*)</td>
<td valign="top">2.13.0-RC3 (*)</td>
<td valign="top">2.4</td>
<td valign="top">2.5</td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="/CHANGELOG.md#v405-may-2019">4.0.5</a></td>
<td valign="top" rowspan="4"><a href="/CHANGELOG.md#v406-jun-2019">4.0.6</a></td>
<td valign="top">metrics4-scala</td>
<td valign="top">✓</td>
<td valign="top">✓</td>
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top">Dropwizard-metrics 4.0.5</td>
<td valign="top">Dropwizard-metrics 4.1.0</td>
</tr>
<tr>
<td valign="top">metrics4-akka_a25</td>
Expand All @@ -42,7 +42,7 @@ The table shows the available 4.x artifacts of metrics-scala.
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top">✓</td>
<td valign="top">Akka 2.5.22</td>
<td valign="top">Akka 2.5.23</td>
</tr>
<tr>
<td valign="top">metrics4-akka_a24</td>
Expand All @@ -62,6 +62,43 @@ The table shows the available 4.x artifacts of metrics-scala.
<td valign="top"></td>
<td valign="top">Hdr 1.1.0/2.1.11 (**)</td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="/CHANGELOG.md#v405-may-2019">4.0.5</a></td>
<td valign="top">metrics4-scala</td>
<td valign="top">✓</td>
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top">Dropwizard-metrics 4.0.5</td>
</tr>
<tr>
<td valign="top">metrics4-akka_a25</td>
<td valign="top"></td>
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top">✓</td>
<td valign="top">Akka 2.5.22</td>
</tr>
<tr>
<td valign="top">metrics4-akka_a24</td>
<td valign="top">✓</td>
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top">✓</td>
<td valign="top">✓</td>
<td valign="top">Akka 2.4.20</td>
</tr>
<tr>
<td valign="top">metrics4-scala-hdr</td>
<td valign="top">✓</td>
<td valign="top">✓</td>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top"></td>
<td valign="top">Hdr 1.1.0/2.1.11 (**)</td>
</tr>
<tr>
<td valign="top" rowspan="4"><a href="/CHANGELOG.md#v404-jan-2019">4.0.4</a></td>
<td valign="top">metrics4-scala</td>
Expand Down Expand Up @@ -217,7 +254,7 @@ The table shows the available 4.x artifacts of metrics-scala.
</tbody>
</table>

(*) Scala pre-releases are only supported till the next release of the same Scala major version.
(*) Scala pre-releases are only supported till the next version of metrics-scala.

(**) The first number is the version of `"org.mpierce.metrics.reservoir" % "hdrhistogram-metrics-reservoir"`,
the second the version of `"org.hdrhistogram" % "HdrHistogram"`.
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.2.6
sbt.version=1.2.8
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.3.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.5")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.3.0")

0 comments on commit ada45de

Please sign in to comment.