Releases: coursier/coursier
v2.1.23
What's Changed
- Add async profiler options to launch command by @alexarchambault in #3192
- Take default config into account when filtering dep mgmt by @alexarchambault in #3196
- Default to runtime config rather than compile for Ivy deps by @alexarchambault in #3197
- Optimize BOM handling by @alexarchambault in #3193
Full Changelog: v2.1.22...v2.1.23
v2.1.22
What's Changed
- Tweak Maven scopes handling by @alexarchambault in #3189
Documentation changes
- refactor: remove dollar sign for easier copy paste by @hamirmahal in #2902
Updates / maintenance
- Update Mill to 0.12.3 by @alexarchambault in #3188
New Contributors
- @hamirmahal made their first contribution in #2902
Full Changelog: v2.1.21...v2.1.22
v2.1.21
What's Changed
- Add BOM runtime scope test, tweak empty version handling by @alexarchambault in #3185
Updates / maintenance
- Bump actions/attest-build-provenance from 1 to 2 by @dependabot in #3187
Full Changelog: v2.1.20...v2.1.21
v2.1.20
What's Changed
- Ensure BOM / dependency management precedence works as expected by @alexarchambault in #3181
- Fix '_' version handling by rules by @palanski in #3178
- Accept empty versions by @alexarchambault in #3183
Updates / maintenance
- Add tests for InstallDir#list as follow up of #3118 by @allxiao in #3182
- Update Scala.JS to 1.17.0 by @alexarchambault in #3184
New Contributors
Full Changelog: v2.1.19...v2.1.20
v2.1.19
What's Changed
- Don't propagate dep mgmt scope transitively by @alexarchambault in #3168
- Add coursier.core.Type.Exotic.aar by @alexarchambault in #3165
- Add retry around opening of lock files by @alexarchambault in #3171
- Take BOM config into account by @alexarchambault in #3173
- Allow users to take BOM provided entries into account by @alexarchambault in #3174
- Some more tweaking of BOM stuff by @alexarchambault in #3175
Maintenance / updates
- Fix CI by pinning scalafmt version by @alexarchambault in #3169
- Remove stale comment by @alexarchambault in #3167
- Leave pprint setup in shading config by @alexarchambault in #3166
- Add compile scope test by @alexarchambault in #3170
- Use Java 21 on CI by @alexarchambault in #3144
Full Changelog: v2.1.18...v2.1.19
v2.1.18
What's Changed
- Tweak publishing by @alexarchambault in #3156
- Use dependency library to parse dependencies and modules by @alexarchambault in #3157
- Tweak dependency management exclusions handling by @alexarchambault in #3161
- Tweak BOM related stuff by @alexarchambault in #3159
Updates / maintenance
- Update handmade metadata repo reference by @alexarchambault in #3158
- Undeprecate JvmIndex#load overload by @alexarchambault in #3160
Full Changelog: v2.1.17...v2.1.18
v2.1.17
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
- Add better support for dependency management (aka BOM) by @alexarchambault in #3097
- Allow users to add BOMs to resolutions by @alexarchambault in #3143
- Delay property substitution by @alexarchambault in #3145
Updates / maintenance
- Fix version in since and deprecated annotation added in BOM support PR by @alexarchambault in #3150
- Update test by @alexarchambault in #3151
- NIT by @alexarchambault in #3153
- Add more BOM tests by @alexarchambault in #3152
Full Changelog: v2.1.16...v2.1.17
v2.1.16
This release fixes issues with launchers generated by cs in coursier 2.1.15, that mistakenly required Java >= 17. In coursier 2.1.16, they should only need Java >= 8, like before 2.1.15.
It also introduces Mac ARM64 launchers built on coursier's own CI, rather than with a slight delay in an external repository.
What's Changed
- Add new
catcommand by @alexarchambault in #3141
Updates / maintenance
- Address some compilation warnings by @alexarchambault in #3142
- Add
--releaserelated javac options in scala modules too by @alexarchambault in #3146 - Add Mac ARM CI by @alexarchambault in #3148
- Add extra installation instruction for ARM64 Windows by @Friendseeker in #3147
New Contributors
- @Friendseeker made their first contribution in #3147
Full Changelog: v2.1.15...v2.1.16
v2.1.15
What's Changed
- Add --jdk-version option by @alexarchambault in #3109
- Avoid using FileInputStream and FileOutputStream by @alexarchambault in #3120
- Stop cross-compiling cli module by @alexarchambault in #3123
- Support new indices published on Maven Central by @alexarchambault in #3127
- Slightly rework API for coursier-provided JVM channels by @alexarchambault in #3128
- Stop using FileInputStream by @alexarchambault in #3132
- Try to generate attestations for build artifacts by @alexarchambault in #3131
- Skip directories when listing installed tools, fix #3117 by @allxiao in #3118
Updates / maintenance
- Remove argonaut-shapeless dependency from jvm module by @alexarchambault in #3094
- Miscellaneous stuff by @alexarchambault in #3099
- Address some more compilation warnings by @alexarchambault in #3100
- Address some compilation warnings by @alexarchambault in #3101
- Bump cookie and express in /doc/website by @dependabot in #3104
- Update os-lib to 0.11.2 by @scala-steward in #3105
- Update os-lib to 0.11.3 by @scala-steward in #3106
- Add more resolution tests by @alexarchambault in #3107
- NIT tests stuff by @alexarchambault in #3108
- Update http4s-dsl, http4s-server to 0.23.29 by @scala-steward in #3111
- Add resolution consistency check by @alexarchambault in #3112
- Actually run tests on Scala.JS by @alexarchambault in #3114
- Refactor build before bumping Mill to 0.12 by @alexarchambault in #3115
- Address some compilation warnings by @alexarchambault in #3119
- Don't hardcode cs version in workflows by @alexarchambault in #3121
- Don't assume the tests run from the root of the project by @alexarchambault in #3116
- Update Mill to 0.12.0 by @alexarchambault in #3113
- Run Windows CI on Java 17 by @alexarchambault in #3126
- Update workflow mac image by @alexarchambault in #3125
- Pass unique upload names to upload-artifact action by @alexarchambault in #3130
- NIT by @alexarchambault in #3129
- Bump actions/download-artifact from 3 to 4 by @dependabot in #3074
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #3014
- Bump actions/download-artifact from 3 to 4 by @dependabot in #3135
- Address case app related warnings by @alexarchambault in #3133
- Update plexus-archiver to 4.9.2 by @scala-steward in #2951
- Update scala-cli:config to 1.1.3 by @scala-steward in #2933
- Update scala-async to 1.0.1 by @scala-steward in #2173
- Update mill-mima to 0.1.11 by @alexarchambault in #3138
- Dynamically compute mima previous versions by @alexarchambault in #3139
- Build things with JDK 17, but preserve Java 8 compat anyway by @alexarchambault in #3137
New Contributors
Full Changelog: v2.1.14...v2.1.15
v2.1.14
What's Changed
- Fix #3085: Ignore info extra attributes in POM dependencies by @adpi2 in #3088, #3089
- Add klib in default type list by @alexarchambault in #3093
Updates / maintenance
- Bump send and express in /doc/website by @dependabot in #3078
- Bump serve-static and express in /doc/website by @dependabot in #3077
- Update mdoc to 2.6.1 by @scala-steward in #3079
- Bump coursier/setup-action from 1.3.5 to 1.3.6 by @dependabot in #3080
- Update scala-library, scala-reflect to 2.13.15 by @scala-steward in #3081
- Update proguard-base to 7.6.0 by @scala-steward in #3087
- Update ujson to 4.0.2 by @scala-steward in #3082
Full Changelog: v2.1.13...v2.1.14