Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Scala 2.13.16

Latest
Compare
Choose a tag to compare
Loading
@SethTisueSethTisue released this 15 Jan 23:51
· 273 commits to 2.13.x since this release
v2.13.16
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
3f6bdae
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

The Scala team at Akka (formerly Lightbend) is pleased to announce Scala 2.13.16.

The following changes are highlights of this release:

Breaking change

  • On the empty string,.tail and.init now throw (instead of returning the empty string) (#10851 by@sh0hei)
    • This is a bugfix, but be aware that existing code might, perhaps inadvertently, be relying on the old behavior

Compatibility

REPL

  • REPL: JLine 3.27.1 (was 3.26.3) and on Windows use JNI not JNA (#10899,#10898,#10882)
    • These upgrades hopefully won't be noticed, but, REPL users on Windows take note
    • JNA is no longer a dependency ofscala-compiler.jar

Align with Scala 3

Errors and warnings

Collections

  • Do not userangeHash whenrangeDiff is 0 (#10912 by@Friendseeker)
    • This may affect fragile code relying on ordering of hash-based collections
  • Deprecatecollection.mutable.AnyRefMap (#10862 by@wangyum)
    • Since Scala 2.13.0 it has no performance advantage overcollection.mutable.HashMap

More changes

For the complete 2.13.16 change lists, seeall merged PRs andall closed bugs.

Compatibility

As usual for our minor releases, Scala 2.13.16 isbinary-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 19 contributors, according togit shortlog -sn --no-merges @ ^v2.13.15 ^2.12.x. Thank you A. P. Marki, Seth Tisue, Scala Steward, Lukas Rytz, Friendseeker, Ondra Pelech, Philippus Baalman, Benjamin Maurer, Corey O'Connor, Eric Seidel2, Hamza Remmal, Jamie Thompson, João Costa, Kenji Yoshida, Mathias Kools, Rikito Taniguchi, Yuming Wang, rochala, sh0hei.

Thanks toAkka for their continued sponsorship of the Scala 2 team’s efforts. Akka offers commercial support for Scala.

Scala 2.13 notes

Therelease 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 theusing scala setting in your Scala-CLI project
  • Bump thescalaVersion setting in your sbt or Mill project
  • Download a distribution fromscala-lang.org
  • Obtain JARs viaMaven Central
Assets9
Loading
Philippus, apavlychev, kashw2, lvitaly, sief, yuilib, sh0hei, peter-empen, taig, matejcerny, and 10 more reacted with hooray emoji
20 people reacted

[8]ページ先頭

©2009-2025 Movatter.jp