-
Notifications
You must be signed in to change notification settings - Fork 2
chore(deps): update dependency scala to v2.13.18 #878
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
Conversation
|
This pull request seems a bit stale.. Shall we invite more to the party? |
52039dd to
c76381c
Compare
dmivankov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦄
de04cac to
fd0887c
Compare
dmivankov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🦄
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #878 +/- ##
=======================================
Coverage 84.73% 84.73%
=======================================
Files 99 99
Lines 2738 2739 +1
Branches 211 199 -12
=======================================
+ Hits 2320 2321 +1
Misses 418 418 🚀 New features to boost your workflow:
|
This PR contains the following updates:
2.13.16->2.13.18Release Notes
scala/scala (scala)
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 projectv2.13.17: Scala 2.13.17Compare Source
The Scala team at Akka is pleased to announce Scala 2.13.17.
This release is compatible with the new JDK 25 LTS.
See below for known issues / regressions in this release.
The following are highlights of this release:
Compatibility
Breaking changes
productPrefixhash statically in case classhashCode(#11023)hashCodemethod of a case class no longer callsproductPrefix. This changes the hash code of case classes that overrideproductPrefix.scala.util.Usingsuppression order (NonFatalsuppressesControlThrowable) (#11000 by @NthPortal)Usingin a project that crossbuilds to Scala 3, you may wish to wait for a Scala 3 release that includes the 2.13.17 standard library, or use a dependency override to force the upgrade in your buildFeatures and notable changes
AnnotationInfowhen using named/default arguments, support custom annotation subclasses (#10976)class nodep extends annotation.nowarn("cat=deprecation")and use@nodepto silence deprecationsnowarn/-Wconffilters for a warning with@nowarn("verbose")(#10985)toVectorfor XML literal sequences (#11065)Scala 3 compatibility and migration
-Xsource-featureswithout-Xsource:3(#11123)-Xlint:_,-infer-structuralsummonIgnoringfrom 3.7 asc.inferImplicitValueIgnoring(#11068 by @MateuszKubuszok)Notable bug fixes
LazyList(#10937)Future.firstCompletedOf(prevents memory leaks) (#10927)-Xsource-features:eta-expand-alwaysfor eta-expansion without an expected type (#10907 by @som-snytt)More changes
For the complete 2.13.17 change lists, see all merged PRs and all closed bugs.
Known issues / regressions
False positive lint warning:
a type was inferred to be kind-polymorphic-Xlint:infer-anyflag (which is also enabled with plain-Xlint)-Wconf:cat=lint-infer-any&msg=kind-polymorphic:sScaladoc
@defineno longer works if the doc comment is on anobject-Wunused:privatesnow warns about unusedprivate final valdeclarations. When such avalis only referenced as argument to a Java annotation, it is incorrectly reported as unused@nowarn("cat=unused-privates")to thevaldeclarationSemantic change when passing a
nullsequence parameter in Scala 3, i.e.,foo((null: Array[T])*). Withindef foo(xs: T*), the valuexsis no longernull.scala-libraryon the classpath to 2.13.17 can change the runtime behavior of previously compiled codeCompatibility
As usual for our minor releases, Scala 2.13.17 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 23 contributors, according to
git shortlog -sn --no-merges @​ ^v2.13.16 ^2.12.x. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Alec Theriault, Jason Zaugg, Sébastien Doeraene, Scala Steward, Bernhard, Tomasz Godzik, Vasil Vasilev, Arthur Soulié, Emil Ejbyfeldt, Hamza Remmal, Jiri Vanek, Kenji Yoshida, Lorenzo Gabriele, Marissa, Mateusz Kubuszok, Matthew Lutze, Philippus Baalman, Stefan Zeiger, philwalk, 虎鸣.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 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.