- Notifications
You must be signed in to change notification settings - Fork1.1k
Scala 3.3.2
Notice
Summary: please skip this release and wait for 3.3.3
Unfortunately,a subtle bug in the TASTy reader managed to survive the Release Candidate (RC) process. The bug caused 3.3.2 to emit TASTy files incompatible with previous releases in the LTS line, namely 3.3.1 and 3.3.0. This means that, should a library author release a new version using 3.3.2, all users still based on older 3.3.x releases will encounter issues. While a simple workaround exists - users can bump their patch version in the LTS line, which is safe and recommended - we regard compatibility in the LTS as paramount. Therefore, we have decided to abandon the 3.3.2 release completely. New testing measures will be introduced to avoid such situations in the future and to guarantee that LTS line remains internally consistent in all cases.
Highlights of the release
- Improvements to the Coverage (detailed list below)
- Add Stable Presentation Compiler#17528
Other changes and fixes
Backend
- Make sure synthetic apply methods are generated in deterministic order#18210
Coverage
- Only lift inner expressions when lifting repeated
Typedarguments#18424 - Fix: scoverage statement's line number should be 1-base#18932
- Do not lift applications of context functions#18498
- Don't lift the argument of a
synchronizedblock in scoverage#16941 - Fix the issue with coverage inside of a TypeApply#18420
- Coverage: mark case bodies as branches; don't ignore branches with synthetic spans#18437
Documentation
- Compiler plugin Scaladoc: document phase requirement#18394
Exports
- Refine override exclude criterion for export forwarders#17590
Incremental Compilation
- Fix overcompilation due to unstable context bound desugaring#18280
Inline
- Don't generate a super accessor for an inline method call#17598
Linting
- Wunused: Only use type treverser for checking refinements in refined type trees#17929
Parser
Pattern Matching
- Properly refine type of inlined unapply pattern#18292
Presentation Compiler
- Bugfix: suggest correct arg name completions for lambda expressions#18379
- Improvement: print better bracket suffix in completion item label#18380
- Fix presentation compiler autoimports, update presentation compiler dependencies#18264
- Update scala3-presentation-compiler to 39e349e#18296
- Update presentation compiler with changes from PR 5287#18301
- Update presentation compiler to a829a6a#18347
- Bugfix: highlight enum cases correctly#18362
Quotes
- Do not beta-reduce/eta-expand pattern splices with contextual function types#18198
- XcheckMacro types of Block expression and Apply/TypeApply function#18242
- Fix owner of splices in class statements#18359
- Handle macro dependencies through class of
this#18396 - Add missing span in
QuoteMatcher#18178 - Fix stale symbol crashes in some path depended types in macro contexts#18077
- Simplify avoidance of local types of Hole#17571
Reporting
- Detail "not a constant type" message#17626
- Suggest imports for the expected type of the underlying implicit not found error#17976
- Fix: report correct location on a repeat modifier#17982
- Warn when calling synchronized on AnyVal#18021
- Fix compile error message in wildcard exports#18189
- Improve parameter type inference error messaging#18190
- Don't report warnings in migration when performing rewrites#15589
- Fix crash reporter, units and phases#17754
- Omit more prefixes in non-package module printing#17758
- Fix pretty printer to handle using and erased modifier#17952
- Add -Yprint-tasty compiler flag#17986
- Add actionable item to PatternMatchExhaustivity diagnostic#18314
Scaladoc
- Fix: -no-link-warnings does not work#17028
- Fix: Validation for API link#17099
- Scaladoc: type rendering fixes and improvements#17213
- Feat: Add a custom icon#17241
- Fix: Correction of the siteRoot path#17297
- Fix: Correct the navigation to anchor#17910
- Fix: Style for wiki syntax#18079
- Fix NoSuchElementException in scaladoc#18184
- Update jsoup dependency of Scaladoc to 7.2#19584
SemanticDB
- Check for primary constructor in namePresentInSource#18325
- Add -semanticdb-text compiler option#18307
Typer
- Fix pattern generation in "ordinal" mirror method#17570
- Fix superType of SuperType#17574
- Avoid crash in erasure when reference cannot be emitted#18056
- Disallow overloading from breaking stable patterns#18327
- Fix widen types before checking an implicit view exists#18719
- Properly handle SAM types with wildcards#18201
- Handle recursion in collectParts#18214
- Allow eta-expansion of inline defs#18249
- Stable names for lambda lifted methods#18281
- Fix expandParam's use of argForParam/isArgPrefixOf.#19412
Contributors
Thank you to all the contributors who made this release possible 🎉
According togit shortlog -sn --no-merges 3.3.1..3.3.2 these are:
42Paweł Marks 38Nicolas Stucki 28Chris Kipp 15Sébastien Doeraene 13Lucas Leblanc 13Martin Odersky 12Guillaume Martres 11Dale Wijnand 10Jamie Thompson 8ghostbuster91 6Florian3k 5Kacper Korban 4Jan Chyb 4Jędrzej Rochala 4Katarzyna Marek 4Quentin Bernet 4Seth Tisue 3Lucas 3Matt Bovel 2Julien Richard-Foy 2Wojciech Mazur 1Aleksey Troitskiy 1Arnout Engelen 1Bjorn Regnell 1Eugene Yokota 1Fabián Heredia Montiel 1Justin Reardon 1Kisaragi 1Martin Kučera 1Matthew Rooney 1Matthias Kurz 1Ondrej Lhotak 1Rikito Taniguchi 1Stefan Wachter 1Yuito Murase 1rochalaAssets2
Uh oh!
There was an error while loading.Please reload this page.