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

Releases: scala/scala

Scala 2.13.18

17 Nov 09:07
v2.13.18
This tag was signed with the committer’sverified signature.
lrytz Lukas Rytz
GPG key ID:188F281CF7FF724E
Verified
Learn about vigilant mode.
98f40d0
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

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 anull array to a varargs method in Scala 3

When passing an array as "sequence argument" to a varargs method,method(arg: _*), the array is converted to aSeq.

In Scala 3 (the syntax ismethod(arg*)), this conversion is done by theScalaRunTime.wrapXArray methods.
These methods were simplified in 2.13.17, which changed the semantics of amethod((null: Array[T])*) invocation.

#11165 restores the previousnull handling semantics.

Fixes for false positive warnings

  • #11162 reverts-Xlint:infer-any to the behavior of 2.13.16.
    The lint was extended in 2.13.17 to warn wheneverNothing is 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.
  • Fix false positive unused warning for private val used in annotation#11149
  • Fix false positive-Xlint:universal-methods warning in synthetic code#11159

JDK 26 support

  • Compiling on Java 26 is now supported#11179

New@uncheckedOverride annotation

The new@uncheckedOverride annotation is equivalent to theoverride 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.#11179

GPG 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

  • On Java 25+,sbt run now detects main methods that are non-static, non-public or without parameter list#11137
  • Regression fix: 2.13.17 was accidentally dropping certain annotations#11173
  • Deprecate the-Xmain-class compiler flag#11156

More changes

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

Compatibility

As usual for our minor releases, Scala 2.13.18 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.

This release was brought to you by 8 contributors, according togit 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 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
Assets10
Loading
gaeljw, lvitaly, and He-Pin reacted with thumbs up emojiHe-Pin reacted with heart emoji
3 people reacted

Scala 2.13.17

30 Sep 09:49
v2.13.17
This tag was signed with the committer’sverified signature.
lrytz Lukas Rytz
GPG key ID:188F281CF7FF724E
Verified
Learn about vigilant mode.
05169c7
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

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 theproductPrefix hash statically in case classhashCode (#11023)
    • The synthetichashCode method of a case class no longer callsproductPrefix. This changes the hash code of case classes that overrideproductPrefix.
  • Improvescala.util.Using suppression order (NonFatal suppressesControlThrowable) (#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 to2.14.0 to get the same behavior change
    • If you useUsing 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

  • FixAnnotationInfo 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
  • Shownowarn/-Wconf filters for a warning with@nowarn("verbose") (#10985)
  • UsetoVector 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
  • PortsummonIgnoring from 3.7 asc.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 inLazyList (#10937)
  • Deregister stale callbacks inFuture.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, seeall merged PRs andall 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
  • Seescala/scala#13128 for details

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

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

  • Seescala/bug#13130 for details
  • Workaround: add@nowarn("cat=unused-privates") to theval declaration

Semantic change when passing anull sequence parameter in Scala 3, i.e.,foo((null: Array[T])*). Withindef foo(xs: T*), the valuexs is no longernull.

  • Merely updatingscala-library on the classpath to 2.13.17 can change the runtime behavior of previously compiled code
  • See#11165 for details

Compatibility

As usual for our minor releases, Scala 2.13.17 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.

This release was brought to you by 23 contributors, according togit 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 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
Loading
m-asadullah, oldratlee, vadimbakaev, and praphull-purohit reacted with thumbs up emojimkurz, sief, diggzhang, rafikk, vagranta, axuan25, jackkoenig, tarmath, prolativ, abdolence, and 2 more reacted with hooray emojimkurz, sief, rafikk, vagranta, plokhotnyuk, axuan25, matejcerny, Philippus, and oldratlee reacted with heart emojimkurz, sief, rafikk, vagranta, plokhotnyuk, axuan25, sh0hei, rtyley, and oldratlee reacted with rocket emoji
20 people reacted

Scala 2.13.16

15 Jan 23:51
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.

Choose a tag to compare

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
Loading
Philippus, apavlychev, kashw2, lvitaly, sief, yuilib, sh0hei, peter-empen, taig, matejcerny, and 10 more reacted with hooray emoji
20 people reacted

Scala 2.13.15

25 Sep 16:51
v2.13.15
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
b6f70d2
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

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

The following changes are highlights of this release:

Breaking changes

  • -Wconf:x,y now means-Wconf:x -Wconf:y, with y overruling x, rather than the reverse (to align with Scala 3.4+ and with user intuition) (#10708 by@som-snytt)
  • Compiler plugins: rework and improve phase assembly (#10687 by@som-snytt)
    • Plugin authors should check to see if they are affected
    • Plugin users may see strange errors if a plugin is affected and not adjusted by its author
    • Most plugins are not affected

Compatibility

  • Support JDK 23 in optimizer (via upgrade to patched ASM 9.7.0) (#10744)
  • Support Scala 3.5 in TASTy reader (#10811 by@bishabosha)
  • REPL: JLine 3.26.3 (was 3.25.1) (#10827)

Features

  • Support alternative JVM system images (via-system, like javac) (#10801 by@szeiger)
  • Add-Ycollect-statistics for collecting statistics without printing them (#10795 by@szeiger)

Align with Scala 3

  • Add-Xsource-features:double-definitions to warn or error for double definitions (#10846 by@som-snytt)
  • Under-Xsource:3, allow importinggiven, for cross-building (#10786 by@som-snytt)
  • Under-Xsource:3, remove by-name restriction for case copy (#10770 by@som-snytt)

Errors and warnings

  • Fix-Wconf and-nowarn to be more consistent (#10750 by@som-snytt)
  • Add-Wtostring-interpolated to warn if interpolator usestoString (#10776 by@som-snytt)
  • Improve inferred-Any lint (fixing false positives and false negatives) (#9452 by@som-snytt)
  • Fix false-positive unused warnings in for comprehensions (#10812 by@som-snytt)
    • (Still seeing false positives, or new false positives? see#10870)
  • Fix false-positive by-name implicit warnings with-Wmacros (#10781 by@som-snytt)
  • Mention if missing symbol is on the class path (#10774 by@som-snytt)
  • Avoid unused import warnings in REPL (#10769 by@som-snytt)
  • Add-Vcyclic to improve reporting of "cyclic reference" errors (#10680 by@som-snytt)

More changes

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

Compatibility

As usual for our minor releases, Scala 2.13.15 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 13 contributors, according togit shortlog -sn --no-merges @ ^v2.13.14 ^2.12.x. Thank you A. P. Marki, Lukas Rytz, Scala Steward, Seth Tisue, Jamie Thompson, Stefan Zeiger, Hamza Remmal, EnzeXing, Marissa, Philippus Baalman, Samuel Chassot, luozexuan, nbauma109.

Thanks toLightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offerscommercial 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
Loading
oleksandr-bazhanov reacted with thumbs up emojilvitaly, CrystalNetworkST, lenguyenthanh, Philippus, axuan25, yuilib, sief, vadimbakaev, novakov-alexey, kevin-lee, and michelou reacted with hooray emojiazolotko, apavlychev, CrystalNetworkST, lenguyenthanh, danicheg, Philippus, counter2015, axuan25, sief, kamilkloch, and 5 more reacted with heart emojispamegg1, Philippus, axuan25, sief, odd, TobiasRoland, BjarkeTornager, KisaragiEffective, kevin-lee, and piyushchauhan2011 reacted with rocket emoji
27 people reacted

Scala 2.12.20

04 Sep 15:14
v2.12.20
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
13f19f4
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

This release improvescompatibility:

  • Support JDK 23 in optimizer (via upgrade to patched ASM 9.7.0) (#10747 by@Philippus)
  • Bump scala-xml dependency to 2.3.0 (was 2.2.0) (#10782)

andcompiler profiling:

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

Compatibility

As usual for our minor releases, Scala 2.12.20 isbinary-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 8 contributors, according togit shortlog -sn --no-merges @ ^v2.12.19. Thank you Scala Steward, Seth Tisue, Lukas Rytz, A. P. Marki, Hamza Remmal, Philippus Baalman, Stefan Zeiger, nbauma109.

Thanks toLightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offerscommercial support for Scala 2.

Scala 2.12 notes

Therelease 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 thescalaVersion setting in your sbt project
  • Bump theusing scala setting in your Scala CLI project
  • Download a distribution fromscala-lang.org
  • Obtain JARs viaMaven Central
Loading
yuilib, sh0hei, kevin-lee, beytullah-gunduz, and novakov-alexey reacted with thumbs up emojispamegg1 reacted with hooray emojicaiquedevjs, dungvn3000, Athelian, and kevin-lee reacted with heart emojispamegg1 reacted with rocket emoji
9 people reacted

Scala 2.13.14

01 May 21:26
v2.13.14
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
a527019
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

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)
  • FixArrayBuilder 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

  • Unused warnings: for macros, by default, look for usages in expansion (#10693 by@som-snytt)
  • REPL: Upgrade to JLine 3.25.1 (was 3.24.1) (#10717)
  • RemoveSHELLOPTS=vi and-Xjline support; reinstate-Xnojline (#10716 by@hvesalai)

More changes

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

Compatibility

As usual for our minor releases, Scala 2.13.14 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 9 contributors, according togit 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 toLightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offerscommercial 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
Loading
xavier-figueroa, wxpkerpk, kevin-lee, novakov-alexey, gabrieljones, oscarvarto, github-julien-pie, and davidnadeau reacted with thumbs up emojihmemcpy, lenguyenthanh, axuan25, He-Pin, guizmaii, gaeljw, mkurz, apavlychev, jweng, kevin-lee, and 5 more reacted with hooray emojihmemcpy, lenguyenthanh, axuan25, He-Pin, guizmaii, joroKr21, TobiasRoland, ntphiep, mkurz, jweng, and 5 more reacted with heart emojiHe-Pin, lenguyenthanh, guizmaii, dmaicher, mkurz, geirolz, jweng, kevin-lee, gabrieljones, oscarvarto, and 3 more reacted with rocket emoji
27 people reacted

Scala 2.13.13

26 Feb 19:57
v2.13.13
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
fcc67cd
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

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

  • -Yrelease supplements-release, allows access to additional JVM packages (#10543 by@som-snytt)
  • -Xlint now enables-Xlint:named-booleans to lint unnamed boolean literal args (#10612 by@som-snytt)
  • Respectjava.lang.Deprecated annotation even in Scala sources (#10517 by@kapunga)
  • Optimize tail recursion on effectively final methods even whenfinal keyword is absent (#10629 by@som-snytt)
  • Add-Xlint:pattern-shadow to lint pattern varids which are backquotable (#8806 by@som-snytt)
  • In mixed compilation, allow Java sources to referenceMODULE$ (#10644 by@som-snytt)
  • Scaladoc: re-align-doc-source-url behavior with 2.12 (#10581 by@lrytz)

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; seenew 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; seescala/bug#12961
  • Users of sbt must upgrade to sbt 1.9.9 to use theconsole task to access the 2.13.13 REPL (sbt/sbt#7502); error message isNoSuchMethodError: 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, seeall merged PRs andall closed bugs.

Compatibility

As usual for our minor releases, Scala 2.13.13 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 23 contributors, according togit 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 toLightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offerscommercial 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
Loading
spamegg1, gchudnov, novakov-alexey, msbomrel, deadblackclover, Domaman202, oldratlee, panbingkun, braviusconolly, kevin-lee, and guizmaii reacted with thumbs up emojijoroKr21, mkurz, hamzaremmal, lvitaly, bturos, plokhotnyuk, katlasik, autruonggiang, stevenzearo, lenguyenthanh, and 14 more reacted with hooray emojispamegg1, apavlychev, deadblackclover, oldratlee, shardulc, braviusconolly, kevin-lee, guizmaii, and coreyoconnor reacted with heart emojispamegg1, gchudnov, marcin-jozefowicz, deadblackclover, oldratlee, braviusconolly, kevin-lee, guizmaii, and coreyoconnor reacted with rocket emoji
31 people reacted

Scala 2.12.19

26 Feb 19:46
v2.12.19
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
afbad90
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

This release improvescompatibility:

And it hasbugfixes:

  • Fix rareNullPointerException in some tree-based collections (#10640 by@lrytz)
  • ImprovedInterruptedException handling forFutures (#10379 by@szeiger)

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

Compatibility

As usual for our minor releases, Scala 2.12.19 isbinary-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 togit shortlog -sn --no-merges @ ^v2.12.18 ^2.11.x. Thank you Scala Steward, Seth Tisue, A. P. Marki, Lukas Rytz, Stefan Zeiger, Dmitry Komanov, Philippus Baalman, cahilltr, dependabot.

Thanks toLightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offerscommercial support for Scala 2.

Scala 2.12 notes

Therelease 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 thescalaVersion setting in your sbt project
  • Bump theusing scala setting in your Scala CLI project
  • Download a distribution fromscala-lang.org
  • Obtain JARs viaMaven Central
Loading
spamegg1, gchudnov, and kevin-lee reacted with thumbs up emojijoroKr21, lvitaly, ahoubouby, plokhotnyuk, lenguyenthanh, spamegg1, houyuanjie, gchudnov, and kevin-lee reacted with hooray emojispamegg1, gchudnov, and kevin-lee reacted with heart emojispamegg1, gchudnov, and kevin-lee reacted with rocket emoji
9 people reacted

Scala 2.13.12

11 Sep 09:48
v2.13.12
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
80514f7
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

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.

  • Implement quickfixes, aka actionable diagnostics (viaCodeAction) (#10406 by@eed3si9n)
  • Add-quickfix compiler option to apply quickfixes to source files (#10482 by@lrytz)
  • Add quickfixes to some warnings and errors (#10484 by@lrytz)

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 throwsNoSuchElementException (notIndexOutOfBoundsException) (#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, seeall merged PRs andall closed bugs.

Compatibility

As usual for our minor releases, Scala 2.13.12 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 a large share of the improvements in this release.

This release was brought to you by 12 contributors, according togit 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 toLightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offerscommercial 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
Loading
He-Pin, kevin-lee, jxnu-liguobin, jausmann-wc, oldratlee, davidnadeau, valencik, jvorhauer, chanukyapekala, NatanJMai, and 4 more reacted with hooray emojimkurz, igor-ramazanov, taig, windymelt, mattiapitossi, guizmaii, lenguyenthanh, He-Pin, plokhotnyuk, kevin-lee, and 9 more reacted with heart emojiHe-Pin, kevin-lee, hearnadam, oldratlee, andriimartynov, davidnadeau, muqiuhan, bjornregnell, and onestn reacted with rocket emoji
33 people reacted

Scala 2.13.11

07 Jun 16:17
v2.13.11
This tag was signed with the committer’sverified signature.
SethTisue Seth Tisue
GPG key ID:A3264AA953A97466
Verified
Learn about vigilant mode.
f113b1a
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

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

  • Acceptimplicit _,implicit (x: Int) in lambdas, like Scala 3 does (#10327 by@som-snytt)
  • Deprecate infix type args, as they are dropped in Scala 3 (#10255 by@som-snytt)
  • Allow eta-expansion of methods with dependent types (#10166)
  • Abstract parentcopy does not suspend casecopy (#10085 by@som-snytt)
  • Don't GLB binders of type patterns, use the type directly (#10247)
  • Under-Xsource:3, warn that inherited members no longer take precedence over outer definitions in Scala 3 (#10220,#10339)
  • Under-Xsource:3, adjust 2.13.9 change to ignore override type for whitebox macro expansion (#10188 by@som-snytt)
  • Under-Xsource:3, use narrowest type for pt of override (#10198 by@som-snytt)
  • Under-Xsource:3, warn about change to parenless lambda parens (#10320 by@som-snytt)

Lints and warnings

Other notable changes

  • Disallow mixins where super calls bind to vals (#10268)
  • Make scalac's argument-file processing more like javac's in handling spaces and line breaks (#10319 by@som-snytt)
  • Bump JLine and JNA versions (#10318)
  • javabootclasspath supersedesjrt (#10336 by@som-snytt)
  • Report total errors on stderr (#10272 by@som-snytt)
  • Fix pathologically slow compilation of some pattern matches since 2.13.7 (#10258 by@KisaragiEffective)
  • Provideequals andhashCode onIterableWrapper again (fixing 2.13.9 regression) (#10205 by@som-snytt)
  • Improvements to-Vimplicits; errors now show complete implicit search tree (#9944 by@tribbloid)
  • -Vprint defaults to-Vprint:typer; phases may be prefixed with~ to mean "before and after" (#10173 by@som-snytt)

2.13.11 also includes thechanges 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, seeall merged PRs andall 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 causejava.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 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 a large share of the improvements in this release.

This release was brought to you by 28 contributors, according togit 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 toLightbend for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offerscommercial 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 thescalaVersion setting in your sbt project
  • Bump theusing scala setting in your Scala-CLI project
  • Download a distribution fromscala-lang.org
  • Obtain JARs viaMaven Central
Loading
azolotko, gchudnov, antoio, gregofi, dalakatt, jxnu-liguobin, da-tubi, axuan25, AngelMunoz, svalaskevicius, and 15 more reacted with thumbs up emojidalakatt, limpid-kzonix, deadblackclover, and davidnadeau reacted with laugh emojiazolotko, jausmann-wc, falconepl, Philippus, He-Pin, guizmaii, gchudnov, taig, antoio, dalakatt, and 14 more reacted with hooray emojiazolotko, falconepl, Philippus, He-Pin, guizmaii, rtar, houyuanjie, dalakatt, svercl, deadblackclover, and 7 more reacted with heart emojiHe-Pin, guizmaii, azolotko, dalakatt, yuilib, axuan25, kluen, deadblackclover, gabriel-ozeas, chaotic3quilibrium, and 4 more reacted with rocket emoji
45 people reacted
Previous1345678
Previous

[8]ページ先頭

©2009-2025 Movatter.jp