Skip to content
CAI
Software that uses CAICheck a score

absinthe-graphql/absinthe_phoenix

58.0

Adequate · 15 November 2026

977

lines of production code

Elixir

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Initial release of Absinthe.Phoenix 2.0.5 with comprehensive documentation and tooling setup

This entry marks the initial public release of the Absinthe.Phoenix package (version 2.0.5), providing the core library for integrating Absinthe GraphQL subscriptions with Phoenix via websockets. The release includes a complete project structure with a detailed README covering installation for Phoenix 1.5+, usage guides for GraphiQL, and configuration options for the subscription server. It also introduces standard repository governance files, including an MIT License, Code of Conduct, and Contributing guidelines, alongside development tooling such as \.formatter.exs\ for code formatting and \.tool-versions\ specifying Elixir 1.18.4 and Erlang 26.2.5. The changelog documents prior fixes for Elixir 1.19/OTP 28 compatibility and Decimal 3.0 support, as well as memory management improvements via periodic garbage collection.

(repo-wide) · high confidence

Introduce Absinthe Phoenix Controller integration

Adds new modules in lib/absinthe/phoenix/controller (Action, Blueprint, Result) that enable executing GraphQL queries directly from Phoenix controller actions. The Action module acts as a Plug, extracting the schema and document, parsing variables from request parameters, and running the Absinthe pipeline. The Result module formats the GraphQL execution output into a standard JSON-like structure (data/errors) suitable for HTTP responses, including support for the @put directive and proper error formatting.

lib/absinthe/phoenix/controller · high confidence

New Phoenix integration for GraphQL subscriptions and controller execution

This change introduces the \Absinthe.Phoenix\ module suite, enabling GraphQL capabilities directly within Phoenix applications. It adds \Absinthe.Phoenix.Socket\ and \Absinthe.Phoenix.Channel\ to handle real-time GraphQL subscriptions via Phoenix Channels, including support for periodic garbage collection of channel processes and proper unsubscription handling. Additionally, it provides \Absinthe.Phoenix.Controller\ to allow GraphQL documents to be executed directly inside Phoenix controller actions using the \@graphql\ module attribute, with automatic parameter coercion and result injection into action assigns. The suite also includes \Absinthe.Phoenix.Endpoint\ for PubSub integration, \Absinthe.Phoenix.Types\ for custom directives, and \Absinthe.Phoenix.SubscriptionTest\ for testing subscriptions.

lib/absinthe/phoenix · high confidence

Removals

Removal of Absinthe.Phoenix module

The \Absinthe.Phoenix\ module has been removed from the library. This change eliminates the module entirely, which may affect users relying on this specific component for Phoenix integration.

lib · high confidence

Behavioural changes

Migrate configuration syntax and update Phoenix logger level

The application configuration files have been updated to use the modern \import Config\ syntax instead of the deprecated \Mix.Config\, ensuring compatibility with current Elixir standards. Additionally, the default logger level in the test environment has been changed from \:warn\ to \:warning\ to align with updated Phoenix conventions, and the \Absinthe.Phoenix.TestEndpoint\ configuration now explicitly specifies the \pubsub\_server\.

config · high confidence

Test coverage

Added integration tests for Absinthe Phoenix channel subscriptions; Added test support infrastructure and updated test endpoint configuration; Added tests for Absinthe.Phoenix controller integration; Removed obsolete Absinthe.Phoenix integration test.

Dependencies

Major dependency upgrades and modernization

This release updates the project to require Elixir 1.15+ and upgrades core dependencies to support modern versions of the ecosystem. Key changes include upgrading Absinthe to the 1.5+ series (with a new dependency on absinthe\_plug), Phoenix to 1.5+, and Phoenix Pubsub to 2.0. The library now supports Phoenix.HTML versions 2.13, 3.0, and 4.0, as well as Decimal versions 1.0, 2.0, and 3.0. Additionally, Poison has been replaced by Jason for JSON handling in development and testing, and the package metadata has been expanded to include documentation and license information.

(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 58 → 58 (-0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 99 → 99 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 54 → 54 (+0.0)
  • Readiness 52 → 60 (+8.1)
  • Security 69 → 54 (-15.0)

Resolved (3)

  • Leaked secret: high-entropy-secret (config/test.exs)
  • Leaked secret: signing-key (config/test.exs)
  • Off-boarding risk: anonymized user #1

New (1)

  • Off-boarding risk: anonymized user #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

absinthe-graphql/absinthe_phoenix 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 15 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 41a79bfbad57f88a437555de3e064a3aac9b59e6 — 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-3c33c1882dc1.