Skip to content

Commit

Permalink
Add Scala 3.5.1 release notes (#1694)
Browse files Browse the repository at this point in the history
* Fix typos in filenames for downloads 3.5.0 and 3.4.3

* Add release notes for Scala 3.5.1

* Update _downloads/2024-06-16-3.4.2.md

Co-authored-by: Jamie Thompson <[email protected]>

* Adjust release dates

* Adjust remaining release date in scala-releases.yml

---------

Co-authored-by: Jamie Thompson <[email protected]>
  • Loading branch information
WojciechMazur and bishabosha authored Sep 20, 2024
1 parent 94985a0 commit 185ca40
Show file tree
Hide file tree
Showing 5 changed files with 29 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 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.

0 comments on commit 185ca40

Please sign in to comment.