Skip to content

Commit 6f4bcef

Browse files
committed
Add changelog for Scala 3.7.4
1 parent b500347 commit 6f4bcef

File tree

1 file changed

+149
-0
lines changed

1 file changed

+149
-0
lines changed

changelogs/3.7.4.md

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
# Highlights of the release
2+
3+
- Bump Scala CLI to v1.9.1 (was v1.9.0) [#23962](https://github.com/scala/scala3/pull/23962)
4+
- Make coverage more similar to the one in Scala 2 [#23722](https://github.com/scala/scala3/pull/23722)
5+
6+
# Deprecations for removal
7+
- Deprecate `scala_legacy`/`MainGenericRunner`/`scalac -run`/`scalac -repl` for removal [#24267](https://github.com/scala/scala3/pull/24267)
8+
9+
# Other changes and fixes
10+
11+
## Context Functions
12+
13+
- Explain no expansion of ContextFunction0 [#23844](https://github.com/scala/scala3/pull/23844)
14+
15+
## Experimental: Capture Checking
16+
17+
- Fix #23737: Update superCallContext to include dummy capture parameters in scope [#23740](https://github.com/scala/scala3/pull/23740)
18+
- Fix separation checking for function results [#23927](https://github.com/scala/scala3/pull/23927)
19+
- Simple enhancement for pattern matching with capturing types [#23524](https://github.com/scala/scala3/pull/23524)
20+
- Don't check bounds in match type cases at CC [#23738](https://github.com/scala/scala3/pull/23738)
21+
22+
## Experimental: Explicit Nulls
23+
24+
- Add warnings for inferred flexible types in public methods and fields [#23880](https://github.com/scala/scala3/pull/23880)
25+
26+
## Exports
27+
28+
- Refine isEffectivelyFinal to avoid no-owner crash [#23675](https://github.com/scala/scala3/pull/23675)
29+
30+
## Implicits
31+
32+
- Fix LiftToAnchors for higher-kinded type applications [#23672](https://github.com/scala/scala3/pull/23672)
33+
- Fix implicit scope liftToAnchors for parameter lower bounds [#23679](https://github.com/scala/scala3/pull/23679)
34+
35+
## Linting
36+
37+
- Invent given pattern name in for comprehension [#23121](https://github.com/scala/scala3/pull/23121)
38+
- Unused var message mentions unread or unset [#23719](https://github.com/scala/scala3/pull/23719)
39+
- Lint function arrow intended context function [#23847](https://github.com/scala/scala3/pull/23847)
40+
- Always traverse Inlined.call in linter [#24043](https://github.com/scala/scala3/pull/24043)
41+
- Ignore warnings when compiletime.testing is imported [#24036](https://github.com/scala/scala3/pull/24036)
42+
- Lint avoids revisiting Inlined.call [#24277](https://github.com/scala/scala3/pull/24277)
43+
- Register no elements for lint after inlining [#24279](https://github.com/scala/scala3/pull/24279)
44+
- Use enclosing enclosingInlineds for empty call [#24281](https://github.com/scala/scala3/pull/24281)
45+
- Exclude synthetic opaque proxy from lint [#24264](https://github.com/scala/scala3/pull/24264)
46+
47+
## Match Types
48+
49+
- Fix `derivesFrom` false negative in `provablyDisjointClasses` [#23834](https://github.com/scala/scala3/pull/23834)
50+
51+
52+
## Parser
53+
54+
- Improve message for nested package missing braces [#23816](https://github.com/scala/scala3/pull/23816)
55+
- Fix: Allow postfix setters under language.postfixOps [#23775](https://github.com/scala/scala3/pull/23775)
56+
- Fix Java record varargs field accessor [#24172](https://github.com/scala/scala3/pull/24172)
57+
58+
## Pattern Matching
59+
60+
- Fix: do not transform `Ident` to `This` in PostTyper anymore [#23899](https://github.com/scala/scala3/pull/23899)
61+
- Call inhabited for AppliedType recursively [#23964](https://github.com/scala/scala3/pull/23964)
62+
- Fix false unreachable case warning [#23800](https://github.com/scala/scala3/pull/23800)
63+
- Add subtype-based fallback in inferPrefixMap and recalculate constraints after application [#23771](https://github.com/scala/scala3/pull/23771)
64+
65+
## Presentation Compiler
66+
67+
- Additional completions for using clause [#23647](https://github.com/scala/scala3/pull/23647)
68+
- Completions - do not add `[]` for `... derives TC@@` [#23811](https://github.com/scala/scala3/pull/23811)
69+
- Improve symbol order in completions provided by the presentation compiler [#23888](https://github.com/scala/scala3/pull/23888)
70+
- Porting XRayModeHints [#23891](https://github.com/scala/scala3/pull/23891)
71+
- Go to definition and hover for named args in pattern match [#23956](https://github.com/scala/scala3/pull/23956)
72+
- Fix parameter untupling for named tuples (#23440) [#24152](https://github.com/scala/scala3/pull/24152)
73+
- Fix possible SuspendException thrown when using macros [#24174](https://github.com/scala/scala3/pull/24174)
74+
- Fix completions for named tuples [#24169](https://github.com/scala/scala3/pull/24169)
75+
76+
## Reporting
77+
78+
- Do not discard amended format when f-interpolator warns [#23697](https://github.com/scala/scala3/pull/23697)
79+
- Mention named givens in double def explainer [#23833](https://github.com/scala/scala3/pull/23833)
80+
- Compute the right span for abstract error messages [#23853](https://github.com/scala/scala3/pull/23853)
81+
- Add quick fix to add .nn [#23598](https://github.com/scala/scala3/pull/23598)
82+
- Add addendum to `private val` parameter variance error message [#23876](https://github.com/scala/scala3/pull/23876)
83+
- Fix compiler crash with `-Ymagic-offset-header` [#24124](https://github.com/scala/scala3/pull/24124)
84+
85+
## Rewrites
86+
87+
- Deduplicate patches before applying them to sources [#24215](https://github.com/scala/scala3/pull/24215)
88+
89+
## Scaladoc
90+
91+
- Indicate optional parameters with `= ...` [#23676](https://github.com/scala/scala3/pull/23676)
92+
- Scaladoc Support for Capture & Separation Checking [#23607](https://github.com/scala/scala3/pull/23607)
93+
- Capture Calcuclus: don't eagerly drop caps on parameters [#23759](https://github.com/scala/scala3/pull/23759)
94+
- Fix rendering of function-type aliases [#24042](https://github.com/scala/scala3/pull/24042)
95+
96+
## SemanticDB
97+
98+
- Add context parameters to SemanticDB synthetics [#23381](https://github.com/scala/scala3/pull/23381)
99+
- Include synthetic apply in semanticdb [#23629](https://github.com/scala/scala3/pull/23629)
100+
101+
## Tuples
102+
103+
- Fix: make vals created in desugaring of n-ary lambdas non-synthetic [#23896](https://github.com/scala/scala3/pull/23896)
104+
105+
## Typer
106+
107+
- Prevent crash in SAM conversion with mismatched arity [#23877](https://github.com/scala/scala3/pull/23877)
108+
- Handle assertion error in TyperState [#23665](https://github.com/scala/scala3/pull/23665)
109+
- Correctly require a `ClassTag` when building a multidimensional `Array` [#23902](https://github.com/scala/scala3/pull/23902)
110+
- Make isExactlyNothing and isExactlyAny work for And/OrTypes [#24016](https://github.com/scala/scala3/pull/24016)
111+
112+
113+
# Contributors
114+
115+
Thank you to all the contributors who made this release possible 🎉
116+
117+
According to `git shortlog -sn --no-merges 3.7.3..3.7.4` these are:
118+
119+
```
120+
23 Wojciech Mazur
121+
16 Som Snytt
122+
11 noti0na1
123+
6 Martin Odersky
124+
5 Eugene Flesselle
125+
4 Hamza Remmal
126+
4 Natsu Kagami
127+
4 Oliver Bračevac
128+
4 Seyon Sivatharan
129+
3 Piotr Chabelski
130+
3 Tomasz Godzik
131+
3 Yoonjae Jeon
132+
3 dependabot[bot]
133+
2 Jan Chyb
134+
2 Kacper Korban
135+
2 Katarzyna Marek
136+
2 Li Haoyi
137+
2 Matt Bovel
138+
2 aherlihy
139+
1 Florian3k
140+
1 HarrisL2
141+
1 Martin Duhem
142+
1 Paweł Perłakowski
143+
1 Vadim Chelyshov
144+
1 Yichen Xu
145+
1 Zieliński Patryk
146+
1 katrinafyi
147+
1 vder
148+
1 zielinsky
149+
```

0 commit comments

Comments
 (0)