Skip to content

Commit c341c60

Browse files
committed
adress feedback, remove scala2/3 download pages
1 parent d189d6a commit c341c60

16 files changed

+143
-151
lines changed

_data/scala-releases.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
- category: current_version
2+
title: Current 3.1.x release
3+
version: 3.1.1
4+
release_date: February 1, 2022
5+
- category: current_version
6+
title: Current 2.13.x release
7+
version: 2.13.8
8+
release_date: January 12, 2022
9+
- category: maintenance_version
10+
title: Latest 2.12.x maintenance release
11+
version: 2.12.15
12+
release_date: September 14, 2021
13+
- category: "maintenance_version"
14+
title: "Last 2.11.x maintenance release"
15+
version: 2.11.12
16+
release_date: "November 9, 2017"
17+
- category: "maintenance_version"
18+
title: "Last 2.10.x maintenance release"
19+
version: 2.10.7
20+
release_date: "November 9, 2017"

_downloads/2019-08-05-2.12.9.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "August 05, 2019"
77
show_resources: "true"
88
permalink: /download/2.12.9.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.12.9.tgz", "https://downloads.lightbend.com/scala/2.12.9/scala-2.12.9.tgz", "Mac OS X, Unix, Cygwin", "19.69M"],
1213
["-main-windows", "scala-2.12.9.msi", "https://downloads.lightbend.com/scala/2.12.9/scala-2.12.9.msi", "Windows (msi installer)", "124.01M"],

_downloads/2019-09-10-2.12.10.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "September 10, 2019"
77
show_resources: "true"
88
permalink: /download/2.12.10.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.12.10.tgz", "https://downloads.lightbend.com/scala/2.12.10/scala-2.12.10.tgz", "Mac OS X, Unix, Cygwin", "19.71M"],
1213
["-main-windows", "scala-2.12.10.msi", "https://downloads.lightbend.com/scala/2.12.10/scala-2.12.10.msi", "Windows (msi installer)", "124M"],

_downloads/2020-03-16-2.12.11.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "March 16, 2020"
77
show_resources: "true"
88
permalink: /download/2.12.11.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.12.11.tgz", "https://downloads.lightbend.com/scala/2.12.11/scala-2.12.11.tgz", "Mac OS X, Unix, Cygwin", "19.83M"],
1213
["-main-windows", "scala-2.12.11.msi", "https://downloads.lightbend.com/scala/2.12.11/scala-2.12.11.msi", "Windows (msi installer)", "124.33M"],

_downloads/2020-07-13-2.12.12.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "July 13, 2020"
77
show_resources: "true"
88
permalink: /download/2.12.12.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.12.12.tgz", "https://downloads.lightbend.com/scala/2.12.12/scala-2.12.12.tgz", "Mac OS X, Unix, Cygwin", "19.87M"],
1213
["-main-windows", "scala-2.12.12.msi", "https://downloads.lightbend.com/scala/2.12.12/scala-2.12.12.msi", "Windows (msi installer)", "124.70M"],

_downloads/2021-01-12-2.12.13.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "January 12, 2021"
77
show_resources: "true"
88
permalink: /download/2.12.13.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.12.13.tgz", "https://downloads.lightbend.com/scala/2.12.13/scala-2.12.13.tgz", "Mac OS X, Unix, Cygwin", "20.03M"],
1213
["-main-windows", "scala-2.12.13.msi", "https://downloads.lightbend.com/scala/2.12.13/scala-2.12.13.msi", "Windows (msi installer)", "125.69M"],

_downloads/2021-02-22-2.13.5.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "February 22, 2021"
77
show_resources: "true"
88
permalink: /download/2.13.5.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.13.5.tgz", "https://downloads.lightbend.com/scala/2.13.5/scala-2.13.5.tgz", "Mac OS X, Unix, Cygwin", "21.98M"],
1213
["-main-windows", "scala-2.13.5.msi", "https://downloads.lightbend.com/scala/2.13.5/scala-2.13.5.msi", "Windows (msi installer)", "130.48M"],

_downloads/2021-05-28-2.12.14.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "May 28, 2021"
77
show_resources: "true"
88
permalink: /download/2.12.14.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.12.14.tgz", "https://downloads.lightbend.com/scala/2.12.14/scala-2.12.14.tgz", "Mac OS X, Unix, Cygwin", "20.11M"],
1213
["-main-windows", "scala-2.12.14.msi", "https://downloads.lightbend.com/scala/2.12.14/scala-2.12.14.msi", "Windows (msi installer)", "125.83M"],

_downloads/2021-09-14-2.12.15.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "September 14, 2021"
77
show_resources: "true"
88
permalink: /download/2.12.15.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.12.15.tgz", "https://downloads.lightbend.com/scala/2.12.15/scala-2.12.15.tgz", "Mac OS X, Unix, Cygwin", "20.11M"],
1213
["-main-windows", "scala-2.12.15.msi", "https://downloads.lightbend.com/scala/2.12.15/scala-2.12.15.msi", "Windows (msi installer)", "125.48M"],

_downloads/2021-11-01-2.13.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "November 01, 2021"
77
show_resources: "true"
88
permalink: /download/2.13.7.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.13.7.tgz", "https://downloads.lightbend.com/scala/2.13.7/scala-2.13.7.tgz", "Mac OS X, Unix, Cygwin", "22.64M"],
1213
["-main-windows", "scala-2.13.7.msi", "https://downloads.lightbend.com/scala/2.13.7/scala-2.13.7.msi", "Windows (msi installer)", "134.43M"],

_downloads/2022-01-12-2.13.8.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ release_date: "January 12, 2022"
77
show_resources: "true"
88
permalink: /download/2.13.8.html
99
requirements: "This Scala software distribution can be installed on any Unix-like or Windows system. It requires Java 8 or later, available <a href='https://www.java.com/'>here</a>."
10+
license: <a href="https://www.scala-lang.org/license/">Apache License, Version 2.0</a>
1011
resources: [
1112
["-main-unixsys", "scala-2.13.8.tgz", "https://downloads.lightbend.com/scala/2.13.8/scala-2.13.8.tgz", "Mac OS X, Unix, Cygwin", "22.65M"],
1213
["-main-windows", "scala-2.13.8.msi", "https://downloads.lightbend.com/scala/2.13.8/scala-2.13.8.msi", "Windows (msi installer)", "134.43M"],

_includes/download-resource-list.html

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,54 @@
1-
<div class="content-primary">
1+
<div class="text-step">
22

3-
<h3 id="other-releases">Other Releases</h3>
3+
<h3>Other resources</h3>
4+
5+
<p>You can find the installer download links for other operating systems, as well as documentation and source code
6+
archives for Scala {{page.release_version}} below.</p>
7+
8+
<table>
9+
<thead>
10+
<tr>
11+
<th style="text-align: left">Archive</th>
12+
<th style="text-align: left">System</th>
13+
{% unless page.dont_show_sizes %}
14+
<th style="text-align: left">Size</th>
15+
{% endunless %}
16+
</tr>
17+
</thead>
18+
19+
<tbody>
20+
{% for resource in page.resources %}
21+
<tr>
22+
<td style="text-align: left">
23+
<a id="#link{{ resource[0] }}" href="{{ resource[2] }}">
24+
{{ resource[1] }}
25+
</a>
26+
</td>
27+
<td style="text-align: left">{{ resource[3] }}</td>
28+
{% unless page.dont_show_sizes %}
29+
<td style="text-align: left">{{ resource[4] }}</td>
30+
{% endunless %}
31+
</tr>
32+
{% endfor %}
33+
</tbody>
34+
</table>
35+
36+
<h2 id="other-releases">Other Releases</h2>
437

538
<p>You can find the links to prior versions or the latest development version below.
639
To see a detailed list of changes for each version of Scala please refer to the <a href="{{ site.baseurl }}/download/changelog.html">changelog</a>.</p>
740

841
<p>Note that different major releases of Scala (e.g. Scala 2.11.x and Scala 2.12.x) are not binary compatible with each other.</p>
942

1043
<ul>
11-
{% for release in page.other_releases %}
12-
<li>{{ release[1] }}:
44+
{% for release in site.data.scala-releases %}
45+
<li>{{ release.title }}:
1346
<ul>
14-
<li><a href="/download/{{ release[2] }}.html">Scala {{ release[2] }}</a> - Released on {{ release[3] }}</li>
47+
<li><a href="/download/{{ release.version }}.html">Scala {{ release.version }}</a> - Released on {{ release.release_date }}</li>
1548
</ul></li>
1649
{% endfor %}
1750
<li><a href="https://scala-lang.org/files/archive/nightly/">Nightly builds</a></li>
1851
<li><a href="/download/changelog.html">Changelog</a></li>
19-
<li><a href="/download/all.html">All previous releases</a></li>
52+
<li><a href="/download/all.html">All Scala releases</a></li>
2053
</ul>
21-
22-
<h3>Other resources</h3>
23-
24-
<p>You can find the installer download links for other operating systems, as well as documentation and source code archives for Scala {{page.release_version}} below.</p>
25-
26-
<table>
27-
<thead><tr>
28-
<th style="text-align: left">Archive</th>
29-
<th style="text-align: left">System</th>
30-
{% unless page.dont_show_sizes %}
31-
<th style="text-align: left">Size</th>
32-
{% endunless %}
33-
</tr></thead>
34-
35-
<tbody>
36-
{% for resource in page.resources %}
37-
<tr>
38-
<td style="text-align: left">
39-
<a id="#link{{ resource[0] }}" href="{{ resource[2] }}">
40-
{{ resource[1] }}
41-
</a>
42-
</td>
43-
<td style="text-align: left">{{ resource[3] }}</td>
44-
{% unless page.dont_show_sizes %}
45-
<td style="text-align: left">{{ resource[4] }}</td>
46-
{% endunless %}
47-
</tr>
48-
{% endfor %}
49-
</tbody>
50-
</table>
5154
</div>

_includes/downloads-scala2.html

Lines changed: 44 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,49 @@
1-
<div class="install-steps">
2-
<h3>Release Notes</h3>
3-
For a summary of important changes, see the <a href="https://github.com/scala/scala/releases">GitHub release notes</a>.
4-
<br /><small>(Or consult our archive of <a href="{{ site.baseurl }}/blog/announcements/">older release
5-
notes</a>.)</small>
1+
<p>Are you looking for <a href="{{ site.baseurl }}/download/all.html">another release</a> of Scala?</p>
2+
<h3>Release Notes</h3>
3+
For a summary of important changes, see the <a href="https://github.com/scala/scala/releases">GitHub release notes</a>.
4+
<br/><small>(Or consult our archive of <a href="{{ site.baseurl }}/blog/announcements/">older release
5+
notes</a>.)</small>
66

7-
<div class="step arrow">
8-
<img src="/resources/img/download/arrow-asset.png" alt="">
9-
<div class="number-step"><i class="fa fa-check" aria-hidden="true"></i></div>
10-
<div class="text-step">
11-
<h2>Recommended Download</h2>
12-
<div class="download-options">
13-
<a href="https://docs.scala-lang.org/getting-started/index.html" class="btn-download" id="get-started-link">
14-
<i class="fa fa-download"></i>
15-
<span>Get Started With Scala</span>
16-
</a>
17-
</div>
18-
</div>
19-
</div>
20-
<div class="step other-ways-lead">
21-
<div class="number-step"><i class="fa fa-ellipsis-h" aria-hidden="true"></i></div>
22-
<div class="text-step">
23-
<h2>Other ways to download Scala</h2>
24-
<ul>
25-
<li>
26-
Using <a
27-
href="https://docs.scala-lang.org/getting-started/index.html#using-the-scala-installer-recommended-way">Coursier
28-
CLI</a>, run:<br>
29-
<code>cs install scala:{{ page.release_version }} && cs install scalac:{{ page.release_version }}</code>.
30-
</li>
31-
<li>
32-
<a id="download-binaries">Download the Scala binaries for <span id="users-os"></span></a>
33-
<br/><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the binaries?</a></span>
34-
</li>
35-
<li><a href="/documentation/getting-started-intellij-track/getting-started-with-scala-in-intellij.html">Download and use Scala</a><span> with </span><a href="https://www.jetbrains.com/idea">IntelliJ</a><span> and then </span><a href="/documentation/getting-started-intellij-track/building-a-scala-project-with-intellij-and-sbt.html">build a project</a><span>, then </span><a href="/documentation/getting-started-intellij-track/testing-scala-in-intellij-with-scalatest.html">test it.</a></li>
36-
<li>Using <a href="https://sdkman.io/">SDKMAN!</a>, you can easily <a href="https://sdkman.io/sdks#scala">install specific versions of Scala</a> on any platform with <code>sdk install scala {{ site.scalaversion }}</code></li>
37-
<li>On macOS you can also use <a href="https://brew.sh/">Homebrew</a> and existing <a href="https://formulae.brew.sh/formula/scala">Scala Formulae</a><br/><code>brew update</code><br/><code>brew install scala</code></li>
38-
<li>With <a href="https://www.macports.org/">MacPorts</a>, you can get Scala using <code>sudo port install scala2.x</code>command.<br/> For example to install Scala 2.12 simply use<code>sudo port install scala2.12</code></li>
39-
<li>Use <a href="https://scastie.scala-lang.org">Scastie</a> to run single-file Scala programs in your browser using multiple Scala compilers; the production Scala 2.x compilers, Scala.js, Dotty, and Typelevel Scala. Save and share executable Scala code snippets.</li>
40-
<li>Try Scala in the browser via <a href="https://scalafiddle.io/">ScalaFiddle</a>. This lets you run single-file Scala programs in your browser using Scala.js, including graphical/interactive examples such as <a href="https://scalafiddle.io/sf/KOsXSKv/0">Oscilloscope</a> or <a href="https://scalafiddle.io/sf/4beVrVc/1">Ray Tracer</a></li>
41-
<li><a href="https://ammonite.io/">Get Ammonite</a>, a popular Scala REPL</li>
42-
</ul>
43-
<p>Or are you looking for <a href="{{ site.baseurl }}/download/all.html">previous releases</a> of Scala?</p>
44-
</div>
7+
<div class="install-steps">
8+
<div class="text-step">
9+
<h2>Ways to Install This Release</h2>
10+
<ul>
11+
<li>
12+
Using <a
13+
href="https://docs.scala-lang.org/getting-started/index.html#using-the-scala-installer-recommended-way">Coursier
14+
CLI</a>, run:<br>
15+
<code>cs install scala:{{ page.release_version }} && cs install scalac:{{ page.release_version }}</code>.
16+
</li>
17+
<li>
18+
<a id="download-binaries">Download the Scala binaries for <span id="users-os"></span></a>
19+
<br /><span class="install"><a href="{{ site.baseurl }}/download/install.html">Need help running the
20+
binaries?</a></span>
21+
</li>
22+
<li><a href="/documentation/getting-started-intellij-track/getting-started-with-scala-in-intellij.html">Download and
23+
use Scala</a><span> with </span><a href="https://www.jetbrains.com/idea">IntelliJ</a><span> and then </span><a
24+
href="/documentation/getting-started-intellij-track/building-a-scala-project-with-intellij-and-sbt.html">build a
25+
project</a><span>, then </span><a
26+
href="/documentation/getting-started-intellij-track/testing-scala-in-intellij-with-scalatest.html">test it.</a>
27+
</li>
28+
<li>Using <a href="https://sdkman.io/">SDKMAN!</a>, you can easily <a href="https://sdkman.io/sdks#scala">install
29+
specific versions of Scala</a> on any platform with <code>sdk install scala {{ site.scalaversion }}</code></li>
30+
<li>On macOS you can also use <a href="https://brew.sh/">Homebrew</a> and existing <a
31+
href="https://formulae.brew.sh/formula/scala">Scala
32+
Formulae</a><br /><code>brew update</code><br /><code>brew install scala</code></li>
33+
<li>With <a href="https://www.macports.org/">MacPorts</a>, you can get Scala using
34+
<code>sudo port install scala2.x</code>command.<br /> For example to install Scala 2.12 simply
35+
use<code>sudo port install scala2.12</code></li>
36+
<li>Use <a href="https://scastie.scala-lang.org">Scastie</a> to run single-file Scala programs in your browser using
37+
multiple Scala compilers; the production Scala 2.x compilers, Scala.js, Dotty, and Typelevel Scala. Save and share
38+
executable Scala code snippets.</li>
39+
<li>Try Scala in the browser via <a href="https://scalafiddle.io/">ScalaFiddle</a>. This lets you run single-file
40+
Scala programs in your browser using Scala.js, including graphical/interactive examples such as <a
41+
href="https://scalafiddle.io/sf/KOsXSKv/0">Oscilloscope</a> or <a href="https://scalafiddle.io/sf/4beVrVc/1">Ray
42+
Tracer</a></li>
43+
<li><a href="https://ammonite.io/">Get Ammonite</a>, a popular Scala REPL</li>
44+
</ul>
4545
</div>
46-
4746
{% include download-resource-list.html %}
4847
</div>
4948
<h3>License</h3>
50-
<p>The Scala distribution is released under the {{page.license}}.</p>
49+
<p>The Scala {{ page.release_version }} distribution is released under the {{page.license}}.</p>

0 commit comments

Comments
 (0)