Changelog
Fixes and a minor and major new feature.
Scripts and jars as dependencies
//DEPS aloca.jar or //DEPS myscript.java or even //DEPS https://my.site/some/script.java is now allowed.
Allowing you to use scripts (or jars) as dependencies is different from using //SOURCES in the sense that the //DEPS gets built in isolation and is a true dependency rather than built inside the project. Allows for more decoupled and interesting composability of your jbang scripts and applications. Mainly; allow you to build and publish a java library without an intermediate publishing step.
Use it responsibly :)
Debug customization
I (re)learned from @danberindei that IDE's can work as clients to allow the java app to connect to the debugger rather than the other way around. Quite useful.
Thus jbang now allows customizing how debug is configured.
You can still just do jbang --debug myapp.java but you can now also pass in a comma separated list to configure the JDPA connection string. i.e.jbang --debug=server=n myapp.java to have it be a client rather than a server. You can set any other JDPA flag this way.
Fixes
Docker publish had been failing the last few releases. Finally figured out the issue. Should now work. Crossing fingers.
Multi-user access were causing issues for caching in docker containers; that should be fixed too now.
🚀 Features
- 1bfa853 feat: Added support for script dependencies (#1641)
- d87feaa feat: --debug now allow multiple key/values. --debug=server=n,suspend=y (#1642)
🐛 Fixes
- 61bdc6a fix: #1624 docker publish fail
- d81bed7 fix: swallow any exceptions when setting file modified timestamp (#1639)
🧰 Tasks
- c379bd3 chore: add justfile for those with bad memory
- 333c385 [minor] release
Contributors
We'd like to thank the following people for their contributions:
GitHub, Max Rydahl Andersen, Tako Schotanus