Skip to content

v2.1.17

Compare
Choose a tag to compare
@alexarchambault alexarchambault released this 08 Nov 12:51
· 509 commits to main since this release
8a91d87

This release changes the way "BOMs" or "dependency management" are handled during resolution, and allows users to add BOMs to a resolution. This changes the way versions are picked when BOMs or dependency management are involved, which has an impact on the resolution of libraries from many JVM ecosystems, such as Apache Spark, Springboot, Quarkus, etc. These changes were added in #3097 and #3143, mainly motivated by Mill's needs.

Given these change the way versions are picked and the impact on speed / performance of these changes is unclear, projects offering dependency resolution features via coursier might want to allow their users to disable this. This can be done via ResolutionParams in the API, like

Resolve()
  .mapResolutionParams(_.withEnableDependencyOverrides(Some(false)))
// or
Fetch()
  .mapResolutionParams(_.withEnableDependencyOverrides(Some(false)))

On the command line, passing --enable-dependency-overrides=false to the resolve or fetch sub-commands disables these changes.

What's Changed

Updates / maintenance

Full Changelog: v2.1.16...v2.1.17