WARNING: This is an early-access release directly from main branch, not intended for production use.
To enable experimental native-image jbang set JBANG_USE_NATIVE to true, i.e. export JBANG_USE_NATIVE=true
If you want to try the latest and greatest, please give it a spin and report any issues you find.
Here is how to install it:
Linux / macOS / WSL (bash):
curl -Ls https://sh.jbang.dev | JBANG_DOWNLOAD_VERSION=early-access bash -s - app setup
Windows PowerShell:
$env:JBANG_DOWNLOAD_VERSION='early-access'; iex "& { $(iwr -useb https://ps.jbang.dev) } app setup"
Changelog
🚀 Features
- e5af0ea feat: add 'jbang skill' command to install agent skills (#2625) (#2692)
- 8354643 feat: clearer, grouped help output with prose and examples (#2702)
- 76d802d feat: let aesh built-in --aesh-* commands work with their arguments
🐛 Fixes
- d5ae414 fix: honor JBANG_USE_NATIVE when updating (#2616)
- cc3ad41 fix: use ${ROOT-COMMAND-NAME} instead of hardcoded jbang in help (#2738)
- 1e1e86d fix: report an error when init cannot write the script (#2726)
- e3d4c8d fix: report truncated downloads consistently on JDK 24+ (#2732)
- d8cb7ea fix: don't cache downloads that end before their Content-Length (#2729)
- 84e70cb fix: set wrapper file timestamps to the current time instead of 1980 (#2658)
- 52d3ff3 fix: avoid final field mutation when Gson reads catalogs and integration data (#2723)
- 107ac04 fix: upgrade vulnerable jsoup and HTTP dependencies (#2718)
- 3d1f731 fix: jbang build --native from existing/pre-built jar (#2623)
- 660949d fix: separate merged fatjar service providers (#2709)
- f6d0a8a fix(build): use spotless to fornat gradle files (#2708)
- 49f0d26 fix: only force colors in the bash launcher when stdout is a terminal (#2703)
- cce144b fix: make app setup --java/--no-java usable as flags (#2701)
- 2d67c06 fix: honour attached value for -d and reject invalid ones (#2700)
- 8868142 fix: align genadoc.java aesh version and add --format option (#2699)
- 6c28a16 fix: avoid duplicated valid values in --source-type help (#2694)
- 2a297f3 fix: update agents.md to be correct about picocli/aesh
🔄️ Changes
🧪 Tests
- a0e0b5e test: isolate launcher color tests from inherited JVM options (#2711)
- ad53e60 test: validate before doCall in checkedRun harness (#2696)
🧰 Tasks
- bb1c1a3 chore(deps): update actions/github-script digest to f28e40c (#2721)
- 0853b1b chore(deps): update actions/download-artifact digest to 9000827 (#2689)
- 0b8ce75 chore(deps): update actions/checkout digest to fbc6f39 (#2688)
🛠 Build
- d599d28 ci: cache the Maven repo used by integration and smoke tests (#2739)
- 2f4c610 build: remove unused asciidoctor plugin and Roq website teaser (#2734)
- b6c4ce7 build: run tests on latest GA and EA JDK (#2715)
- 6ce2f93 ci: use a GitHub App token for jbang-pr-builds (#2725)
- d816041 build: update aesh to 3.18.1 and readline-api to 3.18.1 (#2693)
📝 Documentation
- 949aeb8 add instreest as a contributor for code (#2728)
- 68e4212 add mukel as a contributor for code (#2720)
- ad33f01 add gelatoni-xh as a contributor for code (#2719)
- f94d500 add UgurcanGursen as a contributor for code (#2714)
Contributors
We'd like to thank the following people for their contributions:
Alfonso² Peterssen, Arnab Nandy, Bartosz Popiela, Claude, Gelatoni, GitHub, Max Rydahl Andersen, Mend Renovate, OpenAI Codex, Ståle Pedersen, Toyeshh Medikonda, UgurcanGursen, Uğurcan Gürşen, Werner Fouché, allcontributors[bot], instreest