Skip to content

Add Scala 3.5.1 release notes #1694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 20, 2024
- category: current_version
title: Current 3.3.x LTS release
version: 3.3.3
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions _downloads/2024-09-20-3.5.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Scala 3.5.1
start: 20 September 2024
layout: downloadpage
release_version: 3.5.1
release_date: "September 20, 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-20-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.