1
1
# Typelevel Scala 4
2
2
3
- We are pleased to announce the availability of [ Typelevel] [ typelevel ] [ Scala] [ tls ] 4 for Scala 2.12.2 and 2.11.11.
3
+ We are pleased to announce the availability of [ Typelevel] [ typelevel ] [ Scala] [ tls ] 4 for Scala 2.11.11, 2.12.3 and
4
+ 2.13.0-M2.
4
5
5
6
## Typelevel Scala releases
6
7
7
8
As of this release, Typelevel Scala releases are distinguished from the corresponding Lightbend Scala releases by a
8
9
version number suffix which indicates the Typelevel feature level beyond the baseline compiler. We are attempting to
9
10
maintain parity of Typelevel features across the Scala compiler versions we support.
10
11
11
- The current Typelevel feature level is 4 and it is avaliable as a drop in replacement for Lightbend Scala 2.11.11 and
12
- 2.12.2 .
12
+ The current Typelevel feature level is 4 and it is avaliable as a drop in replacement for Lightbend Scala 2.11.11,
13
+ 2.12.3 and 2.13.0-M2 .
13
14
14
- Support for Scala 2.13.0-M1 will be added in due course. Support for Scala 2.10.6 will be considered if sponsors step
15
- forward to support the necessary work.
15
+ Support for Scala 2.10.6 will be considered if sponsors step forward to support the necessary work.
16
16
17
17
## Additonal features included in TLS 4
18
18
19
- The Typelevel Scala additions to Lightbend Scala 2.12.2 and 2.11.11 can be found on the branches
20
- [ 2.12.2 -bin-typelevel-4] [ 2.12.2 -bin-typelevel-4 ] and [ 2.11.11 -bin-typelevel-4] [ 2.11.11 -bin-typelevel-4 ] respectively
21
- of this repository.
19
+ The Typelevel Scala additions to Lightbend Scala 2.11.11, 2.12.3 and 2.13.0-M2 can be found on the branches
20
+ [ 2.11.11 -bin-typelevel-4] [ 2.11.11 -bin-typelevel-4 ] , [ 2.12.3 -bin-typelevel-4] [ 2.12.3 -bin-typelevel-4 ] and
21
+ respectively [ 2.13.0-M2-bin-typelevel-4 ] [ 2.13.0-M2-bin-typelevel-4 ] of this repository.
22
22
23
- Typelevel Scala 4 offers the features listed below over Lightbend Scala 2.12.2 /2.11.11 . Following [ Typelevel Scala
24
- policy] [ merge-policy ] each one of these exists as a pull request against Lightbend Scala and is being considered for
25
- merging.
23
+ Typelevel Scala 4 offers the features listed below over Lightbend Scala 2.11.11/2.12.3 /2.13.0-M2 . Following [ Typelevel
24
+ Scala policy] [ merge-policy ] each one of these exists as a pull request against Lightbend Scala and is being considered
25
+ for merging.
26
26
27
27
Please report issues with the new features on the [ TLS] [ tls ] github repo issue tracker or directly on the
28
28
corresponding LBS pull request. Discussion can be found on the TLS [ gitter channel] [ tls-gitter ] . More general Scala
@@ -295,7 +295,7 @@ More details on the [PR][pr-trailing-commas].
295
295
296
296
Requirements for using Typelevel Scala in your existing projects,
297
297
298
- + You must be using Lightbend Scala 2.12.2 or 2.11.11 .
298
+ + You must be using Lightbend Scala 2.11.11, 2.12.3 or 2.13.0-M2 .
299
299
+ You must be using SBT 0.13.13 or later.
300
300
+ Your build should use ` scalaOrganization.value ` and ` CrossVersion.patch ` appropriately.
301
301
@@ -307,15 +307,15 @@ Requirements for using Typelevel Scala in your existing projects,
307
307
```
308
308
inThisBuild(Seq(
309
309
organization := "com.chuusai",
310
- scalaVersion := "2.12.2 ",
311
- crossScalaVersions := Seq("2.10.6", "2.11.8 ", "2.12.2 ", "2.13.0-M1 ")
310
+ scalaVersion := "2.12.3 ",
311
+ crossScalaVersions := Seq("2.10.6", "2.11.11 ", "2.12.3 ", "2.13.0-M2 ")
312
312
))
313
313
```
314
314
315
315
You can now temporarily build with Typelevel Scala by entering,
316
316
317
317
```
318
- > ; set every scalaOrganization := "org.typelevel" ; ++2.12.2 -bin-typelevel-4
318
+ > ; set every scalaOrganization := "org.typelevel" ; ++2.12.3 -bin-typelevel-4
319
319
```
320
320
321
321
on the SBT REPL.
@@ -325,7 +325,7 @@ To switch your project permanently to Typelevel Scala 4 update your `build.sbt`
325
325
```
326
326
inThisBuild(Seq(
327
327
scalaOrganization := "org.typelevel"
328
- scalaVersion := "2.12.2 -bin-typelevel-4"
328
+ scalaVersion := "2.12.3 -bin-typelevel-4"
329
329
))
330
330
```
331
331
@@ -349,7 +349,7 @@ of the Lightbend one. You can verify that the settings have been updated correct
349
349
> show scalaOrganization
350
350
[info] org.typelevel
351
351
> show scalaVersion
352
- [info] 2.12.2 -bin-typelevel-4
352
+ [info] 2.12.3 -bin-typelevel-4
353
353
```
354
354
355
355
[ build-tweaks-1 ] : https://github.com/typelevel/scala/issues/135
@@ -366,15 +366,15 @@ If you are using maven with the `scala-maven-plugin`, set the `<scalaOrganizatio
366
366
<version>3.2.1</version>
367
367
<configuration>
368
368
<scalaOrganization>org.typelevel</scalaOrganization>
369
- <scalaVersion>2.12.2 -bin-typelevel-4</scalaOrganization>
369
+ <scalaVersion>2.12.3 -bin-typelevel-4</scalaOrganization>
370
370
</configuration>
371
371
</plugin>
372
372
```
373
373
374
374
## Contributors
375
375
376
376
Typelevel Scala is only possible because of the contributions made to Lightbend Scala &mdash ; see the contributors
377
- section of the LBS Scala 2.12.2 and 2.11.11 [ release notes] [ lbs-2.12.2 ] .
377
+ section of the LBS Scala 2.12.3 and 2.11.11 [ release notes] [ lbs-2.12.3 ] .
378
378
379
379
We are hugely grateful to the following for their work on the enhancements included in Typelevel Scala 4 and look
380
380
forward to them being included in future Lightbend Scala releases,
@@ -412,12 +412,13 @@ Typelevel Scala in general and to the PRs merged in this release in particular.
412
412
[ lbs-gitter ] : https://gitter.im/scala/contributors
413
413
[ typelevel ] : http://typelevel.org/
414
414
[ lbs-readme ] : https://github.com/scala/scala/blob/2.12.x/README.md
415
- [ 2.12.2 -bin-typelevel-4 ] : https://github.com/typelevel/scala/commits/2.12.2 -bin-typelevel-4
415
+ [ 2.12.3 -bin-typelevel-4 ] : https://github.com/typelevel/scala/commits/2.12.3 -bin-typelevel-4
416
416
[ 2.11.11-bin-typelevel-4 ] : https://github.com/typelevel/scala/commits/2.11.11-bin-typelevel-4
417
- [ lbs-2.12.2 ] : https://www.scala-lang.org/news/releases-1Q17.html
417
+ [ 2.13.0-M2-bin-typelevel-4 ] : https://github.com/typelevel/scala/commits/2.13.0-M2-bin-typelevel-4
418
+ [ lbs-2.12.3 ] : https://www.scala-lang.org/news/2.12.3
418
419
[ sip-23 ] : http://docs.scala-lang.org/sips/pending/42.type.html
419
420
[ shapeless ] : https://github.com/milessabin/shapeless
420
- [ induction-benchmark ] : https://github.com/typelevel/scala/blob/2.12.2 -bin-typelevel-4/test/induction/inductive-implicits-bench.scala
421
- [ kind-poly-examples ] : https://github.com/typelevel/scala/blob/2.12.2 -bin-typelevel-4/test/files/pos/kind-poly.scala
422
- [ trailing-comma-examples ] : https://github.com/typelevel/scala/blob/2.12.2 -bin-typelevel-4/test/files/pos/trailing-commas.scala
421
+ [ induction-benchmark ] : https://github.com/typelevel/scala/blob/2.12.3 -bin-typelevel-4/test/induction/inductive-implicits-bench.scala
422
+ [ kind-poly-examples ] : https://github.com/typelevel/scala/blob/2.12.3 -bin-typelevel-4/test/files/pos/kind-poly.scala
423
+ [ trailing-comma-examples ] : https://github.com/typelevel/scala/blob/2.12.3 -bin-typelevel-4/test/files/pos/trailing-commas.scala
423
424
[ typeable ] : https://github.com/milessabin/shapeless/commit/820f12c678a7c1bb2bfb98c201db207cc7fc81de
0 commit comments