From 3110d3e3a9f71e66db82a57ecf3616b85fa03c52 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Fri, 8 Sep 2023 15:36:38 +0200 Subject: [PATCH] 0.4.7 --- readme.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 37cc3f80..722ed5c5 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,7 @@ Sjsonnet can be used from Java: com.databricks sjsonnet_2.13 - 0.4.6 + 0.4.7 ``` @@ -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 @@ -48,10 +48,10 @@ sjsonnet.SjsonnetMain.main0( As a standalone executable assembly: -- +- ```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 @@ -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 @@ -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`