Releases: coursier/coursier
v2.1.25-M1
What's Changed
- Fix JSON report tests and tweak report generation by @alexarchambault in #3247
- Don't assume /lib and /usr/sbin exist in musl check by @alexarchambault in #3251
- Use VersionConstraint and Version rather than String for versions by @alexarchambault in #3242
- Rework latest handling by @alexarchambault in #3257
- Add Variant and VariantSelector ADTs by @alexarchambault in #3269
- Fix fallback logger messages, and change Repository#find0 signature by @alexarchambault in #3268
- Have ArchiveCache handle .jar files by @alexarchambault in #3272
Updates / maintenance
- Update utest to 0.8.5 by @scala-steward in #3231
- Update scala-library, scala-reflect to 2.13.16 by @scala-steward in #3234
- Update scalafmt-core to 3.8.5 by @scala-steward in #3240
- Update ujson to 4.1.0 by @scala-steward in #3230
- Tweak format by @alexarchambault in #3243
- Update Scala.JS to 1.18.1 by @alexarchambault in #3244
- NIT by @alexarchambault in #3245
- Add more json report tests by @alexarchambault in #3246
- Revert "Fix JSON reports - a dependency can have several artifacts" by @alexarchambault in #3248
- Add more JSON report tests by @alexarchambault in #3249
- Update cs download url for Apple Silicon by @leonheldattoradex in #3232
- Increase helper server launch timeout by @alexarchambault in #3253
- Update data-class to 0.2.7 by @scala-steward in #3254
- Update cats-core, cats-free to 2.13.0 by @scala-steward in #3255
- Add JSON report bouncy castle test by @alexarchambault in #3252
- Rework auth proxy stuff by @alexarchambault in #3256
- Remove superfluous override by @alexarchambault in #3260
- Minor things by @alexarchambault in #3262
- Extra report tests by @alexarchambault in #3263
- Update scala-collection-compat to 2.13.0 by @scala-steward in #3265
- Update mdoc to 2.6.3 by @scala-steward in #3266
- Use more standard syntax to define tests by @alexarchambault in #3261
- Update scalafmt-core to 3.8.6 by @scala-steward in #3258
- Update mill-main to 0.12.7 by @scala-steward in #3264
- Minor refactorings by @alexarchambault in #3270
- NIT by @alexarchambault in #3273
New Contributors
- @leonheldattoradex made their first contribution in #3232
Full Changelog: v2.1.24...v2.1.25-M1
v2.1.24
What's Changed
- Detect when we're running on linux-musl (like Alpine Linux) by @alexarchambault in #3227
Fixes
- Stop using System.console() == null by @alexarchambault in #3216
- Fix dependency import vs parent precedence in BOMs by @alexarchambault in #3226
Updates / maintenance
- Update directories sub-module by @alexarchambault in #3198
- Update cats-effect to 3.5.7 by @scala-steward in #3211
- Update mdoc to 2.6.2 by @scala-steward in #3210
- Update jsoup to 1.18.3 by @scala-steward in #3208
- Update http4s-blaze-server to 0.23.17 by @scala-steward in #3206
- Update java-diff-utils to 4.15 by @scala-steward in #3204
- Update windows-ansi to 0.0.6 by @scala-steward in #3203
- Update http4s-dsl, http4s-server to 0.23.30 by @scala-steward in #3207
- Use directories as a Maven dep rather than a sub-module by @alexarchambault in #3215
- Update directories to 0.1.2 by @alexarchambault in #3217
- Update logback-classic to 1.5.16 by @scala-steward in #3214
- Update proguard-base to 7.6.1 by @scala-steward in #3201
- Update plexus-archiver to 4.10.0 by @scala-steward in #3205
- Update cs launcher used in docker-based ITs by @alexarchambault in #3219
- Clean-up thing in build by @alexarchambault in #3220
- Bump Mill by @alexarchambault in #3218
- Get Java 8 boot class path from a native ARM JDK on Mac ARM by @alexarchambault in #3228
- Add back some tests for JVM CLI launcher by @alexarchambault in #3221
- Update GraalVM by @alexarchambault in #3222
Full Changelog: v2.1.23...v2.1.24
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
cat
command by @alexarchambault in #3141
Updates / maintenance
- Address some compilation warnings by @alexarchambault in #3142
- Add
--release
related 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