Open renovate[bot] opened 1 year ago
@rultor please, try to merge
@rultor please, try to merge
@renovate[bot] @yegor256 Can't merge it. Some CI checks were failed. Apparently, the pull request is not ready to be merged since it has some problems. Please, fix them first.
This PR contains the following updates:
2.13.6
->2.13.14
Release Notes
scala/scala (scala)
### [`v2.13.14`](https://togithub.com/scala/scala/releases/tag/v2.13.14): Scala 2.13.14 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.13...v2.13.14) 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](https://togithub.com/scala/scala/pull/10709)) - A section of the Scala 3 Migration Guide documents these flags: [documentation](https://docs.scala-lang.org/scala3/guides/migration/tooling-scala2-xsource3.html) ##### Regression fixes - Rename `-Xlint:named-booleans` to `-Wunnamed-boolean-literal` (and no longer include it in `-Xlint`) ([#10704](https://togithub.com/scala/scala/pull/10704) by [@som-snytt](https://togithub.com/som-snytt)) - Fix `ArrayBuilder` regression in Scala 2.13.13 (`OutOfMemoryError` when adding empty arrays) ([#10722](https://togithub.com/scala/scala/pull/10722) by [@som-snytt](https://togithub.com/som-snytt)) - Fix 2.13.13 regression in Scaladoc compilation when using Scala 3 definitions ([#10700](https://togithub.com/scala/scala/pull/10700) by [@bishabosha](https://togithub.com/bishabosha)) ##### Other improvements - Unused warnings: for macros, by default, look for usages in expansion ([#10693](https://togithub.com/scala/scala/pull/10693) by [@som-snytt](https://togithub.com/som-snytt)) - REPL: Upgrade to JLine 3.25.1 (was 3.24.1) ([#10717](https://togithub.com/scala/scala/pull/10717)) - Remove `SHELLOPTS=vi` and `-Xjline support`; reinstate `-Xnojline` ([#10716](https://togithub.com/scala/scala/pull/10716) by [@hvesalai](https://togithub.com/hvesalai)) ##### More changes For the complete 2.13.14 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.14) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.14). #### Compatibility As usual for our minor releases, Scala 2.13.14 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) 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](https://www.lightbend.com/scala) for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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](https://scala-lang.org/download/2.13.14.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.14) ### [`v2.13.13`](https://togithub.com/scala/scala/releases/tag/v2.13.13): Scala 2.13.13 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.12...v2.13.13) The Scala team at Lightbend is pleased to announce Scala 2.13.13. The following changes are highlights of this release: ##### Language - Support binary integer literals using `0b`, as in Java ([#10656](https://togithub.com/scala/scala/pull/10656) by [@som-snytt](https://togithub.com/som-snytt)) ##### Compatibility - TASTy reader: support Scala 3.4 ([#10670](https://togithub.com/scala/scala/pull/10670) by [@bishabosha](https://togithub.com/bishabosha)) - Support certain Java libraries compiled on JDK 21 ([#10675](https://togithub.com/scala/scala/pull/10675) by [@SethTisue](https://togithub.com/SethTisue)) - For JDK 22 support, upgrade to ASM 9.6 ([#10576](https://togithub.com/scala/scala/pull/10576) by [@Philippus](https://togithub.com/Philippus)) ##### 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](https://togithub.com/scala/scala/pull/10573) by [@som-snytt](https://togithub.com/som-snytt)) - A new section in the Scala 3 Migration Guide documents `-Xsource:3` and `-Xsource:3-cross`: [documentation](https://docs.scala-lang.org/scala3/guides/migration/tooling-scala2-xsource3.html) - For migration to 3, accommodate case companion as function ([#10648](https://togithub.com/scala/scala/pull/10648) by [@som-snytt](https://togithub.com/som-snytt)) - Scala 3 migration warning for implicits found in package prefix ([#10621](https://togithub.com/scala/scala/pull/10621) by [@lrytz](https://togithub.com/lrytz)) ##### Other improvements - `-Yrelease` supplements `-release`, allows access to additional JVM packages ([#10543](https://togithub.com/scala/scala/pull/10543) by [@som-snytt](https://togithub.com/som-snytt)) - `-Xlint` now enables `-Xlint:named-booleans` to lint unnamed boolean literal args ([#10612](https://togithub.com/scala/scala/pull/10612) by [@som-snytt](https://togithub.com/som-snytt)) - Respect `java.lang.Deprecated` annotation even in Scala sources ([#10517](https://togithub.com/scala/scala/pull/10517) by [@kapunga](https://togithub.com/kapunga)) - Optimize tail recursion on effectively final methods even when `final` keyword is absent ([#10629](https://togithub.com/scala/scala/pull/10629) by [@som-snytt](https://togithub.com/som-snytt)) - Add `-Xlint:pattern-shadow` to lint pattern varids which are backquotable ([#8806](https://togithub.com/scala/scala/pull/8806) by [@som-snytt](https://togithub.com/som-snytt)) - In mixed compilation, allow Java sources to reference `MODULE$` ([#10644](https://togithub.com/scala/scala/pull/10644) by [@som-snytt](https://togithub.com/som-snytt)) - Scaladoc: re-align `-doc-source-url` behavior with 2.12 ([#10581](https://togithub.com/scala/scala/pull/10581) by [@lrytz](https://togithub.com/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; see [new doc page](https://docs.scala-lang.org/scala3/guides/migration/tooling-scala2-xsource3.html) 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](https://togithub.com/scala/bug/issues/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](https://togithub.com/sbt/sbt/issues/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](https://togithub.com/scala/bug/issues/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](https://togithub.com/scala/bug/issues/12957)); we'll fix it in 2.13.14 - The inclusion of `-Xlint:named-booleans` in `-Xlint` ([#10612](https://togithub.com/scala/scala/pull/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](https://togithub.com/scala/scala/pull/10704) ##### More changes For the complete 2.13.13 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.13) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.13). #### Compatibility As usual for our minor releases, Scala 2.13.13 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) 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](https://www.lightbend.com/scala) for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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](https://scala-lang.org/download/2.13.13.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.13) ### [`v2.13.12`](https://togithub.com/scala/scala/releases/tag/v2.13.12): Scala 2.13.12 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.11...v2.13.12) 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 (via `CodeAction`) ([#10406](https://togithub.com/scala/scala/pull/10406) by [@eed3si9n](https://togithub.com/eed3si9n)) - Add `-quickfix` compiler option to apply quickfixes to source files ([#10482](https://togithub.com/scala/scala/pull/10482) by [@lrytz](https://togithub.com/lrytz)) - Add quickfixes to some warnings and errors ([#10484](https://togithub.com/scala/scala/pull/10484) by [@lrytz](https://togithub.com/lrytz)) ##### Align with Scala 3 - Emit migration warnings under `-Xsource:3` as fatal warnings, not errors ([#10439](https://togithub.com/scala/scala/pull/10439) by [@som-snytt](https://togithub.com/som-snytt), [#10511](https://togithub.com/scala/scala/pull/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](https://togithub.com/scala/scala/pull/10377) by [@som-snytt](https://togithub.com/som-snytt)) ##### Collections - `IndexedSeq#head` now throws `NoSuchElementException` (not `IndexOutOfBoundsException`) ([#10392](https://togithub.com/scala/scala/pull/10392) by [@som-snytt](https://togithub.com/som-snytt)) ##### Regression fixes - Deduplicate `JavaDeprecatedAttr` in `ClassfileParser` ([#10422](https://togithub.com/scala/scala/pull/10422) by [@som-snytt](https://togithub.com/som-snytt)) - Avoid brittle flags encoding for Java enums ([#10424](https://togithub.com/scala/scala/pull/10424) by [@som-snytt](https://togithub.com/som-snytt)) ##### Scaladoc tool changes Library authors should be aware that the behavior of `-doc-source-url` has changed, as follows: - [https://github.com/scala/bug/issues/12867](https://togithub.com/scala/bug/issues/12867) 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. - In-source sbt compiler bridge ([#10472](https://togithub.com/scala/scala/pull/10472) by [@lrytz](https://togithub.com/lrytz)) ##### Other notable changes For the complete 2.13.12 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.12) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.12). #### Compatibility As usual for our minor releases, Scala 2.13.12 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) 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](https://www.lightbend.com/scala) for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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](https://scala-lang.org/download/2.13.12.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.12) ### [`v2.13.11`](https://togithub.com/scala/scala/releases/tag/v2.13.11): Scala 2.13.11 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.10...v2.13.11) The Scala team at Lightbend is pleased to announce Scala 2.13.11. The following changes are highlights of this release: ##### Collections - Faster `Vector` concatenation ([#10159](https://togithub.com/scala/scala/pull/10159) by [@ansvonwa](https://togithub.com/ansvonwa)) - New `LinkedHashMap`/`LinkedHashSet` implementation ([#10221](https://togithub.com/scala/scala/pull/10221) by [@liang3zy22](https://togithub.com/liang3zy22)) ##### Compatibility - Support JDK 20 and 21 by upgrading to ASM 9.5 ([#10363](https://togithub.com/scala/scala/pull/10363), [#10184](https://togithub.com/scala/scala/pull/10184) by [@Philippus](https://togithub.com/Philippus)) - Fix crash reading JDK 21 classfiles ([#10397](https://togithub.com/scala/scala/pull/10397)) - Support Java 17 `sealed` in Java sources and classfiles ([#10348](https://togithub.com/scala/scala/pull/10348), [#10105](https://togithub.com/scala/scala/pull/10105) by [@som-snytt](https://togithub.com/som-snytt)) - Support Scala 3.3 in TASTy reader ([#10299](https://togithub.com/scala/scala/pull/10299) by [@bishabosha](https://togithub.com/bishabosha)) ##### Align with Scala 3 - Accept `implicit _`, `implicit (x: Int)` in lambdas, like Scala 3 does ([#10327](https://togithub.com/scala/scala/pull/10327) by [@som-snytt](https://togithub.com/som-snytt)) - Deprecate infix type args, as they are dropped in Scala 3 ([#10255](https://togithub.com/scala/scala/pull/10255) by [@som-snytt](https://togithub.com/som-snytt)) - Allow eta-expansion of methods with dependent types ([#10166](https://togithub.com/scala/scala/pull/10166)) - Abstract parent `copy` does not suspend case `copy` ([#10085](https://togithub.com/scala/scala/pull/10085) by [@som-snytt](https://togithub.com/som-snytt)) - Don't GLB binders of type patterns, use the type directly ([#10247](https://togithub.com/scala/scala/pull/10247)) - Under `-Xsource:3`, warn that inherited members no longer take precedence over outer definitions in Scala 3 ([#10220](https://togithub.com/scala/scala/pull/10220), [#10339](https://togithub.com/scala/scala/pull/10339)) - Under `-Xsource:3`, adjust 2.13.9 change to ignore override type for whitebox macro expansion ([#10188](https://togithub.com/scala/scala/pull/10188) by [@som-snytt](https://togithub.com/som-snytt)) - Under `-Xsource:3`, use narrowest type for pt of override ([#10198](https://togithub.com/scala/scala/pull/10198) by [@som-snytt](https://togithub.com/som-snytt)) - Under `-Xsource:3`, warn about change to parenless lambda parens ([#10320](https://togithub.com/scala/scala/pull/10320) by [@som-snytt](https://togithub.com/som-snytt)) ##### Lints and warnings - Lint select from `Unit`, or `Int` that incurs widening ([#10372](https://togithub.com/scala/scala/pull/10372) by [@som-snytt](https://togithub.com/som-snytt)) - Lint for integral divisions that are widened to a float ([#10369](https://togithub.com/scala/scala/pull/10369) by [@som-snytt](https://togithub.com/som-snytt)) - Lint if args adapted to `Unit` and discarded ([#10150](https://togithub.com/scala/scala/pull/10150) by [@som-snytt](https://togithub.com/som-snytt)) - Warn that implicit should have explicit type ([#10083](https://togithub.com/scala/scala/pull/10083) by [@som-snytt](https://togithub.com/som-snytt)) ##### Other notable changes - Disallow mixins where super calls bind to vals ([#10268](https://togithub.com/scala/scala/pull/10268)) - Make scalac's argument-file processing more like javac's in handling spaces and line breaks ([#10319](https://togithub.com/scala/scala/pull/10319) by [@som-snytt](https://togithub.com/som-snytt)) - Bump JLine and JNA versions ([#10318](https://togithub.com/scala/scala/pull/10318)) - `javabootclasspath` supersedes `jrt` ([#10336](https://togithub.com/scala/scala/pull/10336) by [@som-snytt](https://togithub.com/som-snytt)) - Report total errors on stderr ([#10272](https://togithub.com/scala/scala/pull/10272) by [@som-snytt](https://togithub.com/som-snytt)) - Fix pathologically slow compilation of some pattern matches since 2.13.7 ([#10258](https://togithub.com/scala/scala/pull/10258) by [@KisaragiEffective](https://togithub.com/KisaragiEffective)) - Provide `equals` and `hashCode` on `IterableWrapper` again (fixing 2.13.9 regression) ([#10205](https://togithub.com/scala/scala/pull/10205) by [@som-snytt](https://togithub.com/som-snytt)) - Improvements to `-Vimplicits`; errors now show complete implicit search tree ([#9944](https://togithub.com/scala/scala/pull/9944) by [@tribbloid](https://togithub.com/tribbloid)) - `-Vprint` defaults to `-Vprint:typer`; phases may be prefixed with `~` to mean "before and after" ([#10173](https://togithub.com/scala/scala/pull/10173) by [@som-snytt](https://togithub.com/som-snytt)) 2.13.11 also includes the [changes from Scala 2.12.18](https://togithub.com/scala/scala/releases/v2.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](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.11) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.11). #### 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](https://togithub.com/scala/bug/issues/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](https://togithub.com/scala/bug/issues/12799)) We'll address these in Scala 2.13.12. #### Compatibility As usual for our minor releases, Scala 2.13.11 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) 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](https://www.lightbend.com/scala) for their continued sponsorship of the Scala 2 team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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](https://scala-lang.org/download/2.13.11.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.11) ### [`v2.13.10`](https://togithub.com/scala/scala/releases/tag/v2.13.10): Scala 2.13.10 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.9...v2.13.10) The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.10. The following changes are highlights of this release: ##### Binary compatibility regression fixed - Fix 2.13.9 regression which broke binary compatibility of case classes which are also value classes ([#10155](https://togithub.com/scala/scala/pull/10155)) Library maintainers should avoid publishing libraries using Scala 2.13.9. ##### Other notable changes - Fix 2.13.9 regression in linting, causing spurious "variable x is never used" warnings ([#10154](https://togithub.com/scala/scala/pull/10154)) - `-Xsource:3` now respects refinements by whitebox macro overrides ([#10160](https://togithub.com/scala/scala/pull/10160) by [@som-snytt](https://togithub.com/som-snytt)) - Scaladoc tool: fix parsing bug which could cause very slow performance or incorrect output ([#10175](https://togithub.com/scala/scala/pull/10175) by [@liang3zy22](https://togithub.com/liang3zy22)) - Restore `-Vprint-args`, for echoing arguments provided to compiler ([#10164](https://togithub.com/scala/scala/pull/10164) by [@som-snytt](https://togithub.com/som-snytt)) For the complete 2.13.10 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.10) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.10). #### Compatibility As usual for our minor releases, Scala 2.13.10 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) 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 an especially large share of the improvements in this release. This release was brought to you by 6 contributors, according to `git shortlog -sn --no-merges @ ^v2.13.9 ^2.12.x`. Thank you A. P. Marki, Liang Yan, Seth Tisue, Antoine Parent, Luc Henninger, 梦境迷离. Thanks to [Lightbend](https://www.lightbend.com/scala) for their continued sponsorship of the Scala core team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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-based project - Download a distribution from [scala-lang.org](https://scala-lang.org/download/2.13.10.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.10) ### [`v2.13.9`](https://togithub.com/scala/scala/releases/tag/v2.13.9): Scala 2.13.9 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.8...v2.13.9) The following changes are highlights of this release: ##### Regression Library maintainers should avoid publishing libraries using Scala 2.13.9. Please use [2.13.10](https://togithub.com/scala/scala/releases/v2.13.10) instead. 2.13.9 has a [regression](https://togithub.com/scala/bug/issues/12650) where binary-incompatible bytecode is emitted for case classes which are also value classes (`case class ... extends AnyVal`). ##### Compatibility with Scala 3 - Tasty Reader: Add support for Scala 3.2 ([#10068](https://togithub.com/scala/scala/pull/10068)) - Tasty Reader: Restrict access to experimental definitions ([#10020](https://togithub.com/scala/scala/pull/10020)) - To aid cross-building, accept and ignore `using` in method calls ([#10064](https://togithub.com/scala/scala/pull/10064) by [@som-snytt](https://togithub.com/som-snytt)) - To aid cross-building, allow `?` as a wildcard even without `-Xsource:3` ([#9990](https://togithub.com/scala/scala/pull/9990)) - Make Scala-3-style implicit resolution explicitly opt-in rather than bundled in `-Xsource:3` ([#10012](https://togithub.com/scala/scala/pull/10012) by [@povder](https://togithub.com/povder)) - Prefer type of overridden member when inferring (under `-Xsource:3`) ([#9891](https://togithub.com/scala/scala/pull/9891) by [@som-snytt](https://togithub.com/som-snytt)) ##### JDK version support - Make `-release` more useful, deprecate `-target`, align with Scala 3 ([#9982](https://togithub.com/scala/scala/pull/9982) by [@som-snytt](https://togithub.com/som-snytt)) - Support JDK 19 ([#10001](https://togithub.com/scala/scala/pull/10001) by [@Philippus](https://togithub.com/Philippus)) ##### Warnings and lints - Add `-Wnonunit-statement` to warn about discarded values in statement position ([#9893](https://togithub.com/scala/scala/pull/9893) by [@som-snytt](https://togithub.com/som-snytt)) - Make unused-import warnings easier to silence (support filtering by `origin=`) ([#9939](https://togithub.com/scala/scala/pull/9939) by [@som-snytt](https://togithub.com/som-snytt)) - Add `-Wperformance` lints for `*Ref` boxing and nonlocal `return` ([#9889](https://togithub.com/scala/scala/pull/9889) by [@som-snytt](https://togithub.com/som-snytt)) ##### Language improvements - Improve support for Unicode supplementary characters in identifiers and string interpolation ([#9805](https://togithub.com/scala/scala/pull/9805) by [@som-snytt](https://togithub.com/som-snytt)) ##### Compiler options - Use subcolon args to simplify optimizer options ([#9810](https://togithub.com/scala/scala/pull/9810) by [@som-snytt](https://togithub.com/som-snytt)) - For troubleshooting compiler, add `-Vdebug-type-error` (and remove `-Yissue-debug`) ([#9824](https://togithub.com/scala/scala/pull/9824) by [@tribbloid](https://togithub.com/tribbloid)) ##### Security - Error on source files with Unicode directional formatting characters ([#10017](https://togithub.com/scala/scala/pull/10017)) - Prevent `Function0` execution during `LazyList` deserialization ([#10118](https://togithub.com/scala/scala/pull/10118)) ##### Bugfixes - Emit all bridge methods non-final (perhaps affecting serialization compat) ([#9976](https://togithub.com/scala/scala/pull/9976)) - Fix null-pointer regression in `Vector#prependedAll` and `Vector#appendedAll` ([#9983](https://togithub.com/scala/scala/pull/9983)) - Improve concurrent behavior of Java `ConcurrentMap` wrapper ([#10027](https://togithub.com/scala/scala/pull/10027) by [@igabaydulin](https://togithub.com/igabaydulin)) - Preserve null policy in wrapped Java `Map`s ([#10129](https://togithub.com/scala/scala/pull/10129) by [@som-snytt](https://togithub.com/som-snytt)) Changes that shipped in Scala 2.12.16 and 2.12.17 are also included in this release. For the complete 2.13.9 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.9) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.9). #### Compatibility As usual for our minor releases, Scala 2.13.9 is [binary-compatible](https://docs.scala-lang.org/overviews/core/binary-compatibility-of-scala-releases.html) 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 an especially large share of the improvements in this release. This release was brought to you by 27 contributors, according to `git shortlog -sn --no-merges @ ^v2.13.8 ^2.12.x`. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Jamie Thompson, Sébastien Doeraene, Scala Steward, Georgi Krastev, Jason Zaugg, Philippus, Balys Anikevicius, Gilad Hoch, NthPortal, Zhang Zhipeng, Arman Bilge, Dale Wijnand, Dominik Helm, Eric Huang, Guillaume Martres, Harrison Houghton, Krzysztof Pado, Michał Pałka, Zeeshan Arif, counter2015, jxnu-liguobin, mcallisto, naveen, philwalk. Thanks to [Lightbend](https://www.lightbend.com/scala) for their continued sponsorship of the Scala core team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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-based project - Download a distribution from [scala-lang.org](https://scala-lang.org/download/2.13.9.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.9) ### [`v2.13.8`](https://togithub.com/scala/scala/releases/tag/v2.13.8): Scala 2.13.8 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.7...v2.13.8) The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.8. This is a modest, incremental release focused on addressing regressions in 2.13.7. ##### Highlights - Make REPL work again on Mac M1 (upgrade JLine & JNA) ([#9807](https://togithub.com/scala/scala/pull/9807) by [@SethTisue](https://togithub.com/SethTisue)) - Fix slicing of views of `IndexedSeq`s (including fixing 2.13.7 `reverseIterator` regression) ([#9799](https://togithub.com/scala/scala/pull/9799) by [@som-snytt](https://togithub.com/som-snytt)) - Fix 2.13.7 regression in implicit resolution ([#9829](https://togithub.com/scala/scala/pull/9829) by [@joroKr21](https://togithub.com/joroKr21)) - Fix 2.13.7 `releaseFence` regression affecting GraalVM compatibility ([#9825](https://togithub.com/scala/scala/pull/9825) by [@lrytz](https://togithub.com/lrytz)) - Fix 2.13.7 regression affecting wildcards and F-bounded types ([#9806](https://togithub.com/scala/scala/pull/9806) by [@joroKr21](https://togithub.com/joroKr21)) A few small changes that will ship in 2.12.16 are also included in this release. For the complete 2.13.8 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.8) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.8). #### Compatibility As usual for our minor releases, Scala 2.13.8 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 8 contributors, according to `git shortlog -sn --no-merges @ ^v2.13.7 ^2.12.x`. Thank you A. P. Marki, Seth Tisue, Georgi Krastev, Jason Zaugg, Lukas Rytz, Martijn Hoekstra, Philippus Baalman, Chris Kipp. Thanks to [Lightbend](https://www.lightbend.com/scala) for their continued sponsorship of the Scala core team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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-based project - Download a distribution from [scala-lang.org](https://scala-lang.org/download/2.13.8.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.8) ### [`v2.13.7`](https://togithub.com/scala/scala/releases/tag/v2.13.7): Scala 2.13.7 [Compare Source](https://togithub.com/scala/scala/compare/v2.13.6...v2.13.7) The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.7. ##### Align with Scala 3 - Update TASTy reader to support Scala 3.1 ([#9791](https://togithub.com/scala/scala/pull/9791) by [@bishabosha](https://togithub.com/bishabosha)) - Allow `import x.{*, given}` under `-Xsource:3` ([#9724](https://togithub.com/scala/scala/pull/9724) by [@smarter](https://togithub.com/smarter)) - Allow `case` in pattern bindings even without `-Xsource:3` ([#9721](https://togithub.com/scala/scala/pull/9721) by [@smarter](https://togithub.com/smarter)) - Deprecate top-level wildcard type parameters ([#9712](https://togithub.com/scala/scala/pull/9712) by [@som-snytt](https://togithub.com/som-snytt)) ##### JDK and Java compatibility - Support JDK 18 ([#9702](https://togithub.com/scala/scala/pull/9702) by [@SethTisue](https://togithub.com/SethTisue)) - Support JDK 16 records in Java sources ([#9551](https://togithub.com/scala/scala/pull/9551) by [@harpocrates](https://togithub.com/harpocrates)) - Allow concrete private interface methods in Java sources ([#9748](https://togithub.com/scala/scala/pull/9748) by [@dengziming](https://togithub.com/dengziming)) - Use `StringConcatFactory` for string concatenation on JDK 9+ ([#9556](https://togithub.com/scala/scala/pull/9556) by [@harpocrates](https://togithub.com/harpocrates)) ##### Android compatibility - Add `ClassValueCompat` to support systems without `java.lang.ClassValue` (such as Android) ([#9752](https://togithub.com/scala/scala/pull/9752) by [@nwk37011](https://togithub.com/nwk37011)) - For Android compatibility, make `Statics.releaseFence()` also catch `NoSuchMethodException` for `java.lang.invoke.VarHandle.releaseFence()` call ([#9739](https://togithub.com/scala/scala/pull/9739) by [@nwk37011](https://togithub.com/nwk37011)) ##### Concurrency - Fix asymmetric failure behavior of `Future#{zip,zipWith,traverse,sequence}` by making them fail fast regardless of ordering ([#9655](https://togithub.com/scala/scala/pull/9655) by [@lihaoyi](https://togithub.com/lihaoyi)) ##### Collections - Make `ArrayBuffer`'s iterator fail fast when buffer is mutated ([#9258](https://togithub.com/scala/scala/pull/9258) by [@NthPortal](https://togithub.com/NthPortal)) - Fix `ArrayOps` bugs (by avoiding `ArraySeq#array`, which does not guarantee element type) ([#9641](https://togithub.com/scala/scala/pull/9641) by [@som-snytt](https://togithub.com/som-snytt)) - Deprecate `IterableOps.toIterable` ([#9774](https://togithub.com/scala/scala/pull/9774) by [@lrytz](https://togithub.com/lrytz)) ##### Other changes - Accept supplementary Unicode characters in identifiers ([#9687](https://togithub.com/scala/scala/pull/9687) by [@som-snytt](https://togithub.com/som-snytt)) - Improve tab completion and code assist in REPL ([#9656](https://togithub.com/scala/scala/pull/9656) by [@retronym](https://togithub.com/retronym)) Some small changes that will ship in 2.12.16 are also included in this release. For the complete 2.13.7 change lists, see [all merged PRs](https://togithub.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.7) and [all closed bugs](https://togithub.com/scala/bug/issues?utf8=%E2%9C%93\&q=is%3Aclosed+milestone%3A2.13.7). #### Compatibility As usual for our minor releases, Scala 2.13.7 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 25 contributors, according to `git shortlog -sn --no-merges @ ^v2.13.6 ^2.12.x`. Thank you A. P. Marki, Lukas Rytz, Seth Tisue, Jason Zaugg, Jamie Thompson, NthPortal, Georgi Krastev, Guillaume Martres, Dale Wijnand, Martijn Hoekstra, Alec Theriault, Rafał Sumisławski, Matt Dziuban, Li Haoyi, Doug Roper, Sébastien Doeraene, VladKopanev, danicheg, dengziming, megri, nwk37011, Magnolia.K, 梦境迷离, Mathias, James Judd. Thanks to [Lightbend](https://www.lightbend.com/scala) for their continued sponsorship of the Scala core team’s efforts. Lightbend offers [commercial support](https://www.lightbend.com/lightbend-platform-subscription) for Scala. #### Scala 2.13 notes The [release notes for Scala 2.13.0](https://togithub.com/scala/scala/releases/v2.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-based project - Download a distribution from [scala-lang.org](https://scala-lang.org/download/2.13.7.html) - Obtain JARs via [Maven Central](https://search.maven.org/search?q=g:org.scala-lang%20AND%20v:2.13.7)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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.