github scala-steward-org/scala-steward v0.40.0
v0.40.0 Vulnerability checks

35 minutes ago

What's Changed

Scala Steward now offers opt-in vulnerability checks for dependency updates. To enable them, start Scala Steward with --enable-vulnerability-check.

When enabled, Steward checks dependencies against OSV and adds security context to update pull requests:

  • Updates that fix known vulnerabilities list the relevant advisories and receive a security-fix label when --add-labels is enabled.
  • If a proposed version is still affected, the PR lists the advisories and a version that fixes them.
  • A version that avoids an advisory can skip a configured cooldown when the normally selected update would leave or introduce that advisory. To disable this behavior, set updates.cooldown.skipForVulnerabilityCheck = false.

The check sends dependency coordinates and versions to OSV. You can exclude dependencies with vulnerabilityCheck.exclude or configure an OSV-compatible endpoint with --osv-api-host. Results are cached for --cache-ttl.

See the documentation for details.

This feature got contributed by @matejcerny

🚀 Enhancements

🐛 Bug Fixes

  • Fix grouped updates for artifacts that share a version val by @exoego in #4046

📦 Artifact Migrations

  • chore: Switch sbt-shading to sbt organization by @tgodzik in #4049
  • Add artifact migrations for mongo4s and logging4s (org.mongo4s / org.… by @shadowsmind in #4051

🌱 Dependency Updates

Other Changes

  • Look up the Mill version as mill-dist for Mill 1.x by @zAPFy in #4044

New Contributors

Full Changelog: v0.39.4...v0.40.0

Don't miss a new scala-steward release

NewReleases is sending notifications on new releases.