Skip to content

Scala 2.13.12 #2897

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords:
- Document
- Guide

scala-version: 2.13.11
scala-version: 2.13.12
scala-212-version: 2.12.18
scala-3-version: 3.3.1

Expand Down
10 changes: 7 additions & 3 deletions _overviews/FAQ/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,18 @@ with only minor supplements. That's why `versionString` and
`versionNumberString` report that Scala 2 is in use:

```
Welcome to Scala 3.2.0 (17.0.3, Java OpenJDK 64-Bit Server VM).
Welcome to Scala 3.3.1 (17.0.3, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.

scala> util.Properties.versionNumberString
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a line below this one saying val res0: String = 2.13.11.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good eye! But I didn't change it because that's what 3.3.0 actually reports, since 3.3.0 predates 2.13.12. Probably the upgrade will land in 3.3.2 and then we can bump it.

I'll add a little note about it, since this is far from obvious.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, actually the number is too high, not too low! Both 3.3.0 and 3.3.1 use 2.13.10 😢

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, ok. TIL. :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I'm pursuing it over at scala/scala3#18525

val res0: String = 2.13.11
val res0: String = 2.13.10
```

Note that Scala 3 offers
Note that even the latest Scala 3 version might not use the very
latest Scala 2 standard library, since the 3 and 2 release schedules
aren't coordinated.

So how do you ask for the Scala 3 version number? Scala 3 offers
`dotty.tools.dotc.config.Properties.versionNumberString`, but only if
you have scala3-compiler on the classpath. So that works in the Scala 3
REPL, but won't work in typical Scala 3 application code.
Expand Down
2 changes: 1 addition & 1 deletion _overviews/contribute/bug-reporting-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you cannot find your issue in the issue tracker, create a new bug. The detail

Please make sure to fill in as many fields as possible. Make sure you've indicated the following:

1. **Exact Scala version** that you are using. For example, `2.13.11` or `3.3.0`. If the bug happens in multiple versions indicate all of them.
1. **Exact Scala version** that you are using. For example, `2.13.12` or `3.3.0`. If the bug happens in multiple versions indicate all of them.
2. **The component** that is affected by the bug. For example, the Standard Library, Scaladoc, etc.
3. **Labels** related to your issue. For example, if you think your issue is related to the typechecker, and if you have successfully minimized your issue, label your bug as "typechecker" and "minimized". Issue tracker will suggest names for existing labels as you type them so try not to create duplicates.
4. **Running environment**. Are you running on Linux? Windows? What JVM version are you using?
Expand Down
2 changes: 1 addition & 1 deletion _overviews/contributors/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ If you have written a library, you probably want it to be usable from several Sc
Define the versions you want to support in the `crossScalaVersions` setting, in your `build.sbt` file:

~~~ scala
crossScalaVersions := Seq("3.3.0", "2.13.11", "2.12.18")
crossScalaVersions := Seq("3.3.0", "2.13.12", "2.12.18")
scalaVersion := crossScalaVersions.value.head
~~~

Expand Down
12 changes: 8 additions & 4 deletions api/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ redirect_from:

* Scala 3.3.1 LTS
* [Library API](https://www.scala-lang.org/api/3.3.1/)
* Scala 2.13.11
* [Library API](https://www.scala-lang.org/api/2.13.11/)
* [Compiler API](https://www.scala-lang.org/api/2.13.11/scala-compiler/scala/)
* [Reflection API](https://www.scala-lang.org/api/2.13.11/scala-reflect/scala/reflect/)
* Scala 2.13.12
* [Library API](https://www.scala-lang.org/api/2.13.12/)
* [Compiler API](https://www.scala-lang.org/api/2.13.12/scala-compiler/scala/)
* [Reflection API](https://www.scala-lang.org/api/2.13.12/scala-reflect/scala/reflect/)
* Scala 2.12.18
* [Library API](https://www.scala-lang.org/api/2.12.18/)
* [Compiler API](https://www.scala-lang.org/api/2.12.18/scala-compiler/scala/)
Expand Down Expand Up @@ -84,6 +84,10 @@ https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/
* [Library API](https://www.scala-lang.org/api/3.0.1/)
* Scala 3.0.0
* [Library API](https://www.scala-lang.org/api/3.0.0/)
* Scala 2.13.11
* [Library API](https://www.scala-lang.org/api/2.13.11/)
* [Compiler API](https://www.scala-lang.org/api/2.13.11/scala-compiler/scala/)
* [Reflection API](https://www.scala-lang.org/api/2.13.11/scala-reflect/scala/reflect/)
* Scala 2.13.10
* [Library API](https://www.scala-lang.org/api/2.13.10/)
* [Compiler API](https://www.scala-lang.org/api/2.13.10/scala-compiler/scala/)
Expand Down
4 changes: 2 additions & 2 deletions scripts/run-mdoc.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
set -eux

cs launch --scala-version 2.13.11 org.scalameta::mdoc:2.3.3 -- \
cs launch --scala-version 2.13.12 org.scalameta::mdoc:2.3.3 -- \
--in . \
--out /tmp/mdoc-out/ \
--classpath \
$(cs fetch --scala-version 2.13.11 -p \
$(cs fetch --scala-version 2.13.12 -p \
com.chuusai::shapeless:2.3.10 \
org.scala-lang::toolkit:0.1.7 \
org.scala-lang::toolkit-test:0.1.7 \
Expand Down