Skip to content

v0.107.0

Compare
Choose a tag to compare
@maxandersen maxandersen released this 16 May 22:28
· 185 commits to main since this release

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)

  • c4a1ff4 [minor] release
  • 3d4e122 doc: note on why jshell needs more flags for enable preview

Contributors

We'd like to thank the following people for their contributions:
GitHub, Max Rydahl Andersen, Tako Schotanus