rtimush/sbt-updates
60.4
Adequate · 14 November 2026
953
lines of production code
Scala
primary language
5
measurements over time
What this system is
Features
Add HTML-based version extraction capability
The metadata extractor now supports extracting version numbers from HTML content. A new \HtmlVersionExtractor\ class uses a regular expression to identify version strings within anchor tags, and a \VersionExtractor\ type alias is introduced in the package object to define the extraction interface.
src/main/scala/com/timushev/sbt/updates/metadata/extractor · high confidence
Initial project setup and configuration
This change establishes the foundational configuration for the sbt-updates project. It introduces \.scalafmt.conf\ to enforce code formatting with scalafmt version 3.11.5 and specific style rules, and \.scala-steward.conf\ to configure automated dependency updates by pinning the sbt version to the 1.x series and ignoring the scripted-plugin. Additionally, it adds standard repository files including \CONTRIBUTING.md\, \LICENSE\ (BSD 3-Clause), and updates \.gitignore\ to exclude build artifacts and BSP directories, while \README.md\ documents the plugin's installation, tasks, and settings for sbt 0.13, 1.x, and 2.x.
(repo-wide) · high confidence
Removals
Removed SBT 0.11 plugin implementation files
The source files for the SBT 0.11 version of the plugin (CrossVersion.scala, UpdatesPlugin.scala, and UpdatesPluginTasks.scala) have been deleted from the project. This change removes the specific implementation code for the SBT 0.11.x series, aligning with the decision to disable cross-building for that version.
src/main/scala-sbt-0.11 · high confidence
Behavioural changes
Dependency updates plugin refactored with new reporting and authentication features
The plugin has been restructured to support writing dependency update reports to files in both text and CSV formats, controlled by the new \dependencyUpdatesReport\ and \dependencyUpdatesCsvReport\ tasks. It now allows builds to fail if updates are found via the \dependencyUpdatesFailBuild\ setting, and includes dependencies from \dependencyOverrides\ when checking for updates. Authentication is handled using standard HTTP Basic auth with configurable timeouts, and the plugin now supports filtering updates via \dependencyUpdatesFilter\ (replacing the deprecated \dependencyUpdatesExclusions\) and optionally including pre-release versions via \dependencyAllowPreRelease\. The underlying implementation has been modernized to use Scala futures instead of dispatch promises and a custom version parser instead of semverfi.
src/main/scala/com/timushev/sbt/updates · high confidence
Introduce Scala 3 compatibility layer
Added a new \Compat.scala\ file for Scala 3 (\src/main/scala-3\) to support cross-compilation alongside the existing Scala 2.12 version. This file implements the \Compat\ object with methods for setting settings, converting credentials, and handling uncached tasks, using Scala 3-specific syntax and imports (such as \Def.Settings\ and \Uncached\) to ensure the plugin functions correctly on both Scala 2.12 and Scala 3.
src/main/scala-2.12 · high confidence
Refactored metadata loading with caching and Ivy support
The metadata loading logic in the \metadata\ package has been restructured to improve performance and repository compatibility. A new \CachingMetadataLoader\ wraps loaders to cache version lookups, preventing redundant network requests for the same module. The system now supports Ivy-style repository patterns via a new \IvyMetadataLoader\, which extracts versions from HTML listings, in addition to the existing Maven XML metadata support. A \CompoundMetadataLoader\ allows combining multiple loaders for a single resolver, and a factory pattern with synchronized access ensures thread-safe creation and caching of these loaders.
src/main/scala/com/timushev/sbt/updates/metadata · high confidence
Replaced external semver library with custom version parser and ordering
The plugin now uses a custom-built version parser and ordering logic instead of the external semverfi library. This change introduces support for parsing versions prefixed with 'v', allows hyphens in pre-release identifiers, treats the '+' character as a patch version component, and recognizes 'Final' and 'Release' as release qualifiers. It also implements natural string ordering for version parts and ensures numeric version parts use long integers to prevent overflow, resulting in more robust version comparison and parsing behavior for users.
src/main/scala/com/timushev/sbt/updates/versions · high confidence
Support authentication headers and repository-scoped credentials
The authentication module now supports custom HTTP headers in addition to standard username/password credentials. It introduces a new configuration path via \csrConfiguration\ (Coursier settings) to load repository-specific authentication, allowing users to define credentials scoped to a specific repository ID rather than just a host. The system prioritizes repository-scoped credentials over host-based ones and correctly parses both sbt \Credentials\ and Coursier authentication structures.
src/main/scala/com/timushev/sbt/updates/authentication · high confidence
Test coverage
Added scripted test for sbt-updates with sbt-scalafmt; Added scripted tests for cross-Scala version support; Added scripted tests for dependency update filtering and cross-build scenarios; Added scripted tests for the auto-updates plugin; Added scripted tests for the includes feature; Added test case for sbt-updates dependency checking; Added test coverage for sbt plugin dependency updates; Added test coverage for update detection, dependency overrides, and CSV reporting; Added test for missing credentials handling; Added test for sbt-updates plugin detection on Maven Central; Added tests for cross-version and standard dependency overrides; Added tests for version parsing and ordering logic; Added unit tests for metadata loading and repository pattern logic; Updated scripted test for sbt-updates plugin.
Dependencies
Upgrade to SBT 1.13 and modernize build infrastructure
The build system has been upgraded from SBT 0.12 to 1.13, replacing the legacy sbt-cross-building plugin with sbt-projectmatrix to enable cross-building against multiple SBT versions. This change introduces a new SbtAxis configuration that automatically maps SBT versions to appropriate Scala versions (2.12 for SBT 1.x, 3.8.4 for SBT 2.x) and updates core plugins including sbt-scalafmt, sbt-git, sbt-git-versioning, and sbt-pgp to their latest versions.
project · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 60 → 60 (+0.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 75 → 75 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 51 → 51 (-0.2)
- Readiness 61 → 62 (+1.3)
- Security 62 → 62 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (1)
- Off-boarding risk: anonymized user #1
New (1)
- Off-boarding risk: anonymized user #1
Changes since last survey
- 11 commits — 11 feature/other, 0 fixes
By area
- (repo) — 4 commits
- (root) — 3 commits
- .github/workflows — 3 commits
- project/build.properties — 1 commit
Notable commits
- change: Bump sbt/setup-sbt from 1.5.12 to 1.5.13
- change: Bump sbt/setup-sbt from 1.5.13 to 1.5.14
- change: Explain how to keep working on older sbt versions
- change: Merge pull request #511 from scala-steward/update/sbt-1.13.1
- change: Merge pull request #512 from rtimush/dependabot/github_actions/sbt/setup-sbt-1.5.13
- change: Merge pull request #513 from rtimush/dependabot/github_actions/sbt/setup-sbt-1.5.14
- change: Merge pull request #514 from frikit/test-matrix
- change: Run each scripted row on its own sbt version
- change: Test on every LTS JDK that each sbt series supports
- change: Test the oldest supported sbt in scripted tests
- change: Update sbt to 1.13.1
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
rtimush/sbt-updates was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit fe8f529a6d473ca39568f088487ba9b47abec715 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.