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 diff --git a/releases/2.13.7.md b/releases/2.13.7.md new file mode 100644 index 0000000000..e3511115fc --- /dev/null +++ b/releases/2.13.7.md @@ -0,0 +1,66 @@ +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://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)) + +### JDK and Java compatibility + +* 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. + +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 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://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](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)