v0.88.0
Changelog
New JBang release with a bunch of quality of life improvements.
Graphical UI when needed to confirm trust
To simplify install/setup running in a environment where there is no terminal to ask for input, i.e. if using curl
for install
we now show a graphical dialog when needing to confirm trusted URLs or choosing an editor. This was not
an easy decision but it enables to have just one command install, like: curl -Ls https://sh.jbang.dev | bash -s - app install quarkus@quarkusio
Note: this will only show up if needed and AWT/Swing is available, if not the text based info is used instead.
Edit knowing about common editors
When using jbang edit
by default we offered to install and run vscodium - now we also scan PATH for common IDE's like eclipse
, code,
idea` etc. Giving you a choice to use your already installed IDE more easily.
Setting JDK Release
JBang uses foojay.io to download Java Development Kit's normally getting Adoptium major releases.
If you want to try out another distribution and even earlyaccess versions you can now tweak these using environment variables
JBANG_JDK_VENDOR | vendor name, ie. `temurin`, `aoj`, `azul`, `debian`, `microsoft`, `openjdk`, `oracle`, `oracle_open_jdk` or `redhat` |
JBANG_JDK_RELEASE | `ga` or `ea` |
You can set these in your environment or use them directly when calling jbang, i.e.:
JBANG_JDK_VENDOR=oracle JBANG_JDK_RELEASE=ea jbang --java 18 otp.java
This will get latest Java 18 early access release of Oracle JDK.
//SOURCES now supported in .jsh
When using .jsh
(jshell
) //SOURCES
are now supported allowing you to include
other .jsh files.
Catalog can now document its properties
@nandorholozsnyak in his first contribution enabled Catalogs to document its properties
and will be included in jbang catalog list
.
Below are the full list of changes and fixes:
🚀 Features
- dc3fcd9 Use dialog box for input (#1217)
- 430fa70 Catalog templates with property list
- 5de28c2 Quality-of-life improvements for
edit
(#1211) - 08d3512 Allow user to set JDK release (#1225)
🐛 Fixes
- 3367791
//SOURCES
now work in .jsh files too (#1221) - d683e0a Fixed Jbang failing to run correctly with Cygwin (#1226)
- 94508af fixed check for using managed jbang (#1214)
- d888194 headline levels (#1215)
📝 Documentation
- 3adca1b add happyherp as a contributor for doc (#1222)
- 51f1619 add jmini as a contributor for doc (#1213)
- 106be11 Documentation for -P and --property option in template add cli command
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub, Carlos Freund, allcontributors[bot], Nándor Holozsnyák