Catalogue 0.12.2: Code clean-up, no change for a running site
Catalogue 0.12.2 is a code clean-up release. No change for a running site.
The mix phoenix_kit_catalogue.audit_supplier_refs task was split into smaller functions so it passes the project’s strict code checks, with the same behaviour. Update the dependency when convenient.
Full release notes: Catalogue 0.12.2
0.12.2 · 20 July 2026
Fixed
mix precommitwas failingcredo --strict—mix.tasks.phoenix_kit_catalogue.audit_supplier_refs‘saudit_junction_rows/2exceeded the nesting-depth and cyclomatic-complexity limits; split into per-source-pattern-matchedresolve_junction_row/3and abucket_junction_result/2reducer, same behavior. The remainingapply/2,3calls to the optionalPhoenixKitCRM.PartyRolesmodule (in this task and inCatalogue.Suppliers) are intentional — they avoid a hard compile-time reference to a soft dependency that may not be present — so they’re markedcredo:disable-for-next-lineinstead of being rewritten.
Notes
- Verification:
mix format,mix compile --warnings-as-errors,mix credo --strict, andmix dialyzerare all clean.mix testcould not be run in this environment (no local Postgres).
Catalogue 0.12.2. Install or update: {:phoenix_kit_catalogue, "~> 0.12"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.