Skip to content

Commit 18ead49

Browse files
committed
Scala 2.13.12 release notes draft
1 parent bf8c78e commit 18ead49

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

releases/2.13.12.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Scala 2.13.12 (DRAFT)
2+
3+
The Scala team at Lightbend is pleased to announce Scala 2.13.12.
4+
5+
The following changes are highlights of this release:
6+
7+
### Feature: Quickfixes
8+
9+
For some errors and warnings, the compiler now suggests an edit that could fix the issue. Tooling such as IDEs can then offer the edits, or the compiler itself will make the change if run again with `-quickfix`.
10+
11+
* Implement quickfixes, aka actionable diagnostics (via `CodeAction`) ([#10406](https://github.com/scala/scala/pull/10406) by [@eed3si9n](https://github.com/eed3si9n))
12+
* Add `-quickfix` compiler option to apply quickfixes to source files ([#10482](https://github.com/scala/scala/pull/10482) by [@lrytz](https://github.com/lrytz))
13+
* Add quickfixes to some warnings and errors ([#10484](https://github.com/scala/scala/pull/10484) by [@lrytz](https://github.com/lrytz))
14+
15+
### Align with Scala 3
16+
17+
* Emit migration warnings under `-Xsource:3` as fatal warnings, not errors; `-Xmigration` disables fatality ([#10439](https://github.com/scala/scala/pull/10439) by [@som-snytt](https://github.com/som-snytt))
18+
* Warn about `@elidable` under `-Xsource:3` ([#10377](https://github.com/scala/scala/pull/10377) by [@som-snytt](https://github.com/som-snytt))
19+
20+
### Collections
21+
22+
* `IndexedSeq#head` now throws `NoSuchElementException` (not `IndexOutOfBoundsException`) ([#10392](https://github.com/scala/scala/pull/10392) by [@som-snytt](https://github.com/som-snytt))
23+
24+
### Regression fixes
25+
26+
* Deduplicate `JavaDeprecatedAttr` in `ClassfileParser` ([#10422](https://github.com/scala/scala/pull/10422) by [@som-snytt](https://github.com/som-snytt))
27+
* Avoid brittle flags encoding for Java enums ([#10424](https://github.com/scala/scala/pull/10424) by [@som-snytt](https://github.com/som-snytt))
28+
29+
### Tooling
30+
31+
The following change is mainly of concern to tooling maintainers.
32+
33+
* In-source sbt compiler bridge ([#10472](https://github.com/scala/scala/pull/10472) by [@lrytz](https://github.com/lrytz))
34+
35+
### Other notable changes
36+
37+
For the complete 2.13.12 change lists, see [all merged PRs](https://github.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.12) and [all closed bugs](https://github.com/scala/bug/issues?utf8=%E2%9C%93&q=is%3Aclosed+milestone%3A2.13.12).
38+
39+
## Compatibility
40+
41+
As usual for our minor releases, Scala 2.13.12 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) with the whole Scala 2.13 series.
42+
43+
Upgrading from 2.12? Enable `-Xmigration` while upgrading to request migration advice from the compiler.
44+
45+
## Contributors
46+
47+
A big thank you to everyone who's helped improve Scala by reporting bugs, improving our documentation, spreading kindness in discussions around Scala, and submitting and reviewing pull requests! You are all magnificent.
48+
49+
We especially acknowledge and thank A. P. Marki, also known as Som Snytt, who is responsible for a large share of the improvements in this release.
50+
51+
This release was brought to you by 12 contributors, according to `git shortlog -sn --no-merges @ ^v2.13.11 ^2.12.x ^366ba2f`. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Scala Steward, Michel Davit, Nicolas Stucki, Alex Leigh, Eugene Yokota, Georgi Krastev, Jamie Willis, Julien Richard-Foy, NthPortal.
52+
53+
Thanks to [Lightbend](https://www.lightbend.com/scala) for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala.
54+
55+
## Scala 2.13 notes
56+
57+
The [release notes for Scala 2.13.0](https://github.com/scala/scala/releases/v2.13.0) have important information applicable to the whole 2.13 series.
58+
59+
## Obtaining Scala
60+
61+
Scala releases are available through a variety of channels, including (but not limited to):
62+
63+
* Bump the `scalaVersion` setting in your sbt project
64+
* Bump the `using scala` setting in your Scala-CLI project
65+
* Download a distribution from [scala-lang.org](https://scala-lang.org/download/2.13.11.html)
66+
* Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.11)

0 commit comments

Comments
 (0)