v0.92.0 #1314
maxandersen
announced in
Blog/Website
v0.92.0
#1314
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 runcurl
install it will use the latest available.Also When installing or running jbang using
curl
osx and linux will now use/dev/tty
toallow 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
//SOURCES
(feat: allow aliases for//SOURCES
#1287)🐛 Fixes
--deps
and//REPOS
(fix: fixed problem--deps
and//REPOS
#1296)-s
file is missing (fix: give proper error when-s
file is missing #1308)🧰 Tasks
📝 Documentation
Contributors
We'd like to thank the following people for their contributions:
Manik Magar, Tako Schotanus, Max Rydahl Andersen, GitHub
This discussion was created from the release v0.92.0.
Beta Was this translation helpful? Give feedback.
All reactions