0.56.0 (2020/12/06)
Big jbang app feature + bugfixes.
jbang app install
There is now a jbang app which install jbang applications/scripts locally.
You use it by first calling the one time setup (jbang app setup) to configure your local environment
to have a PATH that jbang can install "apps" into.
Now you can do things like jbang app install properties@jbangdev to get a properties into your PATH so you can
call it from anywhere as if it was any other application or script.
jbang app install works with scripts, jars, urls, aliases etc.
Really excited to this come to fruition - send feedback/open issues for this - do you like it or hate it ?
jbang edit jitpack and repos
jbang edit now honor jitpack and //REPOS so now dependency resolution
will work in your IDE when you use these.
// commands ignore content after //
This is a small tweak to the parsing so if you have a comment at the end of line of a //DEPS or similar command then jbang will ignore it.
That is useful for when using asciidoc reference in comments feature, which gives you this:
//DEPS info.picocli:picocli:4.5.0 // <.>
//DEPS org.zeroturnaround:zt-exec:1.12 // <.>
//DEPS commons-codec:commons-codec:1.15 // <.>
//DEPS org.slf4j:slf4j-nop:1.7.30 // <.>
In previous versions jbang would try and resolve // and <.> as dependencies. Now it will ignore '//' (notice the surrounding spaces) and anything following it.
jitpack now works with repos not using master as default branch
New repositories on GitHub defaults to main breaking the jitpack integration.
Now instead of using master as default we use HEAD which gives you the
tip of the default branch independent of its actual name.
Bug Fixes
- Don't attempt to minimse jboss-logging (#562) (#8fc92b68)
- PowerShell zero-install now works again (#572) (#f61aa98c)
app installwith relative file paths now works (#2767b22b)- handle the fact that on Windows paths can be on different roots (#777d7870)
- watchService's event is relative to watched directory (#7395c4fb)
- use dependency cache when launching GAV. (#586) (#44a88580, closes #222)
- support urls with extension less files Fixes #568 (#585) (#fbdec5c2, closes #568)
- jitpack no long assumes default branch is master (#588) (#654667ca, closes #564)
Features
- minimal jitpack and //REPOS support in edit/live mode (#570) (#f134fb5c)
- added
installcommand that turns scripts as user commands (#5406bae8) - implemented
app unistallandapp list(#63973382) - // commands ignore // comments (#584) (#732cc69b, closes #567)
Refactor
- split jbang installation off from
setuptoinstall - Introduce
appcommand and turninstallinto a subcommand - Made
setupa subcommand ofapp app installname is now an option