Skip to content

v0.140.1

Latest

Choose a tag to compare

@maxandersen maxandersen released this 11 Jul 16:24

JBang Enterprise Edition release

πŸ” Authenticated Repositories Just Work

JBang now supports .netrc credentials and environment tokens (GITHUB_TOKEN, GITLAB_TOKEN) everywhere β€” both for HTTP downloads and for Maven dependency resolution.

That means fetching dependencies from GitHub Packages, GitLab registries, or any private Maven repository now can be done without needing a settings.xml; and lets you reuse git, github and gitlab cli auth mechanisms.

Example .netrc to enable auth for github maven repositories and https locations:

machine maven.pkg.github.com
    jbang-auth gh-auth
    jbang-auth-host github.com

machine raw.github.company.com
    jbang-auth gh-auth
    jbang-auth-host github.ibm.com

machine gitlab.company.com
    jbang-auth glab-auth

Please try and see if it works on your protected sites - let us know if works or not; we might be able to add support for it :)

β˜• Install Any JDK From a URL or Local Archive

You can now point jbang jdk install at a URL or a local .tar.gz/.zip archive to install any JDK distribution, not just the ones JBang knows about. Got a custom build, an EA release, or a vendor-specific JDK? Just hand JBang the link.

Linking a local JDK is also smoother: jbang jdk install 21 /path/to/jdk now (again) works directly instead of requiring a non-numeric ID.

🐚 Tab Completion Gets Smarter

jbang completion now auto-detects your shell β€” no need to remember whether to pass bash, zsh, or fish. Just run jbang completion and it figures it out. PowerShell (pwsh) completion is now supported too. The output includes setup instructions so you know exactly what to add to your shell config.

πŸͺŸ Windows Fixes

  • jbang deps search no longer hangs on Windows.
  • jbang app install now correctly handles special characters and -D properties in PowerShell.

Other Improvements

  • Better error messages when catalog downloads fail β€” no more cryptic stack traces.
  • Clearer app setup messages β€” when JBang is already on PATH, it tells you so and suggests jbang version --update
    instead of leaving you guessing.
  • Native image fixes β€” resolved a plugin discovery collision and improved reflection registration for Maven model classes.

What's Changed

New Contributors

Full Changelog: v0.139.3...v0.140.1