From a9e9693a170d5dafce3119d15921f0f55208cb32 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Fri, 12 Dec 2025 12:06:06 +0000 Subject: [PATCH 1/9] Update scala3-library, ... to 3.3.7 in series/1.x --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index f720517..7395875 100644 --- a/build.sbt +++ b/build.sbt @@ -20,7 +20,7 @@ ThisBuild / tlBaseVersion := "1.7" ThisBuild / startYear := Some(2020) ThisBuild / developers += tlGitHubDev("djspiewak", "Daniel Spiewak") -ThisBuild / crossScalaVersions := Seq("3.3.6", "2.12.21", "2.13.18") +ThisBuild / crossScalaVersions := Seq("3.3.7", "2.12.21", "2.13.18") ThisBuild / tlVersionIntroduced := Map("3" -> "1.1.1") From cca5cc8138013de992b8ce4cbbb6b1845bd065f9 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Sun, 25 Jan 2026 00:15:05 +0000 Subject: [PATCH 2/9] Update nscplugin, sbt-scala-native to 0.5.10 in series/1.x --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index c6912ff..a3cae0e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.8.4") addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.20.2") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17") +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.10") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2") From 0f0442b04f72f0f42194dc80870a4dcd138ad7ee Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Sun, 22 Feb 2026 04:41:12 +0000 Subject: [PATCH 3/9] Update sbt-typelevel to 0.8.5 in series/1.x --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index c6912ff..fa02d3e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.8.4") +addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.8.5") addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.20.2") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2") From ab6f15b43eaa9fe1864cd8160fecea0fd6ec20d9 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 00:17:29 +0000 Subject: [PATCH 4/9] Update sbt, scripted-plugin to 1.12.5 in series/1.x --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index c605beb..b49295c 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.12.3 +sbt.version=1.12.5 From 001ed55f079f43bdc1848f108c81ad0226481f0d Mon Sep 17 00:00:00 2001 From: Daniel Spiewak Date: Mon, 9 Mar 2026 09:22:50 -0400 Subject: [PATCH 5/9] Updated other dependencies for SN 0.5 --- build.sbt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 7395875..d5b63b2 100644 --- a/build.sbt +++ b/build.sbt @@ -16,7 +16,7 @@ name := "cats-effect-testing" -ThisBuild / tlBaseVersion := "1.7" +ThisBuild / tlBaseVersion := "1.8" ThisBuild / startYear := Some(2020) ThisBuild / developers += tlGitHubDev("djspiewak", "Daniel Spiewak") @@ -26,7 +26,7 @@ ThisBuild / tlVersionIntroduced := Map("3" -> "1.1.1") ThisBuild / tlCiReleaseBranches := Seq("series/1.x") -val CatsEffectVersion = "3.6.3" +val CatsEffectVersion = "3.7.0" val ScalaTestVersion = "3.2.18" lazy val root = tlCrossRootProject @@ -45,7 +45,7 @@ lazy val specs2 = crossProject(JSPlatform, JVMPlatform, NativePlatform) .dependsOn(core) .settings( name := "cats-effect-testing-specs2", - libraryDependencies += "org.specs2" %%% "specs2-core" % "4.20.5") + libraryDependencies += "org.specs2" %%% "specs2-core" % "4.20.9") .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.5.0").toMap) lazy val scalatest = crossProject(JSPlatform, JVMPlatform, NativePlatform) @@ -72,7 +72,7 @@ lazy val utest = crossProject(JSPlatform, JVMPlatform, NativePlatform) libraryDependencies ++= Seq( "org.typelevel" %%% "cats-effect-testkit" % CatsEffectVersion, - "com.lihaoyi" %%% "utest" % "0.8.2"), + "com.lihaoyi" %%% "utest" % "0.9.0"), Test / scalacOptions -= "-Xfatal-warnings") .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.5.0").toMap) From 6326f2065ae02fbc1b16e9584b27d67d87df4bec Mon Sep 17 00:00:00 2001 From: Daniel Spiewak Date: Mon, 9 Mar 2026 09:29:24 -0400 Subject: [PATCH 6/9] Apparently nowarn isn't working anymore --- .../src/main/scala/cats/effect/testing/UnsafeRun.scala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/shared/src/main/scala/cats/effect/testing/UnsafeRun.scala b/core/shared/src/main/scala/cats/effect/testing/UnsafeRun.scala index 487cbca..a3fdce6 100644 --- a/core/shared/src/main/scala/cats/effect/testing/UnsafeRun.scala +++ b/core/shared/src/main/scala/cats/effect/testing/UnsafeRun.scala @@ -17,14 +17,15 @@ package cats.effect package testing -import scala.annotation.nowarn import scala.concurrent.Future import scala.concurrent.duration.FiniteDuration trait UnsafeRun[F[_]] { def unsafeToFuture[A](fa: F[A]): Future[A] - def unsafeToFuture[A](fa: F[A], @nowarn("msg=never used") timeout: Option[FiniteDuration]): Future[A] - = unsafeToFuture(fa) // For binary compatibility + def unsafeToFuture[A](fa: F[A], timeout: Option[FiniteDuration]): Future[A] = { + val _ = timeout + unsafeToFuture(fa) // For binary compatibility + } } object UnsafeRun { From 19d92cfcab6945e41b709e04fd71d9b1a170a865 Mon Sep 17 00:00:00 2001 From: Daniel Spiewak Date: Mon, 9 Mar 2026 09:40:01 -0400 Subject: [PATCH 7/9] Swap from Java 8 to 11 --- .github/workflows/ci.yml | 42 ++++++++++++++++++++-------------------- build.sbt | 2 ++ 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd9c7e4..97a5c45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: matrix: os: [ubuntu-22.04] scala: [3, 2.12, 2.13] - java: [temurin@8] + java: [temurin@11] project: [rootJS, rootJVM, rootNative] runs-on: ${{ matrix.os }} timeout-minutes: 60 @@ -42,24 +42,24 @@ jobs: - name: Setup sbt uses: sbt/setup-sbt@v1 - - name: Setup Java (temurin@8) - id: setup-java-temurin-8 - if: matrix.java == 'temurin@8' + - name: Setup Java (temurin@11) + id: setup-java-temurin-11 + if: matrix.java == 'temurin@11' uses: actions/setup-java@v5 with: distribution: temurin - java-version: 8 + java-version: 11 cache: sbt - name: sbt update - if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' + if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' run: sbt +update - name: Check that workflows are up to date run: sbt githubWorkflowCheck - name: Check headers and formatting - if: matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04' + if: matrix.java == 'temurin@11' && matrix.os == 'ubuntu-22.04' run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck - name: scalaJSLink @@ -74,11 +74,11 @@ jobs: run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test - name: Check binary compatibility - if: matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04' + if: matrix.java == 'temurin@11' && matrix.os == 'ubuntu-22.04' run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues - name: Generate API documentation - if: matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04' + if: matrix.java == 'temurin@11' && matrix.os == 'ubuntu-22.04' run: sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc - name: Make target directories @@ -103,7 +103,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - java: [temurin@8] + java: [temurin@11] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) @@ -114,17 +114,17 @@ jobs: - name: Setup sbt uses: sbt/setup-sbt@v1 - - name: Setup Java (temurin@8) - id: setup-java-temurin-8 - if: matrix.java == 'temurin@8' + - name: Setup Java (temurin@11) + id: setup-java-temurin-11 + if: matrix.java == 'temurin@11' uses: actions/setup-java@v5 with: distribution: temurin - java-version: 8 + java-version: 11 cache: sbt - name: sbt update - if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' + if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' run: sbt +update - name: Download target directories (3, rootJS) @@ -247,7 +247,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - java: [temurin@8] + java: [temurin@11] runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) @@ -258,17 +258,17 @@ jobs: - name: Setup sbt uses: sbt/setup-sbt@v1 - - name: Setup Java (temurin@8) - id: setup-java-temurin-8 - if: matrix.java == 'temurin@8' + - name: Setup Java (temurin@11) + id: setup-java-temurin-11 + if: matrix.java == 'temurin@11' uses: actions/setup-java@v5 with: distribution: temurin - java-version: 8 + java-version: 11 cache: sbt - name: sbt update - if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false' + if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false' run: sbt +update - name: Submit Dependencies diff --git a/build.sbt b/build.sbt index d5b63b2..f668ead 100644 --- a/build.sbt +++ b/build.sbt @@ -26,6 +26,8 @@ ThisBuild / tlVersionIntroduced := Map("3" -> "1.1.1") ThisBuild / tlCiReleaseBranches := Seq("series/1.x") +ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11")) + val CatsEffectVersion = "3.7.0" val ScalaTestVersion = "3.2.18" From 8f68925d6565c17f0115062dc9a54974b1935894 Mon Sep 17 00:00:00 2001 From: Daniel Spiewak Date: Mon, 9 Mar 2026 09:58:57 -0400 Subject: [PATCH 8/9] Updated scalatest --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index f668ead..c34692b 100644 --- a/build.sbt +++ b/build.sbt @@ -29,7 +29,7 @@ ThisBuild / tlCiReleaseBranches := Seq("series/1.x") ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11")) val CatsEffectVersion = "3.7.0" -val ScalaTestVersion = "3.2.18" +val ScalaTestVersion = "3.2.19" lazy val root = tlCrossRootProject .aggregate(core, specs2, utest, minitest, scalatest) From 40c287c98a7a0ac1382dea4a588b6a9922cd1bac Mon Sep 17 00:00:00 2001 From: Daniel Spiewak Date: Mon, 9 Mar 2026 10:13:21 -0400 Subject: [PATCH 9/9] Masked native mima stuff --- build.sbt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index c34692b..3171726 100644 --- a/build.sbt +++ b/build.sbt @@ -31,6 +31,8 @@ ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11")) val CatsEffectVersion = "3.7.0" val ScalaTestVersion = "3.2.19" +val NativeVersionIntroduced = "1.8.0" + lazy val root = tlCrossRootProject .aggregate(core, specs2, utest, minitest, scalatest) @@ -40,7 +42,7 @@ lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform) name := "cats-effect-testing-core", tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.3.0").toMap, libraryDependencies += "org.typelevel" %%% "cats-effect" % CatsEffectVersion) - .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.5.0").toMap) + .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> NativeVersionIntroduced).toMap) lazy val specs2 = crossProject(JSPlatform, JVMPlatform, NativePlatform) .in(file("specs2")) @@ -48,7 +50,7 @@ lazy val specs2 = crossProject(JSPlatform, JVMPlatform, NativePlatform) .settings( name := "cats-effect-testing-specs2", libraryDependencies += "org.specs2" %%% "specs2-core" % "4.20.9") - .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.5.0").toMap) + .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> NativeVersionIntroduced).toMap) lazy val scalatest = crossProject(JSPlatform, JVMPlatform, NativePlatform) .in(file("scalatest")) @@ -62,7 +64,7 @@ lazy val scalatest = crossProject(JSPlatform, JVMPlatform, NativePlatform) "org.scalatest" %%% "scalatest-mustmatchers" % ScalaTestVersion % Test, "org.scalatest" %%% "scalatest-freespec" % ScalaTestVersion % Test, "org.scalatest" %%% "scalatest-wordspec" % ScalaTestVersion % Test)) - .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.5.0").toMap) + .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> NativeVersionIntroduced).toMap) lazy val utest = crossProject(JSPlatform, JVMPlatform, NativePlatform) .in(file("utest")) @@ -77,7 +79,7 @@ lazy val utest = crossProject(JSPlatform, JVMPlatform, NativePlatform) "com.lihaoyi" %%% "utest" % "0.9.0"), Test / scalacOptions -= "-Xfatal-warnings") - .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "1.5.0").toMap) + .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> NativeVersionIntroduced).toMap) lazy val minitest = crossProject(JSPlatform, JVMPlatform) .in(file("minitest"))