From d596c2a74c8c44d72fdda18a6790f345d1d7a08f Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Thu, 27 Feb 2025 17:23:40 +0100 Subject: [PATCH 1/7] docs: Announce core decision about JDK --- _posts/2025-03-05-next-scala-lts-jdk.md.md | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 _posts/2025-03-05-next-scala-lts-jdk.md.md diff --git a/_posts/2025-03-05-next-scala-lts-jdk.md.md b/_posts/2025-03-05-next-scala-lts-jdk.md.md new file mode 100644 index 000000000..1f907371c --- /dev/null +++ b/_posts/2025-03-05-next-scala-lts-jdk.md.md @@ -0,0 +1,30 @@ +--- +category: announcement +permalink: /news/next-scala-lts-jdk.html +title: "JDK 17 will be the next minimum version required by Scala 3" +by: Tomasz Godzik, VirtusLab & Scala Core Team +--- + +We recently asked for community input about changing the JDK version used by the +Scala 3 compiler. We wanted to thank everyone for their input and announce the +decision to switch to JDK 17 as the new minimum, starting with Scala 3.8 minor +and the next LTS which will mostly likely be Scala 3.9. + +The discussion didn't uncover any compelling reason not to leave JDK 11 behind. +11 is now nearly as antiquated as 8, and moving from 11 to 17 is not normally a +difficult upgrade for users. 17 offers useful APIs and VM features. In the JVM +world, requiring 17+ is already a mainstream position and is becoming more so +with every passing month. Also, we increase Scala's minimum so rarely, we feel +we should take this chance to aid open-source maintainers by reducing the +testing and maintenance burden across the entire Scala 3 tooling and library +ecosystems as much as we reasonably can. + +This change only concerns future minor versions of Scala 3. In particular, the +Scala 3.3 LTS line is unaffected by this change. Scala 3.3.x releases will +continue for at least a year after the next LTS line begins + +There are also no plans to change Scala 2’s JDK support and it will continue +being built using JDK 8. + +The open discussion that led to this decision can be found at the +[Scala contributors forum](https://contributors.scala-lang.org/t/next-scala-3-lts-version-will-increase-minimum-required-jdk-version). From 901f12b9840b087a6fc0870d70582aa45c0e1fd5 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 3 Mar 2025 08:34:57 -0800 Subject: [PATCH 2/7] Update _posts/2025-03-05-next-scala-lts-jdk.md.md Co-authored-by: Piotr Chabelski --- _posts/2025-03-05-next-scala-lts-jdk.md.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2025-03-05-next-scala-lts-jdk.md.md b/_posts/2025-03-05-next-scala-lts-jdk.md.md index 1f907371c..9617eaafb 100644 --- a/_posts/2025-03-05-next-scala-lts-jdk.md.md +++ b/_posts/2025-03-05-next-scala-lts-jdk.md.md @@ -23,8 +23,8 @@ This change only concerns future minor versions of Scala 3. In particular, the Scala 3.3 LTS line is unaffected by this change. Scala 3.3.x releases will continue for at least a year after the next LTS line begins -There are also no plans to change Scala 2’s JDK support and it will continue -being built using JDK 8. +There are no plans to change Scala 2’s JDK support. It will continue +being built using JDK 8, as before. The open discussion that led to this decision can be found at the [Scala contributors forum](https://contributors.scala-lang.org/t/next-scala-3-lts-version-will-increase-minimum-required-jdk-version). From fc5489f05b7812aaa321977b43e60c3a94652790 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 3 Mar 2025 08:35:08 -0800 Subject: [PATCH 3/7] Update _posts/2025-03-05-next-scala-lts-jdk.md.md --- _posts/2025-03-05-next-scala-lts-jdk.md.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-03-05-next-scala-lts-jdk.md.md b/_posts/2025-03-05-next-scala-lts-jdk.md.md index 9617eaafb..ccd06097a 100644 --- a/_posts/2025-03-05-next-scala-lts-jdk.md.md +++ b/_posts/2025-03-05-next-scala-lts-jdk.md.md @@ -21,7 +21,7 @@ ecosystems as much as we reasonably can. This change only concerns future minor versions of Scala 3. In particular, the Scala 3.3 LTS line is unaffected by this change. Scala 3.3.x releases will -continue for at least a year after the next LTS line begins +continue for at least a year after the next LTS line begins. There are no plans to change Scala 2’s JDK support. It will continue being built using JDK 8, as before. From 9970fb9f70cdc8d61a64188c2ba9def3bd950155 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 3 Mar 2025 08:35:23 -0800 Subject: [PATCH 4/7] Update _posts/2025-03-05-next-scala-lts-jdk.md.md Co-authored-by: Piotr Chabelski --- _posts/2025-03-05-next-scala-lts-jdk.md.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-03-05-next-scala-lts-jdk.md.md b/_posts/2025-03-05-next-scala-lts-jdk.md.md index ccd06097a..d24f905ef 100644 --- a/_posts/2025-03-05-next-scala-lts-jdk.md.md +++ b/_posts/2025-03-05-next-scala-lts-jdk.md.md @@ -8,7 +8,7 @@ by: Tomasz Godzik, VirtusLab & Scala Core Team We recently asked for community input about changing the JDK version used by the Scala 3 compiler. We wanted to thank everyone for their input and announce the decision to switch to JDK 17 as the new minimum, starting with Scala 3.8 minor -and the next LTS which will mostly likely be Scala 3.9. +and the subsequent new LTS which will mostly likely be Scala 3.9. The discussion didn't uncover any compelling reason not to leave JDK 11 behind. 11 is now nearly as antiquated as 8, and moving from 11 to 17 is not normally a From f05d62d49c057361ae15082dab801cad8b04e943 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 3 Mar 2025 08:35:33 -0800 Subject: [PATCH 5/7] Update _posts/2025-03-05-next-scala-lts-jdk.md.md Co-authored-by: Piotr Chabelski --- _posts/2025-03-05-next-scala-lts-jdk.md.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-03-05-next-scala-lts-jdk.md.md b/_posts/2025-03-05-next-scala-lts-jdk.md.md index d24f905ef..e2a86d6bc 100644 --- a/_posts/2025-03-05-next-scala-lts-jdk.md.md +++ b/_posts/2025-03-05-next-scala-lts-jdk.md.md @@ -11,7 +11,7 @@ decision to switch to JDK 17 as the new minimum, starting with Scala 3.8 minor and the subsequent new LTS which will mostly likely be Scala 3.9. The discussion didn't uncover any compelling reason not to leave JDK 11 behind. -11 is now nearly as antiquated as 8, and moving from 11 to 17 is not normally a +11 is now nearly as antiquated as 8, and moving from 11 to 17 is not normally considered a difficult upgrade for users. 17 offers useful APIs and VM features. In the JVM world, requiring 17+ is already a mainstream position and is becoming more so with every passing month. Also, we increase Scala's minimum so rarely, we feel From af973cca9dede22d5597e2647287349d0b7e0462 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 3 Mar 2025 08:36:46 -0800 Subject: [PATCH 6/7] review feedback --- _posts/2025-03-05-next-scala-lts-jdk.md.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-03-05-next-scala-lts-jdk.md.md b/_posts/2025-03-05-next-scala-lts-jdk.md.md index e2a86d6bc..d4bfd7e91 100644 --- a/_posts/2025-03-05-next-scala-lts-jdk.md.md +++ b/_posts/2025-03-05-next-scala-lts-jdk.md.md @@ -21,7 +21,7 @@ ecosystems as much as we reasonably can. This change only concerns future minor versions of Scala 3. In particular, the Scala 3.3 LTS line is unaffected by this change. Scala 3.3.x releases will -continue for at least a year after the next LTS line begins. +continue for at least a year after the new LTS line begins. There are no plans to change Scala 2’s JDK support. It will continue being built using JDK 8, as before. From 6aea853e278859cb59407d81baf572eb092a2c89 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 3 Mar 2025 08:37:17 -0800 Subject: [PATCH 7/7] put in correct category --- _posts/2025-03-05-next-scala-lts-jdk.md.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2025-03-05-next-scala-lts-jdk.md.md b/_posts/2025-03-05-next-scala-lts-jdk.md.md index d4bfd7e91..f3fec667a 100644 --- a/_posts/2025-03-05-next-scala-lts-jdk.md.md +++ b/_posts/2025-03-05-next-scala-lts-jdk.md.md @@ -1,5 +1,5 @@ --- -category: announcement +category: blog permalink: /news/next-scala-lts-jdk.html title: "JDK 17 will be the next minimum version required by Scala 3" by: Tomasz Godzik, VirtusLab & Scala Core Team