v0.92.0
Changelog
This time with a mixed bag of features/improvements:
Console trust and "zero" install
Running using curl
will now download jbang to a temporary location if no local .jbang jar found. This ensures if you run curl
install it will use the latest available.
Also When installing or running jbang using curl
osx and linux will now use /dev/tty
to
allow using console to approve/trust scripts. Windows will still use the UI based approach if necessary.
We also now don't ask to trust a script you already downloaded and not running with --fresh
.
This should all make the installation of jbang and running of scripts simpler and more reliable.
Integrations can run externally
Today when using jbang integrations (i.q. Quarkus integration) it runs in the same jvm/classloader
as jbang itself. This works normally great, but if you are targeting a Java higher than the Java you are running JBang with (i.e. uses --java 17
when running with Java 11) you can get errors about mismatched Java versions.
In this release JBang now will run the integration in an external process when Java versions does not match.
This also enables a future possible improvement of making jbang
a native binary.
Allow aliases for //SOURCES
You can now use aliases in //SOURCES
. This is mainly interesting when running jshell based scripts. For example in a .jsh file you can use //SOURCES faker@jbangdev
and you get the faker script included.
Enjoy!
🚀 Features
- ea20eff "zero" install now lives up to its name (#1219)
- d942ada fall back to TTY when asking for input on Linux/Mac (#1312)
- b44d783 enable integrations to run externally (#1290)
- d3e726c allow aliases for
//SOURCES
(#1287) - c032ce2 don't ask for trust when resource is cached (#1291)
🐛 Fixes
- e379591 fixed problem
--deps
and//REPOS
(#1296) - 2d0ecd4 updated to latest java-properties (#1307)
- 82e03f8 give proper error when
-s
file is missing (#1308) - 6337f4e don't copy classpath files more than once (#1300)
- 97cd36d add missing contributors
- 3ff4446 add code for manikmagar
🧰 Tasks
- b259d74 make codecov less critical
📝 Documentation
Contributors
We'd like to thank the following people for their contributions:
Manik Magar, Tako Schotanus, Max Rydahl Andersen, GitHub