Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 0334245

Browse files
committed
Updates for 2.12.4.
1 parent 2c155dd commit 0334245

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

README.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ which indicates the Typelevel feature level beyond the baseline compiler. We are
4545
Typelevel features across the Scala compiler versions we support.
4646

4747
The current Typelevel feature level is 4 and it is avaliable as a drop in replacement for Lightbend Scala 2.11.11,
48-
2.12.3 and 2.13.0-M2. Full release notes are available,
48+
2.12.4 and 2.13.0-M2. Full release notes are available,
4949

50-
+ Typelevel Scala 4 [2.11.11/2.12.3/2.13.0-M2](https://github.com/typelevel/scala/blob/typelevel-readme/notes/typelevel-4.md).
50+
+ Typelevel Scala 4 [2.11.11/2.12.4/2.13.0-M2](https://github.com/typelevel/scala/blob/typelevel-readme/notes/typelevel-4.md).
5151

5252
Support for Scala 2.10.6 will be considered if sponsors step forward to support the necessary work.
5353

@@ -77,10 +77,10 @@ relevant to practitioners.
7777

7878
## Try Typelevel Scala with an Ammonite instant REPL
7979

80-
The quickest way to get to a Typelevel Scala 2.12.3 REPL path is to run the provided
80+
The quickest way to get to a Typelevel Scala 2.12.4 REPL path is to run the provided
8181
["try Typelevel Scala"][try-tls] script, which has no dependencies other than an installed JDK. This script
8282
downloads and installs [coursier][coursier] and uses it to fetch the [Ammonite][ammonite] REPL and Typelevel Scala
83-
2.12.3. It then drops you immediately into a REPL session,
83+
2.12.4. It then drops you immediately into a REPL session,
8484

8585
```text
8686
% curl -s https://raw.githubusercontent.com/typelevel/scala/typelevel-readme/try-typelevel-scala.sh | bash
@@ -89,7 +89,7 @@ Compiling (synthetic)/ammonite/predef/interpBridge.sc
8989
Compiling (synthetic)/ammonite/predef/replBridge.sc
9090
Compiling (synthetic)/ammonite/predef/DefaultPredef.sc
9191
Welcome to the Ammonite Repl 1.0.1
92-
(Scala 2.12.3-bin-typelevel-4 Java 1.8.0_144)
92+
(Scala 2.12.4-bin-typelevel-4 Java 1.8.0_144)
9393
If you like Ammonite, please support our development at www.patreon.com/lihaoyi
9494
@ repl.compiler.settings.YliteralTypes.value = true
9595
@@ -124,7 +124,7 @@ res6: Int = 23
124124

125125
Requirements for using Typelevel Scala in your existing projects,
126126

127-
+ You must be using Lightbend Scala 2.11.11, 2.12.3 or 2.13.0-M2.
127+
+ You must be using Lightbend Scala 2.11.11, 2.12.4 or 2.13.0-M2.
128128
+ You must be using SBT 0.13.13 or later.
129129
+ Your build should use `scalaOrganization.value` and `CrossVersion.patch` appropriately.
130130

@@ -136,15 +136,15 @@ Requirements for using Typelevel Scala in your existing projects,
136136
```
137137
inThisBuild(Seq(
138138
organization := "com.chuusai",
139-
scalaVersion := "2.12.3",
140-
crossScalaVersions := Seq("2.10.6", "2.11.11", "2.12.3", "2.13.0-M2")
139+
scalaVersion := "2.12.4",
140+
crossScalaVersions := Seq("2.10.6", "2.11.11", "2.12.4", "2.13.0-M2")
141141
))
142142
```
143143

144144
You can now temporarily build with Typelevel Scala by entering,
145145

146146
```
147-
> ; set every scalaOrganization := "org.typelevel" ; ++2.12.3-bin-typelevel-4
147+
> ; set every scalaOrganization := "org.typelevel" ; ++2.12.4-bin-typelevel-4
148148
```
149149

150150
on the SBT REPL.
@@ -154,7 +154,7 @@ To switch your project permanently to Typelevel Scala 4 update your `build.sbt`
154154
```
155155
inThisBuild(Seq(
156156
scalaOrganization := "org.typelevel",
157-
scalaVersion := "2.12.3-bin-typelevel-4"
157+
scalaVersion := "2.12.4-bin-typelevel-4"
158158
))
159159
```
160160

@@ -165,7 +165,7 @@ following content,
165165
```
166166
inThisBuild(Seq(
167167
scalaOrganization := "org.typelevel",
168-
scalaVersion := "2.12.3-bin-typelevel-4"
168+
scalaVersion := "2.12.4-bin-typelevel-4"
169169
))
170170
```
171171

@@ -178,7 +178,7 @@ of the Lightbend one. You can verify that the settings have been updated correct
178178
> show scalaOrganization
179179
[info] org.typelevel
180180
> show scalaVersion
181-
[info] 2.12.3-bin-typelevel-4
181+
[info] 2.12.4-bin-typelevel-4
182182
```
183183

184184
[build-tweaks-1]: https://github.com/typelevel/scala/issues/135
@@ -195,7 +195,7 @@ If you are using maven with the `scala-maven-plugin`, set the `<scalaOrganizatio
195195
<version>3.2.1</version>
196196
<configuration>
197197
<scalaOrganization>org.typelevel</scalaOrganization>
198-
<scalaVersion>2.12.3-bin-typelevel-4</scalaOrganization>
198+
<scalaVersion>2.12.4-bin-typelevel-4</scalaOrganization>
199199
</configuration>
200200
</plugin>
201201
```

try-typelevel-scala.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ COURSIER_URL=https://git.io/vgvpD
33
test -e ~/.coursier/coursier || \
44
(mkdir -p ~/.coursier && curl -L -s --output ~/.coursier/coursier $COURSIER_URL && chmod +x ~/.coursier/coursier)
55
~/.coursier/coursier launch -q -P \
6-
com.lihaoyi:ammonite_2.12.3:1.0.1 \
6+
com.lihaoyi:ammonite_2.12.4:1.0.3 \
77
-E org.scala-lang:scala-library \
88
-E org.scala-lang:scala-compiler \
99
-E org.scala-lang:scala-reflect \
10-
org.typelevel:scala-compiler:2.12.3-bin-typelevel-4 \
11-
org.typelevel:scala-library:2.12.3-bin-typelevel-4 \
12-
org.typelevel:scala-reflect:2.12.3-bin-typelevel-4 \
10+
org.typelevel:scala-compiler:2.12.4-bin-typelevel-4 \
11+
org.typelevel:scala-library:2.12.4-bin-typelevel-4 \
12+
org.typelevel:scala-reflect:2.12.4-bin-typelevel-4 \
1313
-- < /dev/tty

0 commit comments

Comments
 (0)