Update dependency org.scala-lang:scala-library to v2.13.18 #374
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.17→2.13.18Release Notes
scala/scala (org.scala-lang:scala-library)
v2.13.18: Scala 2.13.18Compare Source
The Scala team at Akka is pleased to announce Scala 2.13.18.
This release fixes several regressions from 2.13.17. It is compatible with JDKs 8 to 26.
The following are highlights of this release:
Restore traditional behavior when passing a
nullarray to a varargs method in Scala 3When passing an array as "sequence argument" to a varargs method,
method(arg: _*), the array is converted to aSeq.In Scala 3 (the syntax is
method(arg*)), this conversion is done by theScalaRunTime.wrapXArraymethods.These methods were simplified in 2.13.17, which changed the semantics of a
method((null: Array[T])*)invocation.#11165 restores the previous
nullhandling semantics.Fixes for false positive warnings
-Xlint:infer-anyto the behavior of 2.13.16.The lint was extended in 2.13.17 to warn whenever
Nothingis inferred for a higher-kinded type parameterT[_].The new warning showed up in many projects: often as a false positive, but even the "true" positive warning was considered unhelpful / spurious in real-world use cases.
-Xlint:universal-methodswarning in synthetic code #11159JDK 26 support
New
@uncheckedOverrideannotationThe new
@uncheckedOverrideannotation is equivalent to theoverridekeyword, except that it allows to override nothing. This is useful when cross-building: a method may override or not, depending on the version of some dependency. #11179GPG key change
This release is signed with a different GPG key than previous Scala 2 releases. The new key is the same one used by Scala 3. #11158
Other notable changes
sbt runnow detects main methods that are non-static, non-public or without parameter list #11137-Xmain-classcompiler flag #11156More changes
For the complete 2.13.18 change lists, see all merged PRs and all closed bugs.
Compatibility
As usual for our minor releases, Scala 2.13.18 is binary-compatible with the whole Scala 2.13 series.
Upgrading from 2.12? Enable
-Xmigrationwhile 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.
This release was brought to you by 8 contributors, according to
git shortlog -sn --no-merges @​ ^v2.13.17 ^2.12.x. Thank you Lukas Rytz, A. P. Marki, Scala Steward, Seth Tisue, NthPortal, Evgeny Vereshchagin, Kenji Yoshida, Philippus Baalman.Thanks to Akka for their continued sponsorship of the Scala 2 team’s efforts. Akka 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 scalasetting in your Scala-CLI projectscalaVersionsetting in your sbt or Mill 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 is behind base branch, 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.