Skip to content

Commit

Permalink
Merge pull request #109 from massimosiani/library-bumps
Browse files Browse the repository at this point in the history
Library bumps
  • Loading branch information
voidcontext authored Sep 5, 2023
2 parents 46d8cb9 + 5c74716 commit b40ced6
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target/
lib_managed/
src_managed/
project/boot/
project/plugins/project/
project/project/project/
.history
.cache
.lib/
Expand Down
4 changes: 2 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ align {
assumeStandardLibraryStripMargin = true
continuationIndent.defnSite = 2
continuationIndent.callSite = 2
danglingParentheses = true
danglingParentheses.preset = true
docstrings = JavaDoc
indentOperator = spray
indentOperator.preset = spray
maxColumn = 110
project {
git = true
Expand Down
23 changes: 11 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import microsites.MicrositesPlugin.autoImport.micrositeDescription

val scala213Version = "2.13.8"
val scala213Version = "2.13.10"
val scala3Version = "3.3.0"

val scalaVersions = Seq(scala213Version, scala3Version)
Expand Down Expand Up @@ -47,12 +47,12 @@ val common = Seq(
compilerPlugin("org.typelevel" % "kind-projector" % "0.13.2" cross CrossVersion.full),
).filterNot(_ => scalaVersion.value.startsWith("3.")),
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % "2.7.0",
"org.typelevel" %% "cats-effect" % "3.3.5",
"org.typelevel" %% "cats-core" % "2.10.0",
"org.typelevel" %% "cats-effect" % "3.5.1",
"org.scalameta" %% "munit" % "0.7.29" % Test,
"org.scalacheck" %% "scalacheck" % "1.15.4" % Test,
"org.scalacheck" %% "scalacheck" % "1.17.0" % Test,
"org.typelevel" %% "munit-cats-effect-3" % "1.0.7" % Test,
"org.typelevel" %% "scalacheck-effect-munit" % "1.0.3" % Test
"org.typelevel" %% "scalacheck-effect-munit" % "1.0.4" % Test
)
)

Expand All @@ -62,14 +62,13 @@ lazy val metricsCommon = projectMatrix
.enablePlugins(GitVersioning)
.settings(common :+ (name := "natchez-extras-metrics"))


val log4catsVersion = "2.6.0"
val natchezVersion = "0.3.3"
val http4sMilestoneVersion = "1.0.0-M38"
val http4sStableVersion = "0.23.14"
val circeVersion = "0.14.1"
val slf4jVersion = "1.7.35"
val fs2Version = "3.2.4"
val http4sMilestoneVersion = "1.0.0-M40"
val http4sStableVersion = "0.23.23"
val circeVersion = "0.14.3"
val slf4jVersion = "1.7.36"
val fs2Version = "3.8.0"
val doobieVersion = "1.0.0-RC2"

lazy val natchezDatadog = projectMatrix
Expand Down Expand Up @@ -187,7 +186,7 @@ lazy val natchezFs2 = projectMatrix
.settings(common :+ (name := "natchez-extras-fs2"))
.settings(
libraryDependencies ++= Seq(
"org.typelevel" %% "kittens" % "3.0.0-M4",
"org.typelevel" %% "kittens" % "3.0.0",
"org.tpolecat" %% "natchez-core" % natchezVersion,
"co.fs2" %% "fs2-core" % fs2Version
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class SpanIdentifiersTest extends CatsEffectSuite {
}

test("fromKernel should succeed in converting from a kernel even if info is missing") {
assertIOBoolean(fromKernel[IO](Kernel(Map.empty)).attempt.map(_.isRight))
assertIOBoolean(fromKernel[IO](Kernel(Map.empty)).attempt.map(_.isRight)) *>
assertIO(fromKernel[IO](Kernel(Map(ci"X-Trace-Token" -> "foo"))).map(_.traceToken), "foo")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class TracedTransactorTest extends CatsEffectSuite {
}

database.test("Trace updates") { db =>
case class Test(name: String, age: Int)
val create = sql"CREATE TABLE a (id INT, name VARCHAR)".update.run
val insert = sql"INSERT INTO a VALUES (${2: Int}, ${"abc": String})".update.run
assertIO(
Expand All @@ -74,7 +73,6 @@ class TracedTransactorTest extends CatsEffectSuite {
}

database.test("Trace updates with commented name") { db =>
case class Test(name: String, age: Int)
val create = sql"CREATE TABLE a (id INT, name VARCHAR)".update.run
val insert =
sql"""-- Name: createNewA
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.8.3
sbt.version=1.9.3
10 changes: 5 additions & 5 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.9")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.16")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.4.4")
addSbtPlugin("com.47deg" % "sbt-microsites" % "1.3.4")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.2")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.5.1")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.7")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.2")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7")
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.8.0")
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.9.1")
1 change: 1 addition & 0 deletions project/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")

0 comments on commit b40ced6

Please sign in to comment.