Skip to content

Commit

Permalink
version 0.4.0-1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mliarakos committed Sep 28, 2020
1 parent e50b4d3 commit 54186d8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
31 changes: 16 additions & 15 deletions README.md
Expand Up @@ -10,9 +10,9 @@ Lagom.js is built against specific versions of Lagom, the latest are:

| Lagom.js | Lagom | Scala | Scala.js |
|-------------|-------|-----------------|----------|
| 0.1.2-1.5.5 | 1.5.5 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.3.2-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 0.6.33+ |
| 0.4.0-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 1.0.1+ |
| 0.1.2-1.5.5 | 1.5.5 | 2.11 <br> 2.12 | 0.6.31 |
| 0.3.2-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 0.6.33 |
| 0.4.0-1.6.3 | 1.6.3 | 2.12 <br> 2.13 | 1.1.1 |

Lagom.js moved to Scala.js 1.x starting with version `0.4.0-1.6.2`. Scala.js 0.6 is no longer supported, the last version to support it was `0.3.2-1.6.2 `. For all past releases, see [releases](#Releases).

Expand All @@ -27,7 +27,7 @@ Lagom.js provides JavaScript versions of several Lagom artifacts. The two most i
The `lagomjs-scaladsl-api` artifact provides the JavaScript implementation of the Lagom service API:

```sbt
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.4.0-1.6.2"
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.4.0-1.6.3"
```

To use it you'll need to configure your service API as a [Scala.js cross project](https://github.com/portable-scala/sbt-crossproject) for the JVM and JS platforms. Then, add the `lagomjs-scaladsl-api` dependency to the JS platform:
Expand All @@ -39,7 +39,7 @@ lazy val `service-api` = crossProject(JVMPlatform, JSPlatform)
libraryDependencies += lagomScaladslApi
)
.jsSettings(
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.4.0-1.6.2"
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.4.0-1.6.3"
)
```

Expand All @@ -50,15 +50,15 @@ This enables your Lagom service definition to be compiled into JavaScript. In ad
The `lagomjs-scaladsl-client` artifact provides the JavaScript implementation of the Lagom service client:

```sbt
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.4.0-1.6.2"
"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.4.0-1.6.3"
```

You can use it in a Scala.js project along with your service API to generate a service client:

```scala
lazy val `client-js` = project
.settings(
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.4.0-1.6.2"
libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.4.0-1.6.3"
)
.enablePlugins(ScalaJSPlugin)
.dependsOn(`service-api`.js)
Expand Down Expand Up @@ -86,12 +86,13 @@ Lagom.js tracks Lagom and generally doesn't continue development on previous Lag

| Lagom.js | Lagom | Scala | Scala.js |
|-------------|-------|-----------------|----------|
| 0.1.2-1.5.1 | 1.5.1 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.1.2-1.5.3 | 1.5.3 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.1.2-1.5.4 | 1.5.4 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.1.2-1.5.5 | 1.5.5 | 2.11 <br> 2.12 | 0.6.31+ |
| 0.2.1-1.6.0 | 1.6.0 | 2.12 | 0.6.31+ |
| 0.3.1-1.6.1 | 1.6.1 | 2.12 <br> 2.13 | 0.6.32+ |
| 0.3.2-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 0.6.33+ |
| 0.4.0-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 1.0.1+ |
| 0.1.2-1.5.1 | 1.5.1 | 2.11 <br> 2.12 | 0.6.31 |
| 0.1.2-1.5.3 | 1.5.3 | 2.11 <br> 2.12 | 0.6.31 |
| 0.1.2-1.5.4 | 1.5.4 | 2.11 <br> 2.12 | 0.6.31 |
| 0.1.2-1.5.5 | 1.5.5 | 2.11 <br> 2.12 | 0.6.31 |
| 0.2.1-1.6.0 | 1.6.0 | 2.12 | 0.6.31 |
| 0.3.1-1.6.1 | 1.6.1 | 2.12 <br> 2.13 | 0.6.32 |
| 0.3.2-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 0.6.33 |
| 0.4.0-1.6.2 | 1.6.2 | 2.12 <br> 2.13 | 1.0.1 |
| 0.4.0-1.6.3 | 1.6.3 | 2.12 <br> 2.13 | 1.1.1 |

12 changes: 6 additions & 6 deletions build.sbt
Expand Up @@ -5,7 +5,7 @@ import sbtcrossproject.CrossPlugin.autoImport.crossProject

val scalaVersions = Seq("2.12.10", "2.13.1")

val baseLagomVersion = "1.6.2"
val baseLagomVersion = "1.6.3"
val akkaJsVersion = "2.2.6.5"

lazy val scalaSettings = Seq(
Expand Down Expand Up @@ -50,7 +50,7 @@ lazy val publishSettings = Seq(

lazy val commonSettings = scalaSettings ++ publishSettings ++ Seq(
organization := "com.github.mliarakos.lagomjs",
version := s"0.4.1-$baseLagomVersion-SNAPSHOT"
version := s"0.4.0-$baseLagomVersion"
)

lazy val commonJsSettings = Seq(
Expand Down Expand Up @@ -138,7 +138,7 @@ lazy val `lagomjs-api` = crossProject(JSPlatform)
"org.akka-js" %%% "akkajsactor" % akkaJsVersion,
"org.akka-js" %%% "akkajsactorstream" % akkaJsVersion,
"org.scala-lang.modules" %%% "scala-parser-combinators" % "1.1.2",
"com.typesafe.play" %%% "play-json" % "2.9.0"
"com.typesafe.play" %%% "play-json" % "2.9.1"
)
)
.jsSettings(
Expand Down Expand Up @@ -182,7 +182,7 @@ lazy val `lagomjs-api-scaladsl` = crossProject(JSPlatform)
.jsSettings(
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided",
"org.scalatest" %%% "scalatest" % "3.1.2" % Test
"org.scalatest" %%% "scalatest" % "3.1.3" % Test
)
)
.jsSettings(
Expand Down Expand Up @@ -247,7 +247,7 @@ lazy val `lagomjs-client` = crossProject(JSPlatform)
.jsSettings(
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "1.0.0",
"org.scalatest" %%% "scalatest" % "3.1.2" % Test
"org.scalatest" %%% "scalatest" % "3.1.3" % Test
)
)
.jsSettings(
Expand Down Expand Up @@ -293,7 +293,7 @@ lazy val `lagomjs-client-scaladsl` = crossProject(JSPlatform)
.jsSettings(commonJsSettings: _*)
.jsSettings(
libraryDependencies ++= Seq(
"org.scalatest" %%% "scalatest" % "3.1.2" % Test
"org.scalatest" %%% "scalatest" % "3.1.3" % Test
)
)
.jsSettings(
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
@@ -1 +1 @@
sbt.version=1.3.10
sbt.version=1.3.13
2 changes: 1 addition & 1 deletion project/plugins.sbt
@@ -1,5 +1,5 @@
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.0.1")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.1.1")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")
addSbtPlugin("org.akka-js" % "sbt-shocon" % "1.0.0")
Expand Down

0 comments on commit 54186d8

Please sign in to comment.