playframework/play-slick
58.7
Adequate · 14 November 2026
716
lines of production code
Scala
primary language
5
measurements over time
What this system is
Architecture
Reorganized build infrastructure with new AutoPlugins and dependency management
The project's build structure has been reorganized into dedicated Scala files (Common, Dependencies, Omnidoc, Playdoc) to improve modularity. This change introduces new sbt AutoPlugins: Common sets test execution settings, Omnidoc adds source URL metadata to JAR manifests for documentation linking, and Playdoc handles the packaging of Play documentation artifacts. Dependency management is now centralized in Dependencies.scala, defining specific versions for Slick (3.6.1), H2 (2.5.252), and Play (via the interplay plugin), while plugins.sbt configures the sbt-plugin, play-docs-sbt-plugin, sbt-scalafmt, sbt-mima-plugin, and sbt-ci-release.
project · high confidence
Behavioural changes
Introduce Slick-based DBApi adapter for evolutions
The evolutions module now includes a new EvolutionsModule and DBApiAdapter that bridges Play's standard DBApi interface to the Slick database configuration. This allows the evolutions system to correctly read database URLs and manage connections (including autocommit and transaction isolation) directly from Slick's data sources, resolving issues where connection leaks or ambiguous configurations previously occurred.
src/evolutions/src/main · high confidence
Refactored database configuration to use dependency injection and lazy initialization
The core database access API has been restructured to rely on dependency injection via the new \SlickApi\ and \DatabaseConfigProvider\ traits, replacing the previous global \Play.current\ lookups. Configuration is now centralized in \reference.conf\ under \play.slick.db\, and database instances are initialized lazily to prevent early initialization errors. Deprecated global accessors have been removed in favor of injecting \DatabaseConfigProvider\ (optionally named via \@NamedDatabase\) or accessing \SlickApi\ directly, ensuring cleaner lifecycle management and shutdown hooks for database connections.
src/core/src/main · high confidence
Repository reorganization and tooling standardization
The repository has been reorganized to align with Play Framework standards: the project is now published under the \org.playframework\ Maven group ID, the default branch has been renamed to \main\, and the license has been standardized to Apache 2.0. Additionally, the codebase is now formatted using scalafmt version 3.11.5, and the README has been updated with comprehensive version compatibility matrices and community badges.
(repo-wide) · high confidence
Test coverage
Added test utility for accessing Play reference configuration; Added tests for DBApiAdapter autocommit behavior and EvolutionsModule DI bindings; Added unit tests for Slick database integration components.
Dependencies
Upgrade to Play 2.8.0-M2 and Scala 2.13.18
The build configuration has been updated to target Play 2.8.0-M2 and Scala 2.13.18, with the default Scala version set to 2.13. This change also configures the project to compile against Java 17 and enables binary compatibility checks (MiMa) against version 6.1.0 to ensure API stability for upcoming releases.
(dependencies) · 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 59 → 59 (-0.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 76 → 75 (-0.2)
- Architecture 80 → 80 (+0.0)
- Maturity 49 → 49 (+0.0)
- Readiness 74 → 72 (-2.0)
- Security 60 → 60 (+0.0)
New (1)
- Edited copy of a member (4 corresponding lines) (docs/manual/working/scalaGuide/main/sql/slick/code/DI.scala)
Changes since last survey
- 6 commits — 6 feature/other, 0 fixes
By area
- (repo) — 3 commits
- project/build.properties — 2 commits
- project/Dependencies.scala — 1 commit
Notable commits
- change: Merge pull request #1209 from scala-steward/update/sbt-2.1.0-RC2
- change: Merge pull request #1210 from scala-steward/update/patches
- change: Merge pull request #1213 from scala-steward/update/sbt-2.1.0-RC3
- change: sbt 2.1.0-RC2 (was 2.1.0-RC1)
- change: sbt 2.1.0-RC3 (was 2.1.0-RC2)
- change: scala3-library 3.3.9 (was 3.3.8)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
playframework/play-slick 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 9bc63f4a05b43af3be5d8dda28108453d9684693 — 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.