From 9778b1a8dc106a9ed7bde2a13ce961ce24cf2375 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Tue, 9 Jan 2024 05:54:06 -0800 Subject: [PATCH] 0.4.8 --- build.sc | 2 +- readme.md | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build.sc b/build.sc index b6aaa042..607a0bf5 100644 --- a/build.sc +++ b/build.sc @@ -1,5 +1,5 @@ import mill._, scalalib._, publish._, scalajslib._, scalanativelib._, scalanativelib.api._ -val sjsonnetVersion = "0.4.7" +val sjsonnetVersion = "0.4.8" 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 37bc82c0..06d4baa9 100644 --- a/readme.md +++ b/readme.md @@ -30,8 +30,8 @@ sjsonnet.SjsonnetMain.main0( From Scala: ```scala -"com.databricks" %% "sjsonnet" % "0.4.7" // SBT -ivy"com.databricks::sjsonnet:0.4.7" // Mill +"com.databricks" %% "sjsonnet" % "0.4.8" // SBT +ivy"com.databricks::sjsonnet:0.4.8" // 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.7/sjsonnet-0.4.7.jar > sjsonnet.jar +$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.8/sjsonnet-0.4.8.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.7/sjsonnet-0.4.7.js > sjsonnet.js +$ curl -L https://github.com/databricks/sjsonnet/releases/download/0.4.8/sjsonnet-0.4.8.js > sjsonnet.js $ node @@ -280,6 +280,10 @@ to ensure the output bytecode remains compatible with users on older JVMs. ## Changelog +### 0.4.8 + +- Significant reduction in memory usage from importing and parsing large files [#194](https://github.com/databricks/sjsonnet/pull/194) [#197](https://github.com/databricks/sjsonnet/pull/197) + ### 0.4.7 - Ensure almost-octal-number-like strings are quoted when `--yaml-out` is passed,