Skip to content

v0.120.4

Compare
Choose a tag to compare
@maxandersen maxandersen released this 16 Nov 12:07
· 13 commits to main since this release

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

New Contributors

Full Changelog: v0.119.0...v0.120.4