Skip to content

Commit

Permalink
0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi-databricks committed Mar 18, 2021
1 parent ac20a80 commit 3135bfa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import mill._, scalalib._, publish._, scalajslib._, scalanativelib._, scalanativelib.api._
val sjsonnetVersion = "0.3.2"
val sjsonnetVersion = "0.3.3"

object sjsonnet extends Cross[SjsonnetModule]("2.12.13", "2.13.4")
class SjsonnetModule(val crossScalaVersion: String) extends Module {
Expand All @@ -18,7 +18,7 @@ class SjsonnetModule(val crossScalaVersion: String) extends Module {
def ivyDeps = Agg(
ivy"com.lihaoyi::fastparse::2.3.1",
ivy"com.lihaoyi::pprint::0.6.1",
ivy"com.lihaoyi::ujson::1.3.0",
ivy"com.lihaoyi::ujson::1.3.7",
ivy"com.lihaoyi::scalatags::0.9.3",
ivy"org.scala-lang.modules::scala-collection-compat::2.4.0"
)
Expand Down
16 changes: 10 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Sjsonnet can be used from Java:
<dependency>
<groupId>com.databricks</groupId>
<artifactId>sjsonnet_2.13</artifactId>
<version>0.3.2</version>
<version>0.3.3</version>
</dependency>
```

Expand All @@ -30,8 +30,8 @@ sjsonnet.SjsonnetMain.main0(
From Scala:

```scala
"com.databricks" %% "sjsonnet" % "0.3.2" // SBT
ivy"com.databricks::sjsonnet:0.3.2" // Mill
"com.databricks" %% "sjsonnet" % "0.3.3" // SBT
ivy"com.databricks::sjsonnet:0.3.3" // Mill
```

```scala
Expand All @@ -48,10 +48,10 @@ sjsonnet.SjsonnetMain.main0(

As a standalone executable assembly:

- <https://github.com/lihaoyi/sjsonnet/releases/download/0.2.8/sjsonnet.jar>
- <https://github.com/lihaoyi/sjsonnet/releases/download/0.3.3/sjsonnet.jar>

```bash
$ curl -L https://github.com/lihaoyi/sjsonnet/releases/download/0.2.8/sjsonnet.jar > sjsonnet.jar
$ curl -L https://github.com/lihaoyi/sjsonnet/releases/download/0.3.3/sjsonnet.jar > sjsonnet.jar

$ chmod +x sjsonnet.jar

Expand All @@ -71,7 +71,7 @@ $ ./sjsonnet.jar foo.jsonnet
Or from Javascript:

```javascript
$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.2.8/sjsonnet.js > sjsonnet.js
$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.3.3/sjsonnet.js > sjsonnet.js

$ node

Expand Down Expand Up @@ -240,6 +240,10 @@ To publish, run the following commands:

## Changelog

### 0.3.3

- Bump uJson version to 1.3.7

### 0.3.2

- Bump uJson version to 1.3.0
Expand Down

0 comments on commit 3135bfa

Please sign in to comment.