From 7f714c0308744ad68c3082f8cdebdf5b5ef99399 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Thu, 19 Sep 2024 13:29:53 +0200 Subject: [PATCH 1/5] Fix typos in filenames for downloads 3.5.0 and 3.4.3 --- _downloads/{2024-10-22-3.5.0.md => 2024-08-22-3.5.0.md} | 0 _downloads/{2024-10-23-3.4.3.md => 2024-08-23-3.4.3.md} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename _downloads/{2024-10-22-3.5.0.md => 2024-08-22-3.5.0.md} (100%) rename _downloads/{2024-10-23-3.4.3.md => 2024-08-23-3.4.3.md} (100%) diff --git a/_downloads/2024-10-22-3.5.0.md b/_downloads/2024-08-22-3.5.0.md similarity index 100% rename from _downloads/2024-10-22-3.5.0.md rename to _downloads/2024-08-22-3.5.0.md diff --git a/_downloads/2024-10-23-3.4.3.md b/_downloads/2024-08-23-3.4.3.md similarity index 100% rename from _downloads/2024-10-23-3.4.3.md rename to _downloads/2024-08-23-3.4.3.md From 7577a506b30b15295e64b98dfb3722ec1af0d051 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Thu, 19 Sep 2024 14:20:32 +0200 Subject: [PATCH 2/5] Add release notes for Scala 3.5.1 --- _data/scala-releases.yml | 4 ++-- _downloads/2024-06-16-3.4.2.md | 1 + _downloads/2024-09-23-3.5.1.md | 10 ++++++++++ _posts/2024-09-23-release-notes-3.5.1.md | 17 +++++++++++++++++ 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 _downloads/2024-09-23-3.5.1.md create mode 100644 _posts/2024-09-23-release-notes-3.5.1.md diff --git a/_data/scala-releases.yml b/_data/scala-releases.yml index ce08defbb..1008629e4 100644 --- a/_data/scala-releases.yml +++ b/_data/scala-releases.yml @@ -1,7 +1,7 @@ - category: current_version title: Current 3.5.x release - version: 3.5.0 - release_date: August 22, 2024 + version: 3.5.1 + release_date: September 23, 2024 - category: current_version title: Current 3.3.x LTS release version: 3.3.3 diff --git a/_downloads/2024-06-16-3.4.2.md b/_downloads/2024-06-16-3.4.2.md index e249f4101..894602cfb 100644 --- a/_downloads/2024-06-16-3.4.2.md +++ b/_downloads/2024-06-16-3.4.2.md @@ -1,3 +1,4 @@ + --- title: Scala 3.4.2 start: 16 May 2024 diff --git a/_downloads/2024-09-23-3.5.1.md b/_downloads/2024-09-23-3.5.1.md new file mode 100644 index 000000000..4546ae7d1 --- /dev/null +++ b/_downloads/2024-09-23-3.5.1.md @@ -0,0 +1,10 @@ +--- +title: Scala 3.5.1 +start: 23 September 2024 +layout: downloadpage +release_version: 3.5.1 +release_date: "September 23, 2024" +permalink: /download/3.5.1.html +license: Apache License, Version 2.0 +api_docs: https://www.scala-lang.org/api/3.5.1/ +--- diff --git a/_posts/2024-09-23-release-notes-3.5.1.md b/_posts/2024-09-23-release-notes-3.5.1.md new file mode 100644 index 000000000..cbcf76ca4 --- /dev/null +++ b/_posts/2024-09-23-release-notes-3.5.1.md @@ -0,0 +1,17 @@ +--- +category: announcement +permalink: /news/3.5.1 +title: "Scala 3.5.1 is now available!" +--- +Scala 3.5.1 is now available! + +This release focused mostly on fixes to bugs, however, it also included some DX improvements. +You can now use `-language:help` to see the list of available language features. The compiler would now also reject incorrect values passed to the `-language` setting. +The compiler would now generate better source positions for synthetic `Unit` expressions - these were previously leading to incorrect behaviour of JVM debuggers. + +For a full list of changes and contributor credits, please refer to the [release notes](https://github.com/scala/scala3/releases/tag/3.5.1). + +## Known Issues + +Scala 3.5.1 corrects generic signatures emitted in the JVM bytecode for value classes and aligns it with Scala 2.13 semantics. +The previously generated signatures for value classes were invalid - they contained underlying value class type instead of boxed type. This change would lead to MiMa errors when signature checks are enabled and could lead to issues when trying to refer to value class methods using reflection API. It would not affect the normal usage of value classes in Scala code compiled with the previous version of the compiler. From bf377bc555dd9ec1a55472c6d3e2ee876d3294f7 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Fri, 20 Sep 2024 12:30:42 +0200 Subject: [PATCH 3/5] Update _downloads/2024-06-16-3.4.2.md Co-authored-by: Jamie Thompson --- _downloads/2024-06-16-3.4.2.md | 1 - 1 file changed, 1 deletion(-) diff --git a/_downloads/2024-06-16-3.4.2.md b/_downloads/2024-06-16-3.4.2.md index 894602cfb..e249f4101 100644 --- a/_downloads/2024-06-16-3.4.2.md +++ b/_downloads/2024-06-16-3.4.2.md @@ -1,4 +1,3 @@ - --- title: Scala 3.4.2 start: 16 May 2024 From 683c9e4dcacffabfb8d2bb8137f2f7bfab59d49c Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Fri, 20 Sep 2024 12:32:43 +0200 Subject: [PATCH 4/5] Adjust release dates --- _downloads/{2024-09-23-3.5.1.md => 2024-09-20-3.5.1.md} | 4 ++-- ...lease-notes-3.5.1.md => 2024-09-20-release-notes-3.5.1.md} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename _downloads/{2024-09-23-3.5.1.md => 2024-09-20-3.5.1.md} (79%) rename _posts/{2024-09-23-release-notes-3.5.1.md => 2024-09-20-release-notes-3.5.1.md} (100%) diff --git a/_downloads/2024-09-23-3.5.1.md b/_downloads/2024-09-20-3.5.1.md similarity index 79% rename from _downloads/2024-09-23-3.5.1.md rename to _downloads/2024-09-20-3.5.1.md index 4546ae7d1..05c348a2c 100644 --- a/_downloads/2024-09-23-3.5.1.md +++ b/_downloads/2024-09-20-3.5.1.md @@ -1,9 +1,9 @@ --- title: Scala 3.5.1 -start: 23 September 2024 +start: 20 September 2024 layout: downloadpage release_version: 3.5.1 -release_date: "September 23, 2024" +release_date: "September 20, 2024" permalink: /download/3.5.1.html license: Apache License, Version 2.0 api_docs: https://www.scala-lang.org/api/3.5.1/ diff --git a/_posts/2024-09-23-release-notes-3.5.1.md b/_posts/2024-09-20-release-notes-3.5.1.md similarity index 100% rename from _posts/2024-09-23-release-notes-3.5.1.md rename to _posts/2024-09-20-release-notes-3.5.1.md From 98e8ca94c5942a77604960e117b5114e6e0f78ea Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Fri, 20 Sep 2024 12:33:32 +0200 Subject: [PATCH 5/5] Adjust remaining release date in scala-releases.yml --- _data/scala-releases.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/scala-releases.yml b/_data/scala-releases.yml index 1008629e4..3c1b773ec 100644 --- a/_data/scala-releases.yml +++ b/_data/scala-releases.yml @@ -1,7 +1,7 @@ - category: current_version title: Current 3.5.x release version: 3.5.1 - release_date: September 23, 2024 + release_date: September 20, 2024 - category: current_version title: Current 3.3.x LTS release version: 3.3.3