Skip to content

build(deps): bump org.scala-lang:scala-library from 2.12.20 to 2.12.21#732

Open
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/gradle/org.scala-lang-scala-library-2.12.21
Open

build(deps): bump org.scala-lang:scala-library from 2.12.20 to 2.12.21#732
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/gradle/org.scala-lang-scala-library-2.12.21

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Bumps org.scala-lang:scala-library from 2.12.20 to 2.12.21.

Release notes

Sourced from org.scala-lang:scala-library's releases.

Scala 2.12.21

The Scala team at Akka is pleased to announce Scala 2.12.21.

This release is compatible with JDK 25 LTS and also introduces preliminary support for JDK 26.

The following are highlights of this release:

JDK 25 and 26 support

  • Compiling on JDK 25 is now supported #11028
  • Compiling on JDK 26 is also supported #11172
    • Note: compilation of Ordering subclasses (overriding min / max) may fail on Java 26, see [comment on #11175](scala/scala#11175)

New @uncheckedOverride annotation

The new @uncheckedOverride annotation is equivalent to the override keyword, 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. #11175

GPG key change

This release is signed with a different GPG key than previous Scala 2.12 releases. The new key is the same one used by Scala 3. #11158

More changes

For the complete 2.12.21 change lists, see all merged PRs and all closed bugs.

Compatibility

As usual for our minor releases, Scala 2.12.21 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.20. Thank you Seth Tisue, Lukas Rytz, A. P. Marki, Friendseeker, Matthias Kurz, NthPortal, Philippus Baalman, Scala Steward, dependabot[bot].

Thanks to Akka for their continued sponsorship of the Scala 2 team’s efforts. Akka 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):

  • 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
Commits
  • b7cc68a Merge pull request #11186 from lrytz/revert-ordering
  • 1ddafac Revert "[backport] Tweak variance of Ordering.min and .max"
  • f843123 Merge pull request #11185 from scala/dependabot/github_actions/2.12.x/actions...
  • dbe2250 Bump actions/checkout from 5 to 6
  • d092b1b Merge pull request #11183 from scala-steward/update/2.12.x/commons-lang3-3.20.0
  • 5b69835 Update commons-lang3 to 3.20.0 in 2.12.x
  • 597789e Merge pull request #11178 from dragos/dragos/backport-base-type-crash-fix
  • 01ad07a Merge pull request #11175 from lrytz/t13127-12
  • 7dcf3a6 Add @uncheckedOverride annotation for definitions that may override
  • a70746c Prevent presentation compiler crash on base type cache invalidation
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
org.scala-lang:scala-library [>= 2.13.a, < 2.14]
org.scala-lang:scala-library [>= 3.a, < 4]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

substrait-java-releaser bot and others added 2 commits March 8, 2026 04:21
Bumps [org.scala-lang:scala-library](https://github.com/scala/scala) from 2.12.20 to 2.12.21.
- [Release notes](https://github.com/scala/scala/releases)
- [Commits](scala/scala@v2.12.20...v2.12.21)

---
updated-dependencies:
- dependency-name: org.scala-lang:scala-library
  dependency-version: 2.12.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Mar 9, 2026
Copy link
Member

@bestbeforetoday bestbeforetoday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to updating uses of Scala 2.12, this PR incorrectly changes uses of Scala 2.13 to 2.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant