Skip to content

Commit

Permalink
update readme (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenamar-db authored Dec 14, 2024
1 parent 123e17f commit 7160a49
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.12.1</version>
<version>0.4.13</version>
</dependency>
```

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

```scala
"com.databricks" %% "sjsonnet" % "0.4.12.1" // SBT
ivy"com.databricks::sjsonnet:0.4.12.1" // Mill
"com.databricks" %% "sjsonnet" % "0.4.13" // SBT
ivy"com.databricks::sjsonnet:0.4.13" // 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.12.1/sjsonnet.jar>
- <https://github.com/databricks/sjsonnet/releases/download/0.4.13/sjsonnet.jar>

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

$ node

Expand Down Expand Up @@ -280,6 +280,15 @@ to ensure the output bytecode remains compatible with users on older JVMs.

## Changelog

### 0.4.13
- Implemented every missing methods in `std`.
- Improved readability of stack traces when `std` methods are involved.
- Cleaned up default Main class to allow for repeated flags.
- Updated mill to 0.11.9 and added JDK17 build.
- Fixed sjsonnet handling of 64bits integers [#191](https://github.com/databricks/sjsonnet/issues/191)
- Stopped manifesting functions with no arguments in objects by default [#168](https://github.com/databricks/sjsonnet/issues/168)
- Fixed "Duplicate Local Variables in Object Scope" [#178](https://github.com/databricks/sjsonnet/issues/178)

### 0.4.12.1
- Fix a bug leading to the truncation of the data returned by `std.gzip` and `std.xz` [#221](https://github.com/databricks/sjsonnet/pull/221).

Expand Down

0 comments on commit 7160a49

Please sign in to comment.