-
Notifications
You must be signed in to change notification settings - Fork 14
Scala 2.13.9 draft release notes #817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fe223dc
raw bullets from gh api
SethTisue 1ada8ee
add the boilerplate
SethTisue 9fc2cc5
credits
SethTisue ffaa1f9
organize the bullets and thank Som
SethTisue 22946ae
Update 2.13.9.md
SethTisue 0b680b4
link to bincompat page
SethTisue 9cfae03
Update 2.13.9.md
SethTisue fcf1f65
Update 2.13.9.md
SethTisue a70ca52
fix 10027 credit and add 10129
SethTisue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Scala 2.13.9 (DRAFT) | ||
|
||
The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.9. | ||
|
||
The following changes are highlights of this release: | ||
|
||
### Compatibility with Scala 3 | ||
|
||
* Tasty Reader: Add support for Scala 3.2 ([#10068](https://github.com/scala/scala/pull/10068)) | ||
* Tasty Reader: Restrict access to experimental definitions ([#10020](https://github.com/scala/scala/pull/10020)) | ||
* To aid cross-building, accept and ignore `using` in method calls ([#10064](https://github.com/scala/scala/pull/10064) by [@som-snytt](https://github.com/som-snytt)) | ||
* To aid cross-building, allow `?` as a wildcard even without `-Xsource:3` ([#9990](https://github.com/scala/scala/pull/9990)) | ||
* Make Scala-3-style implicit resolution explicitly opt-in rather than bundled in `-Xsource:3` ([#10012](https://github.com/scala/scala/pull/10012) by [@povder](https://github.com/povder)) | ||
* Prefer type of overridden member when inferring (under `-Xsource:3`) ([#9891](https://github.com/scala/scala/pull/9891) by [@som-snytt](https://github.com/som-snytt)) | ||
|
||
### JDK version support | ||
|
||
* Make `-release` more useful, deprecate `-target`, align with Scala 3 ([#9982](https://github.com/scala/scala/pull/9982) by [@som-snytt](https://github.com/som-snytt)) | ||
* Support JDK 19 ([#10001](https://github.com/scala/scala/pull/10001) by [@Philippus](https://github.com/Philippus)) | ||
|
||
### Warnings and lints | ||
|
||
* Add `-Wnonunit-statement` to warn about discarded values in statement position ([#9893](https://github.com/scala/scala/pull/9893) by [@som-snytt](https://github.com/som-snytt)) | ||
* Make unused-import warnings easier to silence (support filtering by `origin=`) ([#9939](https://github.com/scala/scala/pull/9939) by [@som-snytt](https://github.com/som-snytt)) | ||
* Add `-Wperformance` lints for `*Ref` boxing and nonlocal `return` ([#9889](https://github.com/scala/scala/pull/9889) by [@som-snytt](https://github.com/som-snytt)) | ||
|
||
### Language improvements | ||
|
||
* Improve support for Unicode supplementary characters in identifiers and string interpolation ([#9805](https://github.com/scala/scala/pull/9805) by [@som-snytt](https://github.com/som-snytt)) | ||
|
||
### Compiler options | ||
|
||
* Use subcolon args to simplify optimizer options ([#9810](https://github.com/scala/scala/pull/9810) by [@som-snytt](https://github.com/som-snytt)) | ||
* For troubleshooting compiler, add `-Vdebug-type-error` (and remove `-Yissue-debug`) ([#9824](https://github.com/scala/scala/pull/9824) by [@tribbloid](https://github.com/tribbloid)) | ||
|
||
### Security | ||
|
||
* Error on source files with Unicode directional formatting characters ([#10017](https://github.com/scala/scala/pull/10017)) | ||
* Prevent `Function0` execution during `LazyList` deserialization ([#10118](https://github.com/scala/scala/pull/10118)) | ||
|
||
### Bugfixes | ||
|
||
* Emit all bridge methods non-final (perhaps affecting serialization compat) ([#9976](https://github.com/scala/scala/pull/9976)) | ||
* Fix null-pointer regression in `Vector#prependedAll` and `Vector#appendedAll` ([#9983](https://github.com/scala/scala/pull/9983)) | ||
* Improve concurrent behavior of Java `ConcurrentMap` wrapper | ||
([#10027](https://github.com/scala/scala/pull/10027) by [@som-snytt](https://github.com/som-snytt)) | ||
|
||
Changes that shipped in Scala 2.12.16 and 2.12.17 are also included in this release. | ||
|
||
For the complete 2.13.9 change lists, see [all merged PRs](https://github.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.9) and [all closed bugs](https://github.com/scala/bug/issues?utf8=%E2%9C%93&q=is%3Aclosed+milestone%3A2.13.9). | ||
|
||
## Compatibility | ||
|
||
As usual for our minor releases, Scala 2.13.9 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) with the whole Scala 2.13 series. | ||
|
||
Upgrading from 2.12? Enable `-Xmigration` while upgrading to request migration advice from the compiler. | ||
|
||
## Contributors | ||
|
||
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. | ||
|
||
We especially acknowledge and thank A. P. Marki, also known as Som Snytt, who is responsible for an especially large share of the improvements in this release. | ||
|
||
This release was brought to you by 27 contributors, according to `git shortlog -sn --no-merges @ ^v2.13.8 ^2.12.x`. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Jamie Thompson, Sébastien Doeraene, Scala Steward, Georgi Krastev, Jason Zaugg, Philippus, Balys Anikevicius, Gilad Hoch, NthPortal, Zhang Zhipeng, Arman Bilge, Dale Wijnand, Dominik Helm, Eric Huang, Guillaume Martres, Harrison Houghton, Krzysztof Pado, Michał Pałka, Zeeshan Arif, counter2015, jxnu-liguobin, mcallisto, naveen, philwalk. | ||
|
||
Thanks to [Lightbend](https://www.lightbend.com/scala) for their continued sponsorship of the Scala core team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. | ||
|
||
## Scala 2.13 notes | ||
|
||
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. | ||
|
||
## Obtaining Scala | ||
|
||
Scala releases are available through a variety of channels, including (but not limited to): | ||
|
||
* Bump the `scalaVersion` setting in your sbt-based project | ||
* Download a distribution from [scala-lang.org](https://scala-lang.org/download/2.13.9.html) | ||
* Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.9) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.