Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 3, 2025

This PR contains the following updates:

Package Change Age Confidence
org.scala-lang:scala-reflect (source) 2.13.16 -> 2.13.17 age confidence

Release Notes

scala/scala (org.scala-lang:scala-reflect)

v2.13.17: Scala 2.13.17

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
  • JDK 25 support in optimizer (#​11046)
  • Support Scala 3.7 in the TASTy reader (#​11100)
  • When parsing Java sources, skip JDK 21+’s JEP 445 compact compilation units (#​11066)
Breaking changes
  • Mix in the productPrefix hash statically in case class hashCode (#​11023)
    • The synthetic hashCode method of a case class no longer calls productPrefix. This changes the hash code of case classes that override productPrefix.
  • Improve scala.util.Using suppression order (NonFatal suppresses ControlThrowable) (#​11000 by @​NthPortal)
    • When multiple exceptions are thrown, a predefined order determines which exception is rethrown and which is attached as "suppressed"
    • Users of scala-collection-compat can upgrade to 2.14.0 to get the same behavior change
    • If you use Using in 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 build
Features and notable changes
  • Fix AnnotationInfo when using named/default arguments, support custom annotation subclasses (#​10976)
    • Users can now define, for example, class nodep extends annotation.nowarn("cat=deprecation") and use @nodep to silence deprecations
  • Show nowarn/-Wconf filters for a warning with @nowarn("verbose") (#​10985)
  • Use toVector for XML literal sequences (#​11065)
Scala 3 compatibility and migration
  • Allow using -Xsource-features without -Xsource:3 (#​11123)
  • Lint inferred structural types (#​10942)
    • In case this warning is undesired, it can be disabled using -Xlint:_,-infer-structural
  • Port summonIgnoring from 3.7 as c.inferImplicitValueIgnoring (#​11068 by @​MateuszKubuszok)
Notable bug fixes
  • Allow optimizer use within Bazel (don't attempt inlining methods without instructions) (#​11016)
  • Reduce memory footprint of evaluated elements in LazyList (#​10937)
  • Deregister stale callbacks in Future.firstCompletedOf (prevents memory leaks) (#​10927)
  • Require -Xsource-features:eta-expand-always for 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

  • A new warning was added to the existing -Xlint:infer-any flag (which is also enabled with plain -Xlint)
  • The implementation issues false positive warnings
  • To revert back to the behavior of Scala 2.13.16, add -Wconf:cat=lint-infer-any&msg=kind-polymorphic:s
  • See scala/scala#13128 for details

Scaladoc @define no longer works if the doc comment is on an object

-Wunused:privates now warns about unused private final val declarations. When such a val is only referenced as argument to a Java annotation, it is incorrectly reported as unused

  • See scala/bug#13130 for details
  • Workaround: add @nowarn("cat=unused-privates") to the val declaration

Compatibility

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 -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.

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):

  • Bump the using scala setting in your Scala-CLI project
  • Bump the scalaVersion setting in your sbt or Mill project
  • Download a distribution from scala-lang.org
  • Obtain JARs via Maven Central

Configuration

📅 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/scalalibraryversion branch from 5ab2979 to 6c813b7 Compare October 9, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant