From e90ddde1410f5afccbc7c6023ce594125efee7ce Mon Sep 17 00:00:00 2001 From: Stephen Amar Date: Mon, 25 Nov 2024 20:30:17 -0800 Subject: [PATCH] Fix readme and build files with new version --- build.sbt | 2 +- build.sc | 2 +- readme.md | 16 ++++++++++------ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/build.sbt b/build.sbt index b887b9c2..adbea0a1 100644 --- a/build.sbt +++ b/build.sbt @@ -1,4 +1,4 @@ -val sjsonnetVersion = "0.4.4" +val sjsonnetVersion = "0.4.12" scalaVersion in Global := "2.13.4" diff --git a/build.sc b/build.sc index f87ad872..77c558b1 100644 --- a/build.sc +++ b/build.sc @@ -1,5 +1,5 @@ import mill._, scalalib._, publish._, scalajslib._, scalanativelib._, scalanativelib.api._ -val sjsonnetVersion = "0.4.10" +val sjsonnetVersion = "0.4.12" object sjsonnet extends Cross[SjsonnetModule]("2.12.13", "2.13.4") class SjsonnetModule(val crossScalaVersion: String) extends Module { diff --git a/readme.md b/readme.md index ff329f22..fbc99359 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,7 @@ Sjsonnet can be used from Java: com.databricks sjsonnet_2.13 - 0.4.10 + 0.4.12 ``` @@ -30,8 +30,8 @@ sjsonnet.SjsonnetMain.main0( From Scala: ```scala -"com.databricks" %% "sjsonnet" % "0.4.10" // SBT -ivy"com.databricks::sjsonnet:0.4.10" // Mill +"com.databricks" %% "sjsonnet" % "0.4.12" // SBT +ivy"com.databricks::sjsonnet:0.4.12" // Mill ``` ```scala @@ -48,10 +48,10 @@ sjsonnet.SjsonnetMain.main0( As a standalone executable assembly: -- +- ```bash -$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.10/sjsonnet-0.4.10.jar > sjsonnet.jar +$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.12/sjsonnet-0.4.12.jar > sjsonnet.jar $ chmod +x sjsonnet.jar @@ -71,7 +71,7 @@ $ ./sjsonnet.jar foo.jsonnet Or from Javascript: ```javascript -$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.10/sjsonnet-0.4.10.js > sjsonnet.js +$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.12/sjsonnet-0.4.12.js > sjsonnet.js $ node @@ -280,6 +280,10 @@ to ensure the output bytecode remains compatible with users on older JVMs. ## Changelog +### 0.4.12 +- Fix a bug introduced with 0.4.11 with synthetic paths [#215](https://github.com/databricks/sjsonnet/pull/215) +- Fix thread-safety bug in Obj.getAllKeys [#217](https://github.com/databricks/sjsonnet/pull/217) + ### 0.4.11 - Implement `std.isEmpty`, `std.xor`, `std.xnor`, `std.trim`, `std.equalsIgnoreCase`, `std.sha1`, `std.sha256`, `std.sha512`, `std.sha3` [#204](https://github.com/databricks/sjsonnet/pull/210)