Skip to content
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

Update scala.version to v2.13.14 #463

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 2, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.scala-lang:scala-reflect (source) 2.13.10 -> 2.13.14 age adoption passing confidence
org.scala-lang:scala-library (source) 2.13.10 -> 2.13.14 age adoption passing confidence

Release Notes

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

v2.13.14: Scala 2.13.14

Compare Source

The Scala team at Lightbend is pleased to announce Scala 2.13.14.

The following changes are highlights of this release:

Align with Scala 3
  • Introduce -Xsource-features, for customizing the behavior of -Xsource:3 and -Xsource:3-cross (#​10709)
    • A section of the Scala 3 Migration Guide documents these flags: documentation
Regression fixes
  • Rename -Xlint:named-booleans to -Wunnamed-boolean-literal (and no longer include it in -Xlint) (#​10704 by @​som-snytt)
  • Fix ArrayBuilder regression in Scala 2.13.13 (OutOfMemoryError when adding empty arrays) (#​10722 by @​som-snytt)
  • Fix 2.13.13 regression in Scaladoc compilation when using Scala 3 definitions (#​10700 by @​bishabosha)
Other improvements
More changes

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

Compatibility

As usual for our minor releases, Scala 2.13.14 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 many of the improvements in this release.

This release was brought to you by 9 contributors, according to git shortlog -sn --no-merges @​ ^v2.13.13 ^2.12.x. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Scala Steward, Jamie Thompson, Antoine Amiguet, Heikki Vesalainen, Robert Stoll, guqicun.

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

  • 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

v2.13.13: Scala 2.13.13

Compare Source

The Scala team at Lightbend is pleased to announce Scala 2.13.13.

The following changes are highlights of this release:

Language
Compatibility
Align with Scala 3
  • Allow either -Xsource:3 (for preparing to switch to 3) or -Xsource:3-cross (for crossbuilding on 2 and 3); some existing users of -Xsource:3 should switch to -Xsource:3-cross to avoid unwanted behavior changes (#​10573 by @​som-snytt)
    • A new section in the Scala 3 Migration Guide documents -Xsource:3 and -Xsource:3-cross: documentation
  • For migration to 3, accommodate case companion as function (#​10648 by @​som-snytt)
  • Scala 3 migration warning for implicits found in package prefix (#​10621 by @​lrytz)
Other improvements
Known issues
  • When upgrading to 2.13.13, existing users of -Xsource:3 should explicitly consider switching to -Xsource:3-cross. Some behaviors of -Xsource:3 have changed, e.g. in result type inference for inherited methods; see new doc page for details
  • Some library authors who were already using -Xsource:3 are getting MiMa failures when upgrading to 2.13.13 and switching from -Xsource:3 to -Xsource:3-cross. If you’re in this situation, you may need to wait for 2.13.14; see scala/bug#12961
  • Users of sbt must upgrade to sbt 1.9.9 to use the console task to access the 2.13.13 REPL (sbt/sbt#7502); error message is NoSuchMethodError: org.jline.utils.AttributedString.fromAnsi
  • Regression: Scaladoc generation may fail if you are using the TASTy reader to access Scala 3 dependencies (scala/bug#12955); error message is "Unsupported Scala 3 generic tuple type"; we'll fix it in 2.13.14
  • Regression: on JDK 11 (but not 8 or 17 or 21), the REPL prints a harmless "illegal reflective access" warning at startup (scala/bug#12957); we'll fix it in 2.13.14
  • The inclusion of -Xlint:named-booleans in -Xlint (#​10612) has already proved at least somewhat controversial, and will likely be adjusted for 2.13.14; you can leave feedback on this at #​10704
More changes

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

Compatibility

As usual for our minor releases, Scala 2.13.13 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 many of the improvements in this release.

This release was brought to you by 23 contributors, according to git shortlog -sn --no-merges @​ ^v2.13.12 ^2.12.x. Thank you A. P. Marki, Lukas Rytz, Jamie Thompson, Seth Tisue, Scala Steward, friendseeker, Paul J Thordarson, Philippus Baalman, Shardul Chiplunkar, Stefan Zeiger, Dale Wijnand, Dmitry Komanov, Eugene Yokota, Georgi Krastev, GerretS, Jason Zaugg, Martijn, Mohammad Yousuf Minhaj Zia, Roberto Tyley, Ryan Scheidter, Trey Cahill, c, Dependabot.

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

  • 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

v2.13.12: Scala 2.13.12

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

Align with Scala 3
  • Emit migration warnings under -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
  • Warn about @elidable under -Xsource:3 (#​10377 by @​som-snytt)
Collections
  • IndexedSeq#head now throws NoSuchElementException (not IndexOutOfBoundsException) (#​10392 by @​som-snytt)
Regression fixes
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):

  • 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

v2.13.11: Scala 2.13.11

Compare Source

The Scala team at Lightbend is pleased to announce Scala 2.13.11.

The following changes are highlights of this release:

Collections
Compatibility
Align with Scala 3
Lints and warnings
Other notable changes

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:

  • Exhaustivity checker emits spurious warning when matching on Java enum type (2.13.11 regression) (scala/bug#12800)
  • Duplicated @Deprecated annotations when extending Java interface with deprecated default method cause java.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):

  • Bump the scalaVersion setting in your sbt project
  • Bump the using scala setting in your Scala-CLI 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 these updates again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update scala.version to v2.13.11 Update scala.version to v2.13.12 Sep 6, 2023
@renovate renovate bot changed the title Update scala.version to v2.13.12 Update scala.version to v2.13.13 Feb 21, 2024
@renovate renovate bot changed the title Update scala.version to v2.13.13 Update scala.version to v2.13.14 Apr 29, 2024
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.

None yet

0 participants