From d2c6cb8a05d182c4b455a0d9033fd5ba454a0d4f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 28 Oct 2021 16:48:32 -0700 Subject: [PATCH 1/6] Scala 2.13.7 release notes --- releases/2.13.7.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 releases/2.13.7.md diff --git a/releases/2.13.7.md b/releases/2.13.7.md new file mode 100644 index 0000000000..cad278f1a6 --- /dev/null +++ b/releases/2.13.7.md @@ -0,0 +1,39 @@ +The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.7. + +### Highlights + +* TODO + +### Other Changes + +* TODO + +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://github.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.7) and [all closed bugs](https://github.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 ??? contributors, according to `git shortlog -sn --no-merges @ ^v2.13.6 ^2.12.x`. Thank you TODO. + +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://github.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](http://scala-lang.org/download/2.13.6.html) +* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.13.6%22) From 2d1e4ac631d0d393507b728cda0b4eeb7ffd9c7e Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 28 Oct 2021 17:21:53 -0700 Subject: [PATCH 2/6] wip --- releases/2.13.7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/2.13.7.md b/releases/2.13.7.md index cad278f1a6..0a24a16662 100644 --- a/releases/2.13.7.md +++ b/releases/2.13.7.md @@ -22,7 +22,7 @@ Upgrading from 2.12? Enable `-Xmigration` while upgrading to request migration a 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 ??? contributors, according to `git shortlog -sn --no-merges @ ^v2.13.6 ^2.12.x`. Thank you TODO. +This release was brought to you by 25 contributors, according to `git shortlog -sn --no-merges @ ^v2.13.6 ^2.12.x`. Thank you Lukas Rytz, A. P. Marki, 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. From c05e7013fa94e06f1c6ab63374a7779ac0befc50 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Thu, 28 Oct 2021 17:29:39 -0700 Subject: [PATCH 3/6] wip --- releases/2.13.7.md | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/releases/2.13.7.md b/releases/2.13.7.md index 0a24a16662..8c4fcd2f92 100644 --- a/releases/2.13.7.md +++ b/releases/2.13.7.md @@ -1,12 +1,39 @@ The Scala team at Lightbend is pleased to announce the availability of Scala 2.13.7. -### Highlights +### Align with Scala 3 -* TODO +* Update TASTy reader to support Scala 3.1 ([#9791](https://github.com/scala/scala/pull/9791) by [@bishabosha](https://github.com/bishabosha)) +* Allow `import x.{*, given}` under `-Xsource:3` ([#9724](https://github.com/scala/scala/pull/9724) by [@smarter](https://github.com/smarter)) +* Allow `case` in pattern bindings even without `-Xsource:3` ([#9721](https://github.com/scala/scala/pull/9721) by [@smarter](https://github.com/smarter)) +* Deprecate top-level wildcard type parameters ([#9712](https://github.com/scala/scala/pull/9712) by [@som-snytt](https://github.com/som-snytt)) -### Other Changes +### JDK and Java compatibility -* TODO +* Support JDK 18 ([#9702](https://github.com/scala/scala/pull/9702) by [@SethTisue](https://github.com/SethTisue)) +* Support JDK 16 records in Java sources ([#9551](https://github.com/scala/scala/pull/9551) by [@harpocrates](https://github.com/harpocrates)) +* Allow concrete private interface methods in Java sources ([#9748](https://github.com/scala/scala/pull/9748) by [@dengziming](https://github.com/dengziming)) +* Use `StringConcatFactory` for string concatenation on JDK 9+ ([#9556](https://github.com/scala/scala/pull/9556) by [@harpocrates](https://github.com/harpocrates)) + +### Android compatibility + +* Add `ClassValueCompat` to support systems without `java.lang.ClassValue` (such as Android) ([#9752](https://github.com/scala/scala/pull/9752) by [@nwk37011](https://github.com/nwk37011)) + * For Android compatibility, make `Statics.releaseFence()` also catch `NoSuchMethodException` for `java.lang.invoke.VarHandle.releaseFence()` call ([#9739](https://github.com/scala/scala/pull/9739) by [@nwk37011](https://github.com/nwk37011)) + +### Concurrency + +* Fix asymmetric failure behavior of `Future#{zip,zipWith,traverse,sequence}` by making them fail fast regardless of ordering ([#9655](https://github.com/scala/scala/pull/9655) by [@lihaoyi](https://github.com/lihaoyi)) + +### Collections + +* Make `ArrayBuffer`'s iterator fail fast when buffer is mutated ([#9258](https://github.com/scala/scala/pull/9258) by [@NthPortal](https://github.com/NthPortal)) +* Fix `ArrayOps` bugs (by avoiding `ArraySeq#array`, which does not guarantee element type) ([#9641](https://github.com/scala/scala/pull/9641) by [@som-snytt](https://github.com/som-snytt)) +* Deprecate `IterableOps.toIterable` ([#9774](https://github.com/scala/scala/pull/9774) by [@lrytz](https://github.com/lrytz)) + +### Other changes + +* Accept supplementary Unicode characters in identifiers ([#9687](https://github.com/scala/scala/pull/9687) by [@som-snytt](https://github.com/som-snytt)) +* Add `-Vimplicits-max-modules` to control how types are printed in `-Vimplicits` messages ([#9767](https://github.com/scala/scala/pull/9767) by [@mrdziuban](https://github.com/mrdziuban)) +* Improve tab completion and code assist in REPL ([#9656](https://github.com/scala/scala/pull/9656) by [@retronym](https://github.com/retronym)) Some small changes that will ship in 2.12.16 are also included in this release. @@ -22,7 +49,7 @@ Upgrading from 2.12? Enable `-Xmigration` while upgrading to request migration a 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 Lukas Rytz, A. P. Marki, 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. +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. From 9f2e1357505361ecf9e2c9d8647ab084e402402f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 29 Oct 2021 07:13:53 -0700 Subject: [PATCH 4/6] wip --- releases/2.13.7.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/2.13.7.md b/releases/2.13.7.md index 8c4fcd2f92..8e9773f4b1 100644 --- a/releases/2.13.7.md +++ b/releases/2.13.7.md @@ -62,5 +62,5 @@ The [release notes for Scala 2.13.0](https://github.com/scala/scala/releases/v2. 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](http://scala-lang.org/download/2.13.6.html) -* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.13.6%22) +* Download a distribution from [scala-lang.org](http://scala-lang.org/download/2.13.7.html) +* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.13.7%22) From a445d6a9f5ece63260df004818a8a2bd35c22eb0 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 29 Oct 2021 11:16:56 -0700 Subject: [PATCH 5/6] JDK 16->17 --- .github/ISSUE_TEMPLATE/release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/release.md b/.github/ISSUE_TEMPLATE/release.md index 44404f001e..1a86573a3a 100644 --- a/.github/ISSUE_TEMPLATE/release.md +++ b/.github/ISSUE_TEMPLATE/release.md @@ -46,7 +46,7 @@ Key links: - [ ] Community build - JDK 8: https://scala-ci.typesafe.com/job/scala-2.13.x-jdk8-integrate-community-build/???? - JDK 11: https://scala-ci.typesafe.com/job/scala-2.13.x-jdk11-integrate-community-build/???? - - JDK 17: https://scala-ci.typesafe.com/job/scala-2.13.x-jdk16-integrate-community-build/???? + - JDK 17: https://scala-ci.typesafe.com/job/scala-2.13.x-jdk17-integrate-community-build/???? - [ ] Windows build on GitHub Actions: https://github.com/scala/scala/runs/???????? - [ ] JDK 17 build on [Travis-CI (cron job)](https://app.travis-ci.com/github/scala/scala/builds): https://app.travis-ci.com/github/scala/scala/builds/???????? - [ ] Check any merged PRs accidentally assigned to the next milestone in this branch, and re-assign them to this milestone From 07a4813653acedae3f0bbe8f9ff5f0ad0f32a9f9 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Sun, 31 Oct 2021 07:10:11 -0700 Subject: [PATCH 6/6] Update releases/2.13.7.md Co-authored-by: kenji yoshida <6b656e6a69@gmail.com> --- releases/2.13.7.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/2.13.7.md b/releases/2.13.7.md index 8e9773f4b1..e3511115fc 100644 --- a/releases/2.13.7.md +++ b/releases/2.13.7.md @@ -62,5 +62,5 @@ The [release notes for Scala 2.13.0](https://github.com/scala/scala/releases/v2. 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](http://scala-lang.org/download/2.13.7.html) -* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.13.7%22) +* 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)