From 7577a506b30b15295e64b98dfb3722ec1af0d051 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Thu, 19 Sep 2024 14:20:32 +0200 Subject: [PATCH] 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.