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.
This PR contains the following updates:
2.12.7
->2.12.20
Release Notes
scala/scala (scala)
v2.12.20
: Scala 2.12.20Compare Source
This release improves compatibility:
and compiler profiling:
For complete 2.12.20 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.20 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 8 contributors, according to
git shortlog -sn --no-merges @​ ^v2.12.19
. Thank you Scala Steward, Seth Tisue, Lukas Rytz, A. P. Marki, Hamza Remmal, Philippus Baalman, Stefan Zeiger, nbauma109.Thanks to Lightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers commercial support for Scala 2.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt projectusing scala
setting in your Scala CLI projectv2.12.19
: Scala 2.12.19Compare Source
This release improves compatibility:
-Yrelease
option supplements-release
, allows access to additional JVM packages (#10671 by @som-snytt)And it has bugfixes:
NullPointerException
in some tree-based collections (#10640 by @lrytz)InterruptedException
handling forFuture
s (#10379 by @szeiger)For complete 2.12.19 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.19 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 9 contributors, according to
git shortlog -sn --no-merges @​ ^v2.12.18 ^2.11.x
. Thank you Scala Steward, Seth Tisue, A. P. Marki, Lukas Rytz, Stefan Zeiger, Dmitry Komanov, Philippus Baalman, cahilltr, dependabot.Thanks to Lightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers commercial support for Scala 2.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt projectusing scala
setting in your Scala CLI projectv2.12.18
: Scala 2.12.18Compare Source
This release improves compatibility:
It also aids migration to Scala 2.13 and Scala 3:
-Xsource:2.13
, warn when inherited takes precedence over outer definitions (#10297, #10321)-Xsource:2.13
, flag eta-expanding methods without parameter lists (#10283)-Xsource:2.13
, don't GLB binders of type patterns, use the type directly (#10298)and improves linting:
and enables improved tooling:
Block
/Apply
inversion transform (#10176)For complete 2.12.18 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.18 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 6 contributors, according to
git shortlog -sn --no-merges @​ ^v2.12.17 ^2.11.x
. Thank you Seth Tisue, Lukas Rytz, Scala Steward, A. P. Marki, Jason Zaugg, Philippus Baalman.Thanks to Lightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt projectusing scala
setting in your Scala-CLI projectv2.12.17
: Scala 2.12.17Compare Source
This release has the following notable changes affecting compatibility:
-release
; deprecate-target
(#10109)It also fixes this regression in Scala 2.12.16:
and aids migration to Scala 2.13:
-Xsource:2.13
, warn about changed precedence in imports (#10095)and eases cross-compilation with Scala 3:
using
in method signature (to aid cross-building with Scala 3) (#10075)and enables improved tooling:
For complete 2.12.17 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.17 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 7 contributors, according to
git shortlog -sn --no-merges @​ ^v2.12.16 ^2.11.x
. Thank you Lukas Rytz, Seth Tisue, Sébastien Doeraene, A. P. Marki, Jason Zaugg, Scala Steward, Daniel Esik.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.16
: Scala 2.12.16Compare Source
This release improves compatibility with recent JDKs:
-target
support JDK 8 through 19 (and deprecate 5 through 7) (#9916)MethodHandle.invoke
(et al) under JDK 17-release
(#9930)AnyVal#formatted(formatString)
, to avoid conflict with JDK 15+ method (#9783)and aids cross-compiling with Scala 3:
?
as a wildcard even without-Xsource:3
(#10005)and improves security and error reporting:
For complete 2.12.16 change lists, see all merged PRs and all closed bugs.
Known issue
Scala 2.12.16 contains a regression that was discovered after the artifacts were published. Only mixed compilation of Scala and Java source files together is affected, and only when the Scala code contains references to certain nested classes in the Java sources. The problem manifests as a compile-time type error. Follow link for details and workarounds. We'll fix the problem in Scala 2.12.17 which we expect to release in a few months.
Compatibility
As usual for our minor releases, Scala 2.12.16 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 18 contributors, according to
git shortlog -sn --no-merges @​ ^v2.12.15 ^2.11.x
. Thank you Scala Steward, Seth Tisue, Lukas Rytz, Sébastien Doeraene, A. P. Marki, Daniel Le, Jason Zaugg, Guillaume Martres, Frank Thomas, Philippus, Daniela Sfregola, Dale Wijnand, Vadzim Marchanka, hepin.p, naferx, Fredrik Svensson, Štefan Jurčo, Georgi Krastev.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.15
: Scala 2.12.15Compare Source
This release improves compatibility with JDK 17 and 18:
IllegalArgumentException
in JDK 17+ for lambda deserialization (#9676)and facilitates cross-building with Scala 3 with:
case
in pattern bindings even without-Xsource:3
(#9740 by @smarter)import x.{*, given}
under-Xsource:3
(#9736 by @smarter)-Xsource:3
) (#9665 by @som-snytt)For complete 2.12.15 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.15 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 4 contributors, according to
git shortlog -sn --no-merges @​ ^v2.12.14 ^2.11.x
. Thank you Jason Zaugg, Seth Tisue, A.P. Marki, Guillaume Martres.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.14
: Scala 2.12.14Compare Source
-Xsource:3
to help projects cross build between 2.12.x, 2.13.x and 3.x.(#9589, #9595 and #9620 by @smarter and @neko-kai)
TaskSupport
through operations of parallel collections. (#9529, backport of fix for scala/scala-parallel-collections#152, by @lrytz)For complete 2.12.14 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.14 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 40 contributors, according to
git shortlog -sn --no-merges HEAD ^v2.12.13 ^2.11.x
. Thank you Jason Zaugg, Lukas Rytz, Guillaume Martres, Dale Wijnand, Seth Tisue, A. P. Marki, Mike Skells, Tom Grigg, Kai, Mario Galic, Martijn Hoekstra, tanishiking, Philippus, Adriaan Moors, Sébastien Doeraene, Tobias Schlatter, Andrii, Filipe Regadas, Alexey Kotlyarov.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.13
: Scala 2.12.13Compare Source
Highlights
@nowarn
and-Wconf
), backported from 2.13For a tour of this capability, consult this blog post by Lukas Rytz.
Standard library
CharSequence#isEmpty
method #9292CharSequence
wrappers inPredef
non-implicit.Other changes
immutable.{TreeMap,TreeSet}
by using mutation within the builderFor complete 2.12.13 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.13 is binary-compatible with the whole Scala 2.12 series.
The internal implementation of
groupBy
has been optimized to reduce allocations. This can result in different ordering elements if you iterate the resultingMap
. The ordering of the returned map is not specified behaviour and should not be relied upon, for ordering sensitive use cases consider building aLinkedHashMap
orTreeMap
instead.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.
This release was brought to you by 40 contributors, according to
git shortlog -sn --no-merges HEAD ^v2.12.12 ^2.11.x
. Thank you Mike Skells, Jason Zaugg, Lukas Rytz, Dale Wijnand, A. P. Marki, Harrison Houghton, Darcy Shen, Seth Tisue, Ivano Pagano, João Ferreira, Ethan Atkins, NthPortal.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.12
: Scala 2.12.12Compare Source
Highlights
This release adds compiler support for scala-async and backports substantial performance improvements to collections.
This transform is based on the macro implementation in
scala-async
but has been substantially rewritten to fix somelong standing bugs, reduce the overhead of compilation and simplify the extension points for third party effect systems.
scala-async
1.0.0 will be released shortly building atop this phase. (#8816)immutable.{TreeSet, TreeMap}
are now based on a backport of the 2.13.x implementation. (#8749)immutable.{HashMap, HashSet}
are more efficient -- they now use mutation during building to reduce memory churn. (#8726)Further highlights
This is not a complete list of changes. For that, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.12 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 13 contributors, according to
git shortlog -sn --no-merges v2.12.11..v2.12.12
. Thank you Jason Zaugg, Mike Skells, Lukas Rytz, Harrison Houghton, Adriaan Moors, Stefan Zeiger, Dale Wijnand, Seth Tisue, A. P. Marki, Eugene Yokota, NthPortal, Georgi Krastev and Martijn Hoekstra.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.11
: Scala 2.12.11Compare Source
The Scala 2.12.11 release mainly brings bug fixes and performance improvements.
Highlights
-Yrepl-class-based
, an alternative internal REPL encoding that avoids deadlocks (details on #8712)-Yrepl-use-magic-imports
flag that avoids deep class nesting in the REPL, which can lead to deteriorating performance in long sessions (#8576)toX
methods that could expose the underlying mutability of aListBuffer
-generated collection (#8674)JDK 9+ support
:javap
in the REPL now works on JDK 9+ (#8400)Other changes
Duration("1m")
,Duration("3 hrs")
(#8325, #8450)TypeTag
caches (#8470) and some thread safety issues in runtime reflection (#8433)For more details, see the full list of merged PRs and the list of closed bugs.
Compatibility
Custom subclasses of
immutable.HashSet
andimmutable.HashMap
that overrideelemHashCode
are no longer supported. Note thatHashSet
andHashMap
aresealed
, and their subclasses in the standard library are marked@deprecatedInheritance
. More details in scala-dev#675.As usual for our minor releases, Scala 2.12.11 is binary compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 15 contributors, according to
git shortlog -sn --no-merges v2.12.10..v2.12.11
. Thank you Jason Zaugg, Mike Skells, Harrison Houghton, Dale Wijnand, Seth Tisue, Lukas Rytz, A. P. Marki, Laurynas Lubys, Diego E. Alonso Blas, Daniele Torelli, Philippus, Aaron S. Hawley, leitoh, Eugene Yokota.Thanks to Lightbend for their continued sponsorship of the Scala core team's efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.10
: Scala 2.12.10Compare Source
Highlights
The main purpose of this release is to fix the following regressions in 2.12.9:
Further highlights
This is not a complete list of changes. For that, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.12.10 is binary-compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 7 contributors, according to
git shortlog -sn --no-merges v2.12.9..v2.12.10
. Thank you Jason Zaugg, Diego E. Alonso Blas, Aaron S. Hawley, Mike Skells, Seth Tisue, Eugene Yokota, exoego.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.9
: Scala 2.12.9Compare Source
Highlights
Compatibility
As usual for our minor releases, Scala 2.12.9 is binary compatible with the whole Scala 2.12 series.
Scala.js users must update to 0.6.28+ or 1.0.0-M8+ to use Scala 2.12.9. (#7375)
Compatibility with JDK 11, 12, and 13
Scala 2.12.9 contains various fixes to improve compatibility with JDK 11, 12, and 13.
-release N
flag on JDK 12+ (#7763)ClassfileParser
to fix Scaladoc generation issue (#8289)Build pipelining and outline type checking
Scala 2.12.9 adds experimental infrastructure intended to support "build pipelining". Once build tools add support, compilation of downstream subprojects could begin once upstream code has been type-checked. See scala-dev#643.
Further highlights
packedType
s deterministic in bytecode (#7751)-doc-canonical-base-url
to set a canonical URL in Scaladoc (#7998)TypeTag
s (#8112)For more details, check out all closed bugs and merged PRs.
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.
This release was brought to you by 24 contributors, according to
git shortlog -sn --no-merges v2.12.8..v2.12.9
. Thank you Jason Zaugg, Diego E. Alonso-Blas, Seth Tisue, Harrison Houghton, Adriaan Moors, Lukas Rytz, Aaron S. Hawley, Eugene Yokota, Michael Pollmeier, ta.tanaka, Enno Runne, A. P. Marki, Georgi Krastev, Kenji Yoshida, Stefan Zeiger, exoego, Benjamin Kurczyk, Anselm von Wangenheim, Alex Vayda, Sunil Mishra, Sébastien Doeraene, tgodzik, Dale Wijnand, Ryo Fukumuro.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectv2.12.8
: Scala 2.12.8Compare Source
This release fixes two regressions that appeared in 2.12.7:
The second fix is not binary compatible: the 2.12.8 compiler omits certain methods that are generated by earlier 2.12 compilers. However, we believe that these methods are never used and existing compiled code will continue to work. See the pull request description for more details.
Further highlights of this release:
-Yprofile-trace
(#7364)For more details, check out all closed bugs and merged PRs.
As usual for minor releases, Scala 2.12.8 is binary compatible with the whole Scala 2.12 series.
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.
This release was brought to you by 15 contributors, according to
git shortlog -sn --no-merges v2.12.7..v2.12.8
. Thank youJason Zaugg, Adriaan Moors, Harrison Houghton, Miles Sabin, A. P. Marki, Janek Bogucki, Lukas Rytz, Georgi Krastev, Sujeet Kausallya Gholap, Dale Wijnand, psilospore, Mike Skells, Aaron S. Hawley, Eugene Yokota, Diego Alonso.
Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.12 Notes
The release notes for Scala 2.12.0 have important information applicable to the whole 2.12 series.
Obtaining Scala
Scala releases are available through a variety of channels, including (but not limited to):
scalaVersion
setting in your sbt-based projectConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.