Skip to content

Commit

Permalink
chore: Deprecate pre LTS versions and leave only latest
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Apr 26, 2024
1 parent abd993b commit 36bbdb4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ object MtagsResolver {
"3.0.0" -> "0.11.10",
"3.0.1" -> "0.11.10",
"3.0.2" -> "0.11.12",
"3.1.0" -> "1.3.0",
"3.1.1" -> "1.3.0",
"3.1.2" -> "1.3.0",
"3.2.0" -> "1.3.0",
"3.2.1" -> "1.3.0",
"3.2.2-RC1" -> "0.11.10",
"3.3.0-RC1" -> "0.11.10",
"3.3.0-RC2" -> "0.11.11",
Expand Down
4 changes: 2 additions & 2 deletions project/V.scala
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ object V {

// Scala 3
def nonDeprecatedScala3Versions =
Seq(scala3, "3.3.1", "3.2.2", "3.1.3") ++ scala3RC.toSeq
Seq(scala3, "3.3.1") ++ scala3RC.toSeq

// whenever version is removed please add it to MtagsResolver under last supported Metals version
def deprecatedScala3Versions =
Seq("3.3.2", "3.2.1", "3.2.0", "3.1.2", "3.1.1", "3.1.0")
Seq("3.3.2", "3.2.2", "3.1.3")

// NOTE if you had a new Scala Version make sure it's contained in quickPublishScalaVersions
def scala3Versions = nonDeprecatedScala3Versions ++ deprecatedScala3Versions
Expand Down
4 changes: 2 additions & 2 deletions tests/cross/src/test/scala/tests/pc/CompletionSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1398,12 +1398,12 @@ class CompletionSuite extends BaseCompletionSuite {
|implicitConversions scala.languageFeature
|postfixOps scala.languageFeature
|""".stripMargin,
">=3.0.0" ->
">=3.3.0" ->
"""|dynamics scala.languageFeature
|existentials scala.languageFeature
|experimental scala.languageFeature
|higherKinds scala.languageFeature
|implicitConversions scala.languageFeature
|postfixOps scala.languageFeature
|""".stripMargin,
">=3.3.2-RC3" ->
"""|dynamics languageFeature
Expand Down

0 comments on commit 36bbdb4

Please sign in to comment.