Skip to content

Commit 3d7f544

Browse files
update logback to non vulnerable version, drop Java 8 support (#486)
* Remove Java 8 from CI workflow matrix * Update Java version requirement in README * Update Logback version in README * Update Dependencies.scala
1 parent 53a0699 commit 3d7f544

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
java: [ 8, 11, 17, 21 ]
12+
java: [ 11, 17, 21 ]
1313
scala: [ 2.11.x, 2.12.x, 2.13.x, 3.x ]
1414
runs-on: ubuntu-latest
1515
steps:
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
java: [ 8, 11, 17, 21 ]
34+
java: [ 11, 17, 21 ]
3535
scala: [ 2.13.x, 3.x ]
3636
runs-on: ubuntu-latest
3737
steps:

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@ if (logger.isDebugEnabled) logger.debug(s"Some $expensive message!")
1414

1515
## Prerequisites
1616

17-
* Java 8 or higher
17+
* Java 11 or higher
18+
* Scala Logging 3.x supports Java 8
1819
* Scala 2.11, 2.12, 2.13 or 3.0
1920
* Logging backend compatible with SLF4J
2021

2122
A compatible logging backend is [Logback](http://logback.qos.ch), add it to your sbt build definition:
2223

2324
```scala
24-
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.5.21"
25+
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.14"
2526
```
2627

2728
If you are looking for a version compatible with Scala 2.10, check out Scala Logging 2.x.
2829

29-
If you are looking for a version compatible with SLF4J 1.x, check out Scala Logging 3.x.
30+
**If you are looking for a version compatible with SLF4J 1.x, check out Scala Logging 3.x.**
3031

3132

3233
## Getting Scala Logging

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sbt._
22

33
object Version {
4-
val logback = "1.2.12"
4+
val logback = "1.4.14"
55
val mockito = "3.2.10.0"
66
val scalaTest = "3.2.19"
77
val slf4j = "2.0.17"

0 commit comments

Comments
 (0)