v0.120.4
Reaching 120!
Honoring transitive dependencies managed setup
JBang will now (like Maven 4) honor transitive dependencies managed dependencies. This is probably how many think and expect dependencies to be resolved, but this is not the case for Maven 3 nor the previous JBang version. If you already use explicitly managed dependencies then that still wins, it is only that transitive dependencies now will be managed if transitive dependencies have a managed dependency section.
Example:
jbang info tools io.quarkus:quarkus-tls-registry-cli:3.15.1
would resolve jackson-core-2.16.1
in past but now resolve jackson-core-2.17.2
as the quarkus-tls-registry-cli
has a managed pom.
Ignore transitive repositories
Another possible surprise is that transitive dependencies can add maven repositories into the resultion chain. Often that is fine, but in some cases you want to ensure only your own configured repositories gets honored.
To enable this there is now a --itr
or --ignore-transitive-repositories
flag.
Restored jitpack support
jitpack stopped supporting fetching HEAD snapshot, now we fallback to main-SNAPSHOT
allowing jitpack dependencies via github URLs 'just work' as long as the repos branch name is main
.
What's Changed
- fix: Markdown files now handled properly on Windows by @quintesse in #1856
- fix: fixes issue with too long command lines on windows by @quintesse in #1862
- fix: fix dependency resolution re depMgmt by @cstamas in #1853
- fix: avoid noisy jshell logging in dockerfile by @maxandersen in #1841
- docs: add prerequisite Java 11 version to build by @apupier in #1866
- add wfouche as a contributor for code by @allcontributors in #1863
- Update and fix qrest cute template by @yostane in #1845
- add yostane as a contributor for code by @allcontributors in #1867
- fix: document default command better by @maxandersen in #1844
- chore(deps): update Kotlin to 2.0.21 by @wfouche in #1860
- fix: fixes
InaccessibleObjectException
in tests on JDK 17+ by @quintesse in #1868 - feat: Improve error message to know where to place --verbose option by @apupier in #1865
- fix: use main-SNAPSHOT as best-effort fallback for jitpack by @maxandersen in #1843
- feat: Introduce itr option by @cstamas in #1820
New Contributors
- @apupier made their first contribution in #1866
- @yostane made their first contribution in #1845
- @wfouche made their first contribution in #1860
Full Changelog: v0.119.0...v0.120.4