From f4d934df48aa9ee9fe61df565d777153c0fef75c Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 19 Apr 2024 08:33:01 -0700 Subject: [PATCH 1/3] draft Scala 2.13.14 release notes --- releases/2.13.14.md | 54 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 releases/2.13.14.md diff --git a/releases/2.13.14.md b/releases/2.13.14.md new file mode 100644 index 0000000000..5bc41a4735 --- /dev/null +++ b/releases/2.13.14.md @@ -0,0 +1,54 @@ +# Scala 2.13.14 (DRAFT) + +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://github.com/scala/scala/pull/10709) by [@som-snytt](https://github.com/som-snytt)) + +### Regression fixes + +* Rename `-Xlint:named-booleans` to `-Wunnamed-boolean-literal` (and no longer include it in `-Xlint`) ([#10704](https://github.com/scala/scala/pull/10704) by [@som-snytt](https://github.com/som-snytt)) +* Fix `ArrayBuilder` regression in Scala 2.13.13 (`OutOfMemoryError` when adding empty arrays) ([#10722](https://github.com/scala/scala/pull/10722) by [@som-snytt](https://github.com/som-snytt)) +* Fix 2.13.13 regression in Scaladoc compilation when using Scala 3 definitions ([#10700](https://github.com/scala/scala/pull/10700) by [@bishabosha](https://github.com/bishabosha)) + +### Other improvements + +* Unused warnings: for macros, by default, look for usages in expansion ([#10693](https://github.com/scala/scala/pull/10693) by [@som-snytt](https://github.com/som-snytt)) +* REPL: Upgrade to JLine 3.25.1 (was 3.24.1) ([#10717](https://github.com/scala/scala/pull/10717)) +* Remove `SHELLOPTS=vi` and `-Xjline support`; reinstate `-Xnojline` ([#10716](https://github.com/scala/scala/pull/10716) by [@hvesalai](https://github.com/hvesalai)) + +### More changes + +For the complete 2.13.14 change lists, see [all merged PRs](https://github.com/scala/scala/pulls?q=is%3Amerged%20milestone%3A2.13.14) and [all closed bugs](https://github.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://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 `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) From 5714abc89343c032233b93d28ad378c1223340c8 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 19 Apr 2024 22:59:10 -0700 Subject: [PATCH 2/3] tweak in response to review feedback --- releases/2.13.14.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/2.13.14.md b/releases/2.13.14.md index 5bc41a4735..0f9c14c22e 100644 --- a/releases/2.13.14.md +++ b/releases/2.13.14.md @@ -6,7 +6,7 @@ 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://github.com/scala/scala/pull/10709) by [@som-snytt](https://github.com/som-snytt)) +* Introduce `-Xsource-features`, for customizing the behavior of `-Xsource:3` and `-Xsource:3-cross` ([#10709](https://github.com/scala/scala/pull/10709)) ### Regression fixes From 2430097c2d7da04d51d232f99673c2195b619074 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Mon, 22 Apr 2024 19:57:26 -0700 Subject: [PATCH 3/3] add doc link, as Lukas suggests --- releases/2.13.14.md | 1 + 1 file changed, 1 insertion(+) diff --git a/releases/2.13.14.md b/releases/2.13.14.md index 0f9c14c22e..bc5707b249 100644 --- a/releases/2.13.14.md +++ b/releases/2.13.14.md @@ -7,6 +7,7 @@ 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://github.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