|
| 1 | +# Highlights of the release |
| 2 | + |
| 3 | +- Add the -Wall option that enables all warnings (Plan B) [#20577](https://github.com/scala/scala3/pull/20577) |
| 4 | +- Add origin filter to WConf, DeprecationWarning [#21404](https://github.com/scala/scala3/pull/21404) |
| 5 | + |
| 6 | +# Other changes and fixes |
| 7 | + |
| 8 | +## Implicits |
| 9 | + |
| 10 | +- Streamline `tryNormalize` with `underlyingMatchType` [#20268](https://github.com/scala/scala3/pull/20268) |
| 11 | + |
| 12 | +## Infer |
| 13 | + |
| 14 | +- Fix #20521: Optimise caching for computing atoms and widened in OrTypes [#21223](https://github.com/scala/scala3/pull/21223) |
| 15 | + |
| 16 | +## Infrastructure |
| 17 | + |
| 18 | +- Add the project's icon for Intellij [#21188](https://github.com/scala/scala3/pull/21188) |
| 19 | +- Add the link to scala's security policy [#21220](https://github.com/scala/scala3/pull/21220) |
| 20 | +- Add _spec to dependabot [#21227](https://github.com/scala/scala3/pull/21227) |
| 21 | +- Bump redcarpet from 3.5.1 to 3.6.0 in /docs/_spec [#21231](https://github.com/scala/scala3/pull/21231) |
| 22 | +- Bump webrick from 1.7.0 to 1.8.1 in /docs/_spec [#21232](https://github.com/scala/scala3/pull/21232) |
| 23 | +- Bump VirtusLab/scala-cli-setup from 1.4.0 to 1.4.1 [#21233](https://github.com/scala/scala3/pull/21233) |
| 24 | +- Bump VirtusLab/scala-cli-setup from 1.4.1 to 1.4.3 [#21371](https://github.com/scala/scala3/pull/21371) |
| 25 | +- Bump VirtusLab/scala-cli-setup from 1.4.3 to 1.5.0 [#21441](https://github.com/scala/scala3/pull/21441) |
| 26 | +- Update ScAS [#21283](https://github.com/scala/scala3/pull/21283) |
| 27 | +- Bump hamzaremmal/sdkman-release-action from 4cb6c8cf99cfdf0ed5de586d6b38500558737e65 to 1f2d4209b4f5a38721d4ae20014ea8e1689d869e [#21440](https://github.com/scala/scala3/pull/21440) |
| 28 | + |
| 29 | +## JVM Backend |
| 30 | + |
| 31 | +- Update asm to patched 9.7 [#20144](https://github.com/scala/scala3/pull/20144) |
| 32 | + |
| 33 | +## Overloading |
| 34 | + |
| 35 | +- Report only non-overridden unimplemented members [#21337](https://github.com/scala/scala3/pull/21337) |
| 36 | + |
| 37 | +## Parser |
| 38 | + |
| 39 | +- SimplePattern errors should now be recovered as wildcard instead of unimplemented expr [#21438](https://github.com/scala/scala3/pull/21438) |
| 40 | + |
| 41 | +## Pattern matching |
| 42 | + |
| 43 | +- Fix a bundle of patmat issues [#21000](https://github.com/scala/scala3/pull/21000) |
| 44 | + |
| 45 | +## Positions |
| 46 | + |
| 47 | +- Fix trailing comma Ident's span [#20445](https://github.com/scala/scala3/pull/20445) |
| 48 | + |
| 49 | +## Presentation Compiler |
| 50 | + |
| 51 | +- fix: don't use color codes for pattern match code action [#21120](https://github.com/scala/scala3/pull/21120) |
| 52 | +- fix: don't add suffix if brackets already present [#21259](https://github.com/scala/scala3/pull/21259) |
| 53 | +- Backport from metals [#21196](https://github.com/scala/scala3/pull/21196) |
| 54 | +- change mock symbol search [#21296](https://github.com/scala/scala3/pull/21296) |
| 55 | +- fix: completions when parenthesis already provided [#21299](https://github.com/scala/scala3/pull/21299) |
| 56 | +- Weekly metals backport [#21343](https://github.com/scala/scala3/pull/21343) |
| 57 | +- Help implement Metals' infer expected type feature [#21390](https://github.com/scala/scala3/pull/21390) |
| 58 | +- feat: Implement completions for named tuple fields [#21202](https://github.com/scala/scala3/pull/21202) |
| 59 | + |
| 60 | +## Runner |
| 61 | + |
| 62 | +- Wrap the arguments passed to the scalac task between " [#21322](https://github.com/scala/scala3/pull/21322) |
| 63 | + |
| 64 | +## REPL |
| 65 | + |
| 66 | +- Allow JLine to fall back to a dumb terminal [#21330](https://github.com/scala/scala3/pull/21330) |
| 67 | + |
| 68 | +## Semantic DB |
| 69 | + |
| 70 | +- fix: semanticdb symbol creation when `targetName` set [#20950](https://github.com/scala/scala3/pull/20950) |
| 71 | + |
| 72 | +## Tasty Format |
| 73 | + |
| 74 | +- add child to parent in completion context [#21214](https://github.com/scala/scala3/pull/21214) |
| 75 | + |
| 76 | +## Transform |
| 77 | + |
| 78 | +- Fix #20856: Serialize `Waiting` and `Evaluating` as if `null`. [#21243](https://github.com/scala/scala3/pull/21243) |
| 79 | + |
| 80 | +## Typeclass Derivation |
| 81 | + |
| 82 | +- Revert "Compensate loss of transitivity" [#21356](https://github.com/scala/scala3/pull/21356) |
| 83 | + |
| 84 | +## Typer |
| 85 | + |
| 86 | +- Avoid forcing ctors & parents which caused cycles [#17086](https://github.com/scala/scala3/pull/17086) |
| 87 | +- Fix isomorphism tests of `AndOrType`s under non-empty `BinderPairs` [#21017](https://github.com/scala/scala3/pull/21017) |
| 88 | +- Fail when a poly function value has a different number of type params than the expected poly function [#21248](https://github.com/scala/scala3/pull/21248) |
| 89 | +- Fail early & more clearly on shaded-broken classfiles [#21262](https://github.com/scala/scala3/pull/21262) |
| 90 | +- A tweak to type improvement [#21312](https://github.com/scala/scala3/pull/21312) |
| 91 | +- Fix #20897: Make `Nothing ⋔ Nothing`, as per spec. [#21241](https://github.com/scala/scala3/pull/21241) |
| 92 | + |
| 93 | +# Experimental Changes |
| 94 | + |
| 95 | +## Modularity |
| 96 | + |
| 97 | +- fix: Only implement a deferred given in a class if its parent won't implement it [#21206](https://github.com/scala/scala3/pull/21206) |
| 98 | + |
| 99 | +## Named Tuples |
| 100 | + |
| 101 | +- Re-use isConcrete checking in match types for NamedTuple.From [#20947](https://github.com/scala/scala3/pull/20947) |
| 102 | +- fix: Dealias NamedTuple's name types when resolving NamedTuple's element types [#21331](https://github.com/scala/scala3/pull/21331) |
| 103 | + |
| 104 | +## Safe Global Initialization |
| 105 | + |
| 106 | +- Fix exception on sequence matching with drop [#21281](https://github.com/scala/scala3/pull/21281) |
| 107 | +- Fix uninitializing fields when evaluating a cached constructor call in global initialization checker [#21403](https://github.com/scala/scala3/pull/21403) |
| 108 | + |
| 109 | +# Contributors |
| 110 | + |
| 111 | +Thank you to all the contributors who made this release possible 🎉 |
| 112 | + |
| 113 | +According to `git shortlog -sn --no-merges 3.5.1..3.5.2-RC1` these are: |
| 114 | + |
| 115 | +``` |
| 116 | + 21 Dale Wijnand |
| 117 | + 12 Eugene Flesselle |
| 118 | + 11 Katarzyna Marek |
| 119 | + 6 dependabot[bot] |
| 120 | + 5 Wojciech Mazur |
| 121 | + 4 Hamza REMMAL |
| 122 | + 4 Kacper Korban |
| 123 | + 4 Martin Odersky |
| 124 | + 4 Som Snytt |
| 125 | + 4 Yichen Xu |
| 126 | + 4 kasiaMarek |
| 127 | + 3 Jamie Thompson |
| 128 | + 2 EnzeXing |
| 129 | + 2 Hamza Remmal |
| 130 | + 2 Sébastien Doeraene |
| 131 | + 1 Jan Chyb |
| 132 | + 1 Jędrzej Rochala |
| 133 | + 1 Kavin Satheeskumar |
| 134 | + 1 Martin Duhem |
| 135 | + 1 Matt Bovel |
| 136 | + 1 Raphael Jolly |
| 137 | + 1 noti0na1 |
| 138 | + 1 philippus |
| 139 | +
|
| 140 | +``` |
0 commit comments