Skip to content

Commit 73dc2d1

Browse files
Add announcement for 3.7.3 release (#1838)
1 parent 2fb0542 commit 73dc2d1

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

_data/scala-releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- category: current_version
22
title: Current 3.7.x release
3-
version: 3.7.2
4-
release_date: August 1, 2025
3+
version: 3.7.3
4+
release_date: September 9, 2025
55
- category: current_version
66
title: Current 3.3.x LTS release
77
version: 3.3.6

_downloads/2025-09-09-3.7.3.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Scala 3.7.3
3+
start: 9 September 2025
4+
layout: downloadpage
5+
release_version: 3.7.3
6+
release_date: "September 9, 2025"
7+
permalink: /download/3.7.3.html
8+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
9+
api_docs: https://www.scala-lang.org/api/3.7.3/
10+
---
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
category: release
3+
permalink: /news/3.7.3/
4+
title: "Scala 3.7.3 is now available!"
5+
by: Wojciech Mazur, VirtusLab
6+
---
7+
Scala 3.7.3 is now available!
8+
9+
## Highlights of the release
10+
11+
### Warn when an explicit `using` argument clouse with defaults shadows `given` in the scope [#23559](https://github.com/scala/scala3/pull/23559)
12+
13+
If a call supplies any `using` argument explicitly, `given` search is not performed for the remaining params in that clause. If a remaining param has a default, that default is used, even if a compatible `given` is in scope. This behaviour could have been confusing for users and lead to unexpected problems at runtime.
14+
The compiler now reports a warning when default argument would be used instead of given defined in the scope.
15+
```scala
16+
def f(using x: X, y: Y = defaultY) = ???
17+
given Y = ???
18+
f(using x = X()) // warns: y = defaultY
19+
```
20+
21+
This change also adds new flag `-Wrecurse-with-default` to emit warning when a method calls itself using a default argument instead of forwarding the current value
22+
23+
### Bump Scala CLI to v1.9.0
24+
- Supports the new Scala 3 nightly Maven repository,
25+
- Can be used to test Scala 3.8 nightly releases,
26+
- See the [Scala CLI changelog](https://github.com/VirtusLab/scala-cli/releases/tag/v1.9.0) for additional details
27+
28+
### The new Maven repository for Scala 3 nightly releases
29+
30+
Scala 3 nightly releases are no longer published to Maven Central, these can now be found in dedicated `https://repo.scala-lang.org/artifactory/maven-nightlies` repository.
31+
32+
sbt 1.11.5 or later users can use a helper function to reference new repository in their builds
33+
```scala
34+
resolvers += Resolver.scalaNightlyRepository
35+
```
36+
37+
38+
39+
For a full list of changes and contributor credits, please refer to the [release notes](https://github.com/scala/scala3/releases/tag/3.7.3).

0 commit comments

Comments
 (0)