Skip to content

Commit 10709eb

Browse files
Drop JDK11 support (#243)
1 parent 3f82c78 commit 10709eb

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/pr-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
lang: ['jvm', 'js', 'native']
16-
java: ['11', '17']
16+
java: ['17', '21']
1717
env:
1818
# Set LANG=C to simulate least-common-denominator target deployment environments:
1919
LANG: C

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
val sjsonnetVersion = "0.4.13"
1+
val sjsonnetVersion = "0.4.14"
22

33
scalaVersion in Global := "2.13.12"
44

build.sc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import mill._, scalalib._, publish._, scalajslib._, scalanativelib._, scalanativ
22
import $ivy.`com.lihaoyi::mill-contrib-jmh:`
33
import contrib.jmh.JmhModule
44

5-
val sjsonnetVersion = "0.4.13"
5+
val sjsonnetVersion = "0.4.14"
66

77
val scalaVersions = Seq("2.12.20", "2.13.15")
88

readme.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,13 @@ mitigate the unfortunate JVM warmup overhead that adds ~1s to every invocation
247247
down to 0.2-0.3s. For the simple non-client-server executable, you can use
248248

249249
```bash
250-
./mill -i show sjsonnet[2.13.4].jvm.assembly
250+
./mill -i show sjsonnet[2.13.15].jvm.assembly
251251
```
252252

253253
To create the executable. For the client-server executable, you can use
254254

255255
```bash
256-
./mill -i show sjsonnet[2.13.4].server.assembly
256+
./mill -i show sjsonnet[2.13.15].server.assembly
257257
```
258258

259259
By default, the Sjsonnet background server lives in `~/.sjsonnet`, and lasts 5
@@ -268,18 +268,18 @@ programmatically via `new Interpreter(...).interpret(...)`.
268268
To publish, make sure the version number in `build.sc` is correct, then run the following commands:
269269

270270
```bash
271-
./mill -i mill.scalalib.PublishModule/publishAll --sonatypeCreds lihaoyi:$SONATYPE_PASSWORD --publishArtifacts __.publishArtifacts --release true
271+
./mill -i mill.scalalib.PublishModule/publishAll --sonatypeCreds $SONATYPE_USER:$SONATYPE_PASSWORD --publishArtifacts __.publishArtifacts --release true
272272

273-
./mill -i show sjsonnet[2.13.4].js.fullOpt
274-
./mill -i show sjsonnet[2.13.4].jvm.assembly
273+
./mill -i show sjsonnet[2.13.15].js.fullOpt
274+
./mill -i show sjsonnet[2.13.15].jvm.assembly
275275
```
276276

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

279+
### Pending Version
280+
- Fix a bug in new strict mode for set in std.setUnion [#242](https://github.com/databricks/sjsonnet/issues/242)
281+
- Add support for Java 21 and dropped support for Java 11.
282+
283283
### 0.4.13
284284
- Implemented every missing methods in `std`.
285285
- Improved readability of stack traces when `std` methods are involved.

0 commit comments

Comments
 (0)