diff --git a/README.md b/README.md
index 7f00504..15a2a3c 100644
--- a/README.md
+++ b/README.md
@@ -6,17 +6,15 @@ Checkout the [lagom-scalajs-example](https://github.com/mliarakos/lagom-scalajs-
## Compatibility
-Lagom.js is built against specific versions of Lagom:
+Lagom.js is built against specific versions of Lagom, the latest are:
| Lagom.js | Lagom | Scala | Scala.js |
|-------------|-------|-----------------|----------|
-| 0.1.2-1.5.1 | 1.5.1 | 2.11
2.12 | 0.6.31+ |
-| 0.1.2-1.5.3 | 1.5.3 | 2.11
2.12 | 0.6.31+ |
-| 0.1.2-1.5.4 | 1.5.4 | 2.11
2.12 | 0.6.31+ |
| 0.1.2-1.5.5 | 1.5.5 | 2.11
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
2.13 | 0.6.32+ |
| 0.3.2-1.6.2 | 1.6.2 | 2.12
2.13 | 0.6.33+ |
+| 0.4.0-1.6.2 | 1.6.2 | 2.12
2.13 | 1.0.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).
Lagom.js does not support the Lagom Java API. It only supports the Lagom Scala API because Scala.js only supports Scala.
@@ -29,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.3.2-1.6.2"
+"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.4.0-1.6.2"
```
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:
@@ -41,7 +39,7 @@ lazy val `service-api` = crossProject(JVMPlatform, JSPlatform)
libraryDependencies += lagomScaladslApi
)
.jsSettings(
- libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.3.2-1.6.2"
+ libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-api" % "0.4.0-1.6.2"
)
```
@@ -52,7 +50,7 @@ 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.3.2-1.6.2"
+"com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.4.0-1.6.2"
```
You can use it in a Scala.js project along with your service API to generate a service client:
@@ -60,7 +58,7 @@ You can use it in a Scala.js project along with your service API to generate a s
```scala
lazy val `client-js` = project
.settings(
- libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.3.2-1.6.2"
+ libraryDependencies += "com.github.mliarakos.lagomjs" %%% "lagomjs-scaladsl-client" % "0.4.0-1.6.2"
)
.enablePlugins(ScalaJSPlugin)
.dependsOn(`service-api`.js)
@@ -81,3 +79,19 @@ However, the service client does not support a few the features available in Lag
- full circuit breaker metrics: circuit breakers are fully supported, but the built-in circuit breaker metrics implementation only collects a few basic metrics
- subscribing to topics: topic definitions are available in the service client, but attempting to subscribe to the topic throws an exception
- advanced service locators: service locators outside of the built-in service locators, such as `AkkaDiscoveryServiceLocator`, are not available
+
+## Releases
+
+Lagom.js tracks Lagom and generally doesn't continue development on previous Lagom releases. Since Lagom maintains a stable API within a minor release (e.g., 1.6.x) any version of Lagom.js built for that minor release should work. However, if you need Lagom.js for a specific previous Lagom release the previous Lagom.js releases are listed below. If you have an issue with a previous Lagom.js release please open an [issue](https://github.com/mliarakos/lagom-js/issues) and it will be considered on a case-by-case basis.
+
+| Lagom.js | Lagom | Scala | Scala.js |
+|-------------|-------|-----------------|----------|
+| 0.1.2-1.5.1 | 1.5.1 | 2.11
2.12 | 0.6.31+ |
+| 0.1.2-1.5.3 | 1.5.3 | 2.11
2.12 | 0.6.31+ |
+| 0.1.2-1.5.4 | 1.5.4 | 2.11
2.12 | 0.6.31+ |
+| 0.1.2-1.5.5 | 1.5.5 | 2.11
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
2.13 | 0.6.32+ |
+| 0.3.2-1.6.2 | 1.6.2 | 2.12
2.13 | 0.6.33+ |
+| 0.4.0-1.6.2 | 1.6.2 | 2.12
2.13 | 1.0.1+ |
+
diff --git a/build.sbt b/build.sbt
index b520952..4f3e7e6 100644
--- a/build.sbt
+++ b/build.sbt
@@ -50,7 +50,7 @@ lazy val publishSettings = Seq(
lazy val commonSettings = scalaSettings ++ publishSettings ++ Seq(
organization := "com.github.mliarakos.lagomjs",
- version := s"0.3.3-$baseLagomVersion-SNAPSHOT"
+ version := s"0.4.0-$baseLagomVersion"
)
lazy val commonJsSettings = Seq(