v0.107.0
Let's call this the "Java 21" release as it adds jbang --enable-preview
option that allows you to do easily try out openjdk preview features like Java 21 String templates without having to deal with -souce 21
and individual flags for javac
nor java
.
The following will download Java 21 (early builds) if needed and evaluate the String template using the args
variable:
jbang --java 21 --enable-preview -c 'print(STR."First arg is \{args[0]}!")' JBang
Note: At time of release Adoptium the default Java provider used by JBang does not have early Java 21 builds thus either install a Java 21 manually or set JBANG_JDK_VENDOR=openjdk
in the environment to tell JBang to use openjdk
builds.
Changelog
🚀 Features
🐛 Fixes
- 5968e49 fix: export will now create missing output folders (#1618)
- 01ab8e8 fix: don't try resolving implicit catalogs for URLs (#1619)
- 854fc66 fix: no longer throws exception for certain config values (#1615)
Contributors
We'd like to thank the following people for their contributions:
GitHub, Max Rydahl Andersen, Tako Schotanus