From cd8c4e8fef768eb3df5164d68a266a8de2bad340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Fri, 28 Nov 2025 14:10:03 +0800 Subject: [PATCH 1/4] Remove Java 8 from CI workflow matrix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7212817..b60ed37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ 8, 11, 17, 21 ] + java: [ 11, 17, 21 ] scala: [ 2.11.x, 2.12.x, 2.13.x, 3.x ] runs-on: ubuntu-latest steps: @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ 8, 11, 17, 21 ] + java: [ 11, 17, 21 ] scala: [ 2.13.x, 3.x ] runs-on: ubuntu-latest steps: From 89b1e34021f41e227264e54ee8b3d369a6ba9ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Fri, 28 Nov 2025 14:12:35 +0800 Subject: [PATCH 2/4] Update Java version requirement in README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29c52f8..eb8edab 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ if (logger.isDebugEnabled) logger.debug(s"Some $expensive message!") ## Prerequisites -* Java 8 or higher +* Java 11 or higher + * Scala Logging 3.x supports Java 8 * Scala 2.11, 2.12, 2.13 or 3.0 * Logging backend compatible with SLF4J @@ -26,7 +27,7 @@ libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.5.21" If you are looking for a version compatible with Scala 2.10, check out Scala Logging 2.x. -If you are looking for a version compatible with SLF4J 1.x, check out Scala Logging 3.x. +**If you are looking for a version compatible with SLF4J 1.x, check out Scala Logging 3.x.** ## Getting Scala Logging From 97432ab9927ba952fddacb4c6744544c5aae1a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Fri, 28 Nov 2025 14:13:49 +0800 Subject: [PATCH 3/4] Update Logback version in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb8edab..639d548 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ if (logger.isDebugEnabled) logger.debug(s"Some $expensive message!") A compatible logging backend is [Logback](http://logback.qos.ch), add it to your sbt build definition: ```scala -libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.5.21" +libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.14" ``` If you are looking for a version compatible with Scala 2.10, check out Scala Logging 2.x. From 8cde9cca6a9edc148987783a1e8f21de621d4f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Fri, 28 Nov 2025 14:15:02 +0800 Subject: [PATCH 4/4] Update Dependencies.scala --- project/Dependencies.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index d7a9ea4..7bbbc43 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -1,7 +1,7 @@ import sbt._ object Version { - val logback = "1.2.12" + val logback = "1.4.14" val mockito = "3.2.10.0" val scalaTest = "3.2.19" val slf4j = "2.0.17"