Skip to content

Commit 8be73da

Browse files
authored
Scala 2.13.18 (#3235)
1 parent 538f33e commit 8be73da

File tree

7 files changed

+17
-13
lines changed

7 files changed

+17
-13
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ keywords:
1515
- Document
1616
- Guide
1717

18-
scala-version: 2.13.17
18+
scala-version: 2.13.18
1919
scala-212-version: 2.12.20
2020
scala-3-version: 3.7.4
2121

_overviews/FAQ/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,14 +362,14 @@ setting in a multi-project build.
362362

363363
For example, if you add this to your `build.sbt`:
364364

365-
scalaVersion := "2.13.17"
365+
scalaVersion := "2.13.18"
366366

367367
that's a "bare" setting, and you might expect it to apply build-wide.
368368
But it doesn't. _It only applies to the root project._
369369

370370
In many cases one should instead write:
371371

372-
ThisBuild / scalaVersion := "2.13.17"
372+
ThisBuild / scalaVersion := "2.13.18"
373373

374374
Other possibilities include:
375375

_overviews/contribute/bug-reporting-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ If you cannot find your issue in the issue tracker, create a new bug. The detail
6565

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

68-
1. **Exact Scala version** that you are using. For example, `2.13.17` or `3.3.4`. If the bug happens in multiple versions indicate all of them.
68+
1. **Exact Scala version** that you are using. For example, `2.13.18` or `3.3.4`. If the bug happens in multiple versions indicate all of them.
6969
2. **The component** that is affected by the bug. For example, the Standard Library, Scaladoc, etc.
7070
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.
7171
4. **Running environment**. Are you running on Linux? Windows? What JVM version are you using?

_overviews/core/binary-compatibility-of-scala-releases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ We distinguish forward and backward compatibility (think of these as properties
2020
Thus, backward compatibility precludes the removal of (non-private) methods, as older versions could call them, not knowing they would be removed, whereas forward compatibility disallows adding new (non-private) methods, because newer programs may come to depend on them, which would prevent them from running on older versions (private methods are exempted here as well, as their definition and call sites must be in the same source file).
2121

2222
#### Guarantees and Versioning
23-
For Scala 2, the *minor* version is the *third* number in a version, e.g., 17 in v2.13.17.
23+
For Scala 2, the *minor* version is the *third* number in a version, e.g., 18 in v2.13.18.
2424
The major version is the second number, which is 13 in our example.
2525

26-
Scala 2 up to 2.13.17 guarantees both backward and forward compatibility across *minor* releases within a single major release.
26+
Scala 2 up to 2.13.18 guarantees both backward and forward compatibility across *minor* releases within a single major release.
2727
This is about to change now that [SIP-51 has been accepted](https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html), future Scala 2.13 releases may be backward compatible only.
2828

2929
For Scala 3, the minor version is the *second* number in a version, e.g., 2 in v3.2.1.

_overviews/scala3-migration/tooling-scala2-xsource3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class C(x: Int) {
125125

126126
### Changes affecting binary encoding
127127

128-
As of Scala 2.13.17, there are 3 changes in `-Xsource-features` that affect binary encoding of classfiles:
128+
As of Scala 2.13.18, there are 3 changes in `-Xsource-features` that affect binary encoding of classfiles:
129129

130130
1. `case-apply-copy-access`: the constructor modifiers of case classes (`case class C private[p] (x: Int)`) are copied to the synthetic `apply` and `copy` methods.
131131
1. `case-companion-function`: the synthetic companion objects of case classes no longer extend `FunctionN`.

api/all.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ redirect_from:
1212
* [Library API](https://www.scala-lang.org/api/{{site.scala-3-version}}/)
1313
* Scala 3.3.7 LTS
1414
* [Library API](https://www.scala-lang.org/api/3.3.7/)
15-
* Scala 2.13.17
16-
* [Library API](https://www.scala-lang.org/api/2.13.17/)
17-
* [Compiler API](https://www.scala-lang.org/api/2.13.17/scala-compiler/scala/)
18-
* [Reflection API](https://www.scala-lang.org/api/2.13.17/scala-reflect/scala/reflect/)
15+
* Scala 2.13.18
16+
* [Library API](https://www.scala-lang.org/api/2.13.18/)
17+
* [Compiler API](https://www.scala-lang.org/api/2.13.18/scala-compiler/scala/)
18+
* [Reflection API](https://www.scala-lang.org/api/2.13.18/scala-reflect/scala/reflect/)
1919
* Scala 2.12.20
2020
* [Library API](https://www.scala-lang.org/api/2.12.20/)
2121
* [Compiler API](https://www.scala-lang.org/api/2.12.20/scala-compiler/scala/)
@@ -124,6 +124,10 @@ https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/
124124
* [Library API](https://www.scala-lang.org/api/3.0.1/)
125125
* Scala 3.0.0
126126
* [Library API](https://www.scala-lang.org/api/3.0.0/)
127+
* Scala 2.13.17
128+
* [Library API](https://www.scala-lang.org/api/2.13.17/)
129+
* [Compiler API](https://www.scala-lang.org/api/2.13.17/scala-compiler/scala/)
130+
* [Reflection API](https://www.scala-lang.org/api/2.13.17/scala-reflect/scala/reflect/)
127131
* Scala 2.13.16
128132
* [Library API](https://www.scala-lang.org/api/2.13.16/)
129133
* [Compiler API](https://www.scala-lang.org/api/2.13.16/scala-compiler/scala/)

scripts/run-mdoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22
set -eux
33

4-
cs launch --scala-version 2.13.17 org.scalameta::mdoc:2.3.3 -- \
4+
cs launch --scala-version 2.13.18 org.scalameta::mdoc:2.3.3 -- \
55
--in . \
66
--out /tmp/mdoc-out/ \
77
--classpath \
8-
$(cs fetch --scala-version 2.13.17 -p \
8+
$(cs fetch --scala-version 2.13.18 -p \
99
com.chuusai::shapeless:2.3.10 \
1010
org.scala-lang::toolkit:0.7.0 \
1111
org.scala-lang::toolkit-test:0.7.0 \

0 commit comments

Comments
 (0)