Skip to content

Commit 9acabc4

Browse files
authored
Update dependencies (#678)
1 parent e0fce4d commit 9acabc4

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ lazy val commonSettings = Seq(
1111
organizationName := "Evolution Gaming",
1212
organizationHomepage := Some(url("https://evolution.com/")),
1313
publishTo := Some(Resolver.evolutionReleases),
14-
scalaVersion := "2.13.15",
14+
scalaVersion := "2.13.16",
1515
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),
1616
testFrameworks += new TestFramework("munit.Framework"),
1717
testOptions += Tests.Argument(new TestFramework("munit.Framework"), "+l"),

core/src/test/scala/com/evolutiongaming/kafka/flow/MonadStateHelper.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ object MonadStateHelper {
1010
implicit class MonadStateOps[F[_]: Functor, A, B](val self: Stateful[F, A]) {
1111
def focus(lens: Lens[A, B]): Stateful[F, B] = new Stateful[F, B] {
1212
val monad = self.monad
13-
def get = self.get map lens.get
14-
def set(b: B) = self modify lens.set(b)
13+
def get = self.get.map(lens.get(_))
14+
def set(b: B) = self.modify(lens.replace(b))
1515
}
1616
}
1717

project/Dependencies.scala

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,38 @@ import sbt.*
22

33
object Dependencies {
44

5-
val catsHelper = "com.evolutiongaming" %% "cats-helper" % "3.9.0"
6-
val catsHelperLogback = "com.evolutiongaming" %% "cats-helper-logback" % "3.9.0"
7-
val smetrics = "com.evolutiongaming" %% "smetrics" % "2.1.0"
5+
val catsHelper = "com.evolutiongaming" %% "cats-helper" % "3.11.3"
6+
val catsHelperLogback = "com.evolutiongaming" %% "cats-helper-logback" % "3.11.3"
7+
val smetrics = "com.evolutiongaming" %% "smetrics" % "2.2.0"
88
val scache = "com.evolution" %% "scache" % "5.1.2"
9-
val skafka = "com.evolutiongaming" %% "skafka" % "17.1.2"
10-
val sstream = "com.evolutiongaming" %% "sstream" % "1.0.1"
11-
val scassandra = "com.evolutiongaming" %% "scassandra" % "5.2.1"
9+
val skafka = "com.evolutiongaming" %% "skafka" % "17.1.3"
10+
val sstream = "com.evolutiongaming" %% "sstream" % "1.0.2"
11+
val scassandra = "com.evolutiongaming" %% "scassandra" % "5.3.0"
1212

1313
object Cats {
14-
private val version = "2.10.0"
15-
private val effectVersion = "3.4.11"
14+
private val version = "2.13.0"
15+
private val effectVersion = "3.5.7"
1616
val core = "org.typelevel" %% "cats-core" % version
17-
val mtl = "org.typelevel" %% "cats-mtl" % "1.3.1"
17+
val mtl = "org.typelevel" %% "cats-mtl" % "1.5.0"
1818
val effect = "org.typelevel" %% "cats-effect" % effectVersion
1919
val effectTestkit = "org.typelevel" %% "cats-effect-testkit" % effectVersion
2020
}
2121

2222
object KafkaJournal {
23-
private val version = "4.1.1"
23+
private val version = "4.1.7"
2424
val journal = "com.evolutiongaming" %% "kafka-journal" % version
2525
val cassandra = "com.evolutiongaming" %% "kafka-journal-eventual-cassandra" % version
2626
val persistence = "com.evolutiongaming" %% "kafka-journal-persistence" % version
2727
}
2828

2929
object Monocle {
30-
private val version = "2.1.0"
31-
val core = "com.github.julien-truffaut" %% "monocle-core" % version
32-
val `macro` = "com.github.julien-truffaut" %% "monocle-macro" % version
30+
private val version = "3.3.0"
31+
val core = "dev.optics" %% "monocle-core" % version
32+
val `macro` = "dev.optics" %% "monocle-macro" % version
3333
}
3434

3535
object Testing {
36-
val munit = "org.scalameta" %% "munit" % "1.0.0-M10"
36+
val munit = "org.scalameta" %% "munit" % "1.1.0"
3737

3838
object Testcontainers {
3939
private val version = "0.41.8"

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.10.1
1+
sbt.version=1.10.7

project/plugins.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ libraryDependencySchemes ++= Seq(
33
"org.scala-lang.modules" %% "scala-xml" % "always"
44
)
55

6-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.2")
6+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.0")
77

8-
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.11")
8+
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.15")
99

1010
// This sets the 'version' property based on the git tag during release process to publish the right version
11-
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1")
11+
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0")
1212

13-
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.8")
13+
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.6.4")
1414

15-
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
15+
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.4")
1616

1717
addSbtPlugin("com.evolution" % "sbt-scalac-opts-plugin" % "0.0.9")
1818

0 commit comments

Comments
 (0)