Skip to content

Commit

Permalink
Add release notes for Scala 3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Sep 19, 2024
1 parent 7f714c0 commit 7577a50
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _data/scala-releases.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions _downloads/2024-06-16-3.4.2.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

---
title: Scala 3.4.2
start: 16 May 2024
Expand Down
10 changes: 10 additions & 0 deletions _downloads/2024-09-23-3.5.1.md
Original file line number Diff line number Diff line change
@@ -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: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
api_docs: https://www.scala-lang.org/api/3.5.1/
---
17 changes: 17 additions & 0 deletions _posts/2024-09-23-release-notes-3.5.1.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 7577a50

Please sign in to comment.