|
| 1 | +# Scala 2.13.11 |
| 2 | + |
1 | 3 | The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.11.
|
2 | 4 |
|
3 | 5 | The following changes are highlights of this release:
|
4 | 6 |
|
8000
tr>
5 |
| -### Category 1 |
| 7 | +### Collections |
| 8 | + |
| 9 | +* Faster `Vector` concatenation ([#10159](https://github.com/scala/scala/pull/10159) by [@ansvonwa](https://github.com/ansvonwa)) |
| 10 | +* New `LinkedHashMap`/`LinkedHashSet` implementation ([#10221](https://github.com/scala/scala/pull/10221) by [@liang3zy22](https://github.com/liang3zy22)) |
| 11 | + |
| 12 | +### Compatibility |
| 13 | + |
| 14 | +* Support JDK 21 by upgrading to ASM 9.5 ([#10363](https://github.com/scala/scala/pull/10363), [#10184](https://github.com/scala/scala/pull/10184) by [@Philippus](https://github.com/Philippus)) |
| 15 | +* Support Java 17 `sealed` in Java sources and classfiles ([#10348](https://github.com/scala/scala/pull/10348), [#10105](https://github.com/scala/scala/pull/10105) by [@som-snytt](https://github.com/som-snytt) |
6 | 16 |
|
7 |
| -### Category 2 |
| 17 | +### Align with Scala 3 |
| 18 | + |
| 19 | +* Accept `implicit _`, `implicit (x: Int)` in lambdas, like Scala 3 does ([#10327](https://github.com/scala/scala/pull/10327) by [@som-snytt](https://github.com/som-snytt)) |
| 20 | +* Inherited members no longer take precedence over outer definitions ([#10220](https://github.com/scala/scala/pull/10220), [#10339](https://github.com/scala/scala/pull/10339)) |
| 21 | +* Deprecate infix type args, as they are dropped in Scala 3 ([#10255](https://github.com/scala/scala/pull/10255) by [@som-snytt](https://github.com/som-snytt)) |
| 22 | +* Allow eta-expansion of methods with dependent types ([#10166](https://github.com/scala/scala/pull/10166)) |
| 23 | +* Abstract parent `copy` does not suspend case `copy` ([#10085](https://github.com/scala/scala/pull/10085) by [@som-snytt](https://github.com/som-snytt)) |
| 24 | +* Don't GLB binders of type patterns, use the type directly ([#10247](https://github.com/scala/scala/pull/10247)) |
| 25 | +* Under `-Xsource:3`, adjust 2.13.9 change to ignore override type for whitebox macro expansion ([#10188](https://github.com/scala/scala/pull/10188) by [@som-snytt](https://github.com/som-snytt)) |
| 26 | +* Under `-Xsource:3`, use narrowest type for pt of override ([#10198](https://github.com/scala/scala/pull/10198) by [@som-snytt](https://github.com/som-snytt)) |
| 27 | +* Under `-Xsource:3`, warn about change to parenless lambda parens ([#10320](https://github.com/scala/scala/pull/10320) by [@som-snytt](https://github.com/som-snytt)) |
| 28 | + |
| 29 | +### Lints and warnings |
| 30 | + |
| 31 | +* Lint select from Unit, or Int that incurs widening ([#10372](https://github.com/scala/scala/pull/10372) by [@som-snytt](https://github.com/som-snytt)) |
| 32 | +* Lint for integral divisions that are widened to a float [forward port from 2.12] ([#10369](https://github.com/scala/scala/pull/10369) by [@som-snytt](https://github.com/som-snytt)) |
| 33 | +* Lint if args adapted to `Unit` and discarded ([#10150](https://github.com/scala/scala/pull/10150) by [@som-snytt](https://github.com/som-snytt)) |
| 34 | +* Warn that implicit should have explicit type ([#10083](https://github.com/scala/scala/pull/10083) by [@som-snytt](https://github.com/som-snytt)) |
8 | 35 |
|
9 | 36 | ### Other notable changes
|
10 | 37 |
|
| 38 | +* Disallow mixins where super calls bind to vals ([#10268](https://github.com/scala/scala/pull/10268)) |
| 39 | +* Make scalac's argument-file processing more like javac's in handling spaces and line breaks ([#10319](https://github.com/scala/scala/pull/10319) by [@som-snytt](https://github.com/som-snytt)) |
| 40 | +* Bump JLine and JNA versions ([#10318](https://github.com/scala/scala/pull/10318)) |
| 41 | +* javabootclasspath supersedes jrt ([#10336](https://github.com/scala/scala/pull/10336) by [@som-snytt](https://github.com/som-snytt)) |
| 42 | +* Report total errors on stderr ([#10272](https://github.com/scala/scala/pull/10272) by [@som-snytt](https://github.com/som-snytt)) |
| 43 | +* Fix pathologically slow compilation of some pattern matches since 2.13.7 ([#10258](https://github.com/scala/scala/pull/10258) by [@KisaragiEffective](https://github.com/KisaragiEffective)) |
| 44 | +* Provide `equals` and `hashCode` on `IterableWrapper` again (fixing 2.13.9 regression) ([#10205](https://github.com/scala/scala/pull/10205) by [@som-snytt](https://github.com/som-snytt)) |
| 45 | +* Improvements to `-Vimplicits`; errors now show complete implicit search tree ([#9944](https://github.com/scala/scala/pull/9944) by [@tribbloid](https://github.com/tribbloid)) |
| 46 | + |
11 | 47 | For the complete 2.13.11 change lists, see [all merged PRs](https://github.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.11) and [all closed bugs](https://github.com/scala/bug/issues?utf8=%E2%9C%93&q=is%3Aclosed+milestone%3A2.13.11).
|
12 | 48 |
|
13 | 49 | ## Compatibility
|
|
0 commit comments