chore(deps): update dependency scala to v2.13.12 #344
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.13.8
->2.13.12
Release Notes
scala/scala (scala)
v2.13.12
: Scala 2.13.12Compare Source
The Scala team at Lightbend is pleased to announce Scala 2.13.12.
The following changes are highlights of this release:
Feature: Quickfixes
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
.CodeAction
) (#10406 by @eed3si9n)-quickfix
compiler option to apply quickfixes to source files (#10482 by @lrytz)Align with Scala 3
-Xsource:3
as fatal warnings, not errors (#10439 by @som-snytt, #10511)-Xmigration
will demote the errors to warnings-Wconf:cat=scala3-migration:s
will silence these errors/warnings altogether@elidable
under-Xsource:3
(#10377 by @som-snytt)Collections
IndexedSeq#head
now throwsNoSuchElementException
(notIndexOutOfBoundsException
) (#10392 by @som-snytt)Regression fixes
JavaDeprecatedAttr
inClassfileParser
(#10422 by @som-snytt)Scaladoc tool changes
Library authors should be aware that the behavior of
-doc-source-url
has changed, as follows:You may need to adjust your build accordingly, to avoid generating broken source links.
Tooling
The following change is mainly of concern to tooling maintainers.
Other notable changes
For the complete 2.13.12 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.13.12 is binary-compatible 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 a large share of the improvements in this release.
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.Thanks to Lightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.13 notes
The release notes for Scala 2.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):
using scala
setting in your Scala CLI projectscalaVersion
setting in your sbt or Mill projectv2.13.11
: Scala 2.13.11Compare Source
The Scala team at Lightbend is pleased to announce Scala 2.13.11.
The following changes are highlights of this release:
Collections
Vector
concatenation (#10159 by @ansvonwa)LinkedHashMap
/LinkedHashSet
implementation (#10221 by @liang3zy22)Compatibility
sealed
in Java sources and classfiles (#10348, #10105 by @som-snytt)Align with Scala 3
implicit _
,implicit (x: Int)
in lambdas, like Scala 3 does (#10327 by @som-snytt)copy
does not suspend casecopy
(#10085 by @som-snytt)-Xsource:3
, warn that inherited members no longer take precedence over outer definitions in Scala 3 (#10220, #10339)-Xsource:3
, adjust 2.13.9 change to ignore override type for whitebox macro expansion (#10188 by @som-snytt)-Xsource:3
, use narrowest type for pt of override (#10198 by @som-snytt)-Xsource:3
, warn about change to parenless lambda parens (#10320 by @som-snytt)Lints and warnings
Unit
, orInt
that incurs widening (#10372 by @som-snytt)Unit
and discarded (#10150 by @som-snytt)Other notable changes
javabootclasspath
supersedesjrt
(#10336 by @som-snytt)equals
andhashCode
onIterableWrapper
again (fixing 2.13.9 regression) (#10205 by @som-snytt)-Vimplicits
; errors now show complete implicit search tree (#9944 by @tribbloid)-Vprint
defaults to-Vprint:typer
; phases may be prefixed with~
to mean "before and after" (#10173 by @som-snytt)2.13.11 also includes the changes from Scala 2.12.18. (A few of the most significant, such as those involving JDK 20 and 21 compatibility, are listed above.)
For the complete 2.13.11 change lists, see all merged PRs and all closed bugs.
Known issues
A few regressions have been discovered:
@Deprecated
annotations when extending Java interface with deprecated default method causejava.lang.annotation.AnnotationFormatError
when accessed via Java reflection (2.13.11 regression) (scala/bug#12799)We'll address these in Scala 2.13.12.
Compatibility
As usual for our minor releases, Scala 2.13.11 is binary-compatible 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 a large share of the improvements in this release.
This release was brought to you by 28 contributors, according to
git shortlog -sn --no-merges @​ ^v2.13.10 ^2.12.x
. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Anselm von Wangenheim, Scala Steward, Liang Yan, Jamie Thompson, jxnu-liguobin, AminMal, Jason Zaugg, Kenji Yoshida, Rituraj, ashish, Chris Kipp, Dale Wijnand, Francesco Kriegel, Georgi Chochov, Goooler, João Costa, Kisaragi Marine, Rafał Sumisławski, Ruslans Tarasovs, Simon R, Sébastien Doeraene, Tomasz Godzik, Zhang Zhipeng, danarmak, hepin.p.Thanks to Lightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.13 notes
The release notes for Scala 2.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):
scalaVersion
setting in your sbt projectusing scala
setting in your Scala-CLI projectv2.13.10
: Scala 2.13.10Compare Source
The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.10.
The following changes are highlights of this release:
Binary compatibility regression fixed
Library maintainers should avoid publishing libraries using Scala 2.13.9.
Other notable changes
-Xsource:3
now respects refinements by whitebox macro overrides (#10160 by @som-snytt)-Vprint-args
, for echoing arguments provided to compiler (#10164 by @som-snytt)For the complete 2.13.10 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.13.10 is binary-compatible 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 6 contributors, according to
git shortlog -sn --no-merges @​ ^v2.13.9 ^2.12.x
. Thank you A. P. Marki, Liang Yan, Seth Tisue, Antoine Parent, Luc Henninger, 梦境迷离.Thanks to Lightbend for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.13 notes
The release notes for Scala 2.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):
scalaVersion
setting in your sbt-based projectv2.13.9
: Scala 2.13.9Compare Source
The following changes are highlights of this release:
Regression
Library maintainers should avoid publishing libraries using Scala 2.13.9. Please use 2.13.10 instead. 2.13.9 has a regression where binary-incompatible bytecode is emitted for case classes which are also value classes (
case class ... extends AnyVal
).Compatibility with Scala 3
using
in method calls (#10064 by @som-snytt)?
as a wildcard even without-Xsource:3
(#9990)-Xsource:3
(#10012 by @povder)-Xsource:3
) (#9891 by @som-snytt)JDK version support
-release
more useful, deprecate-target
, align with Scala 3 (#9982 by @som-snytt)Warnings and lints
-Wnonunit-statement
to warn about discarded values in statement position (#9893 by @som-snytt)origin=
) (#9939 by @som-snytt)-Wperformance
lints for*Ref
boxing and nonlocalreturn
(#9889 by @som-snytt)Language improvements
Compiler options
-Vdebug-type-error
(and remove-Yissue-debug
) (#9824 by @tribbloid)Security
Function0
execution duringLazyList
deserialization (#10118)Bugfixes
Vector#prependedAll
andVector#appendedAll
(#9983)ConcurrentMap
wrapper(#10027 by @igabaydulin)
Map
s (#10129 by @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 and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.13.9 is binary-compatible 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 for their continued sponsorship of the Scala core team’s efforts. Lightbend offers commercial support for Scala.
Scala 2.13 notes
The release notes for Scala 2.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):
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 has been generated by Mend Renovate. View repository job log here.