typelevel/mouse
63.2
Adequate · 6 November 2026
2.1k
lines of production code
Scala
primary language
4
measurements over time
What this system is
Features
Add JS-specific mouse package object with AllJsSyntax
A new \mouse/package.scala\ file has been added for the Scala 2 JS module, defining the root \mouse\ object. This object exposes the standard syntax namespaces (such as \list\, \option\, \string\, etc.) and introduces a new \all\ namespace that mixes in \AllJsSyntax\ alongside \AllSharedSyntax\. This change enables JavaScript-specific syntax extensions to be available via \mouse.all.\*\ for Scala 2 JS users.
js/src/main/scala-2 · high confidence
Add JVM-specific string parsing for URLs, URIs, and UUIDs
Users can now parse strings into java.net.URL, java.net.URI, and java.util.UUID instances directly on the JVM. New extension methods (parseURL, parseURI, parseUUID) are available on String, each provided in three variants: one returning an Either to handle errors explicitly, one returning a Validated for applicative error accumulation, and one returning an Option for simple success/failure checks.
jvm/src/main/scala · high confidence
Add Scala 3-specific mouse syntax for JS List and Set
Users of Scala 3 on JavaScript can now use the \mouse.list\ and \mouse.set\ syntax extensions, which are now explicitly defined in the \js/src/main/scala-3/mouse/package.scala\ file. This change introduces a dedicated package object for Scala 3 JS that extends \MouseFunctions\ and exposes specific syntax objects including \list\ and \set\, alongside other standard types like \int\, \string\, and \option\. This allows for type-class-based syntactic sugar for \List\ and \Set\ operations in Scala 3 JS projects using the mouse library.
js/src/main/scala-3 · high confidence
Add Scala Native support for mouse syntax extensions
Users can now use the mouse library's syntax extensions (such as \string\, \option\, \list\, etc.) in Scala Native projects. This change introduces platform-specific package definitions for Scala 2 and Scala 3 under \native/src/main/scala-2\ and \native/src/main/scala-3\ that expose the shared syntax objects, enabling the library to compile and function correctly on the Native target.
native · high confidence
Add boilerplate generator for F\[TupleN\] syntax and update build infrastructure
The build now includes a code generator (Boilerplate.scala and GenFTupleNSyntax.scala) that automatically produces \FTupleNSyntax\ trait implementations for tuples of arity 3 through 22, providing lifted access to tuple elements via \Functor\. This generator is wired into the sbt build, which has been updated to use sbt 1.13.0 and upgraded plugins including sbt-scalajs 1.22.0, sbt-scala-native 0.5.12, and sbt-typelevel 0.8.7.
project · high confidence
Added JavaScript-specific syntax trait
A new file \js/src/main/scala/mouse/js.scala\ has been added, defining the \mouse.AllJsSyntax\ trait. This provides a dedicated entry point for JavaScript-specific syntax extensions, allowing users to import and use mouse features tailored to the Scala.js environment.
js/src/main/scala · high confidence
Exposes Scala 2-specific syntax extensions via the mouse package object
The \mouse\ package object now extends \MouseFunctions\ and exposes a structured set of syntax extensions for Scala 2 users. It provides access to various type-specific syntaxes (such as \boolean\, \list\, \option\, \string\, and \tuple\) through nested objects, while also aggregating shared and JVM-specific syntaxes under \all.any\ and \all.anyf\. This change consolidates the available implicit conversions and extension methods for the Scala 2 JVM module, making them directly accessible via the \mouse\ package.
jvm/src/main/scala-2 · high confidence
Mouse library syntax enrichment for Scala collections and types
This change introduces the Mouse library's syntax enrichment traits in the shared source directory, providing extension methods for standard Scala types and Cats effect types. Users gain convenient methods such as \squared\ and \toByteArray\ for numeric types, \tailOption\ for lists, \mapKeys\ for maps, and extensive functional programming helpers for \Option\, \Either\, \Boolean\, and nested effect types (e.g., \flatMapOrKeepIn\, \getOrRaise\). The implementation includes version-specific compatibility shims for \SortedSet\ across Scala 2.12, 2.13, and 3, ensuring consistent behavior regardless of the Scala version used.
shared/src/main · high confidence
Scala 3 syntax extensions for JVM
A new package object is introduced in the Scala 3 source directory, exposing type-class-based syntax extensions for JVM types. This adds convenient extension methods for standard collections (List, Set, Map), primitives (Int, Long, Double, String), and functional types (Option, Either, Try, Boolean), enabling a more idiomatic Scala 3 API for these types.
jvm/src/main/scala-3 · high confidence
Behavioural changes
Library rebranded to Mouse with expanded Scala 3 and Cats support
The project has been renamed to Mouse and migrated to the Typelevel organization, updating the license and CI badges to reflect this change. The library now supports Scala 2.12, 2.13, and Scala 3.0, as well as Scala.js 1.x, and provides a comprehensive set of type class enrichments for standard library types (such as Option, Either, Try, List, Map, and Tuple) to integrate with the Cats ecosystem. Documentation has been significantly expanded in the README to include usage examples for these new features, and developer guidelines have been added to DEV.md.
(repo-wide) · high confidence
Test coverage
Added JVM-specific string parsing tests; Added Scala 3 test suite for Mouse; Added comprehensive test coverage for Mouse syntax extensions; Added test suite for tuple syntax operations.
Dependencies
Update core dependencies and Scala versions
The build configuration has been updated to use Scala 2.12.21, 2.13.18, and 3.3.8, with the default version set to Scala 2.13.18. The primary library dependency, cats-core, has been upgraded to version 2.13.0. Test dependencies have also been updated, with munit moving to 1.3.6 and munit-scalacheck to 1.3.1. Additionally, the project now supports cross-compilation for JavaScript and Native platforms alongside the JVM, and binary compatibility checks have been configured to exclude version 1.0.1.
(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 61 → 63 (+2.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 74 → 74 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 53 → 58 (+5.2)
- Readiness 58 → 58 (+0.0)
- Security 65 → 65 (+0.0)
- Performance 100 → 100 (+0.0)
Findings
- No change — the same findings as the prior survey.
Changes since last survey
- 4 commits — 4 feature/other, 0 fixes
By area
- (repo) — 2 commits
- (root) — 1 commit
- project/build.properties — 1 commit
Notable commits
- change: Merge pull request #653 from typelevel/update/sbt-1.13.1
- change: Merge pull request #654 from typelevel/update/scala3-library-3.3.9
- change: Update sbt, scripted-plugin to 1.13.1
- change: Update scala3-library, ... to 3.3.9
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
typelevel/mouse 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 6 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 18359d084e7e8f6b16a7cdce1cfb20fc3e0756bf — the exact code this score is about.
- Scored under rubric-2026.11.2 — 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.3+preprod-60d1b390edf0.