Skip to content

Commit

Permalink
0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi-databricks committed Sep 8, 2023
1 parent 4109fc6 commit 3110d3e
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 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.4.6</version>
<version>0.4.7</version>
</dependency>
```

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

```scala
"com.databricks" %% "sjsonnet" % "0.4.6" // SBT
ivy"com.databricks::sjsonnet:0.4.6" // Mill
"com.databricks" %% "sjsonnet" % "0.4.7" // SBT
ivy"com.databricks::sjsonnet:0.4.7" // Mill
```

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

As a standalone executable assembly:

- <https://github.com/databricks/sjsonnet/releases/download/0.4.6/sjsonnet.jar>
- <https://github.com/databricks/sjsonnet/releases/download/0.4.7/sjsonnet.jar>

```bash
$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.6/sjsonnet.jar > sjsonnet.jar
$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.7/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.4.6/sjsonnet.js > sjsonnet.js
$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.7/sjsonnet.js > sjsonnet.js

$ node

Expand Down Expand Up @@ -261,8 +261,17 @@ To publish, make sure the version number in `build.sc` is correct, then run the
./mill -i show sjsonnet[2.13.4].jvm.assembly
```

Please ensure that you are publishing with JDK 8, e.g. via
`JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/`,
to ensure the output bytecode remains compatible with users on older JVMs.

## Changelog

### 0.4.7

- Ensure almost-octal-number-like strings are quoted when `--yaml-out` is passed,
to avoid issues with non-compliant YAML parsers [#183](https://github.com/databricks/sjsonnet/pull/183)

### 0.4.6

- Add `std.parseYaml`
Expand Down

0 comments on commit 3110d3e

Please sign in to comment.