# Changelog

## Score

- CAI 68 → 67 (-0.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 85 → 84 (-1.2)
- Architecture 88 → 90 (+1.9)
- Maturity 69 → 71 (+1.5)
- Readiness 60 → 66 (+5.5)
- Security 73 → 61 (-11.8)
- Domain Modelling 81 (new)
- Performance 85 → 100 (+15.0)

## Resolved (136)

- AuthClient.claims (cognitive 18) (Sources/Auth/AuthClient.swift)
- Dependency not covered by the committed resolution: swift-issue-reporting
- Duplicated block (10 lines × 4) (Examples/Examples/Auth/AuthWithMagicLink.swift)
- Duplicated block (10 lines × 6) (Examples/Examples/Auth/AuthWithEmailAndPassword.swift)
- Duplicated block (10–11 lines × 2) (Sources/Auth/AuthClient.swift)
- Duplicated block (11 lines × 2) (Examples/Examples/Auth/AuthWithMagicLink.swift)
- Duplicated block (11 lines × 2) (Sources/PostgREST/Untyped/PostgrestClient.swift)
- Duplicated block (11 lines × 2) (Sources/PostgrestMacrosPlugin/SelectionOfMacro.swift)
- Duplicated block (11 lines × 2) (Sources/Storage/ObjectListing.swift)
- Duplicated block (11 lines × 6) (Examples/Examples/Storage/FileDownloadView.swift)
- Duplicated block (12 lines × 2) (Examples/Examples/Profile/ProfileView.swift)
- Duplicated block (12 lines × 2) (Sources/PostgREST/Untyped/PostgrestQueryBuilder.swift)
- Duplicated block (12 lines × 3) (Examples/Examples/Auth/AuthWithMagicLink.swift)
- Duplicated block (12 lines × 3) (Examples/Examples/Profile/UpdateProfileView.swift)
- Duplicated block (12 lines × 3) (Sources/Auth/Types.swift)
- Duplicated block (12 lines × 4) (Sources/Auth/Types.swift)
- Duplicated block (13 lines × 2) (Examples/Examples/Auth/SignInWithPhone.swift)
- Duplicated block (14 lines × 2) (Examples/Examples/Storage/FileDownloadView.swift)
- Duplicated block (15 lines × 2) (Sources/Storage/Types.swift)
- Duplicated block (16–20 lines × 3) (Examples/Examples/MFAFlow.swift)
- …and 116 more

## New (419)

- CamelToSnake.swift.camelToSnakeCase (cognitive 16) (Sources/PostgrestMacrosPlugin/Support/CamelToSnake.swift)
- Duplicated block (10 lines × 2) (Sources/Auth/Types.swift)
- Duplicated block (10 lines × 2) (Sources/PostgREST/Query/PostgrestFunction.swift)
- Duplicated block (11 lines × 3) (Sources/PostgrestMacrosPlugin/FunctionMacro.swift)
- Duplicated block (11 lines × 6) (Examples/Examples/Storage/FileDownloadView.swift)
- Duplicated block (12 lines × 2) (Examples/Examples/Realtime/BinaryBroadcastView.swift)
- Duplicated block (12 lines × 2) (Sources/PostgREST/Untyped/PostgrestQueryBuilder.swift)
- Duplicated block (13 lines × 2) (Sources/Functions/FunctionsError.swift)
- Duplicated block (14 lines × 2) (Examples/Examples/Storage/FileDownloadView.swift)
- Duplicated block (15 lines × 2) (Sources/Auth/CustomProvider.swift)
- Duplicated block (15 lines × 2) (Sources/PostgREST/PostgrestError.swift)
- Duplicated block (19 lines × 2) (Sources/PostgrestMacrosPlugin/FunctionMacro.swift)
- Duplicated block (23 lines × 2) (Examples/Examples/Auth/ImportSessionView.swift)
- Duplicated block (26 lines × 2) (Sources/PostgrestMacrosPlugin/Support/CamelToSnake.swift)
- Duplicated block (5 lines × 2) (Sources/Functions/FunctionStreamResponse.swift)
- Duplicated block (5 lines × 2) (Sources/PostgREST/Filters/PostgrestFilterValue.swift)
- Duplicated block (6 lines × 2) (Examples/Reminders/App/Supabase/ListsRepository.swift)
- Duplicated block (6 lines × 2) (Sources/Auth/WebAuthn/WebAuthnTypes.swift)
- Duplicated block (6–7 lines × 2) (Sources/Auth/WebAuthn/WebAuthnOptions.swift)
- Duplicated block (7 lines × 2) (Sources/Auth/Types.swift)
- …and 399 more

## Changes since last survey

- 143 commits — 112 feature/other, 31 fixes

## By area

- Sources/Auth — 26 commits
- Sources/Realtime — 18 commits
- Tests/AuthTests — 16 commits
- (root) — 12 commits
- .github/workflows — 12 commits
- Tests/RealtimeTests — 11 commits
- Sources/Storage — 8 commits
- tools/supabase-typegen — 5 commits
- Sources/PostgREST — 4 commits
- Tests/IntegrationTests — 4 commits
- Examples/Examples — 3 commits
- Sources/Helpers — 3 commits
- Tests/DefaultIsolationTests — 3 commits
- Tests/PostgRESTTests — 3 commits
- Tests/StorageTests — 3 commits
- Examples/Reminders — 2 commits
- Tests/SupabaseTests — 2 commits
- (repo) — 1 commit
- .claude/skills — 1 commit
- Sources/Functions — 1 commit

## Notable commits

- fix: chore(examples): rewrite the Realtime example views and fix the presence example (#1722)
- fix: fix!: keep the default X-Client-Info out of configuration, and expose Auth retryEnabled on the facade (#1787)
- fix: fix!: make `isRetryable` internal; the SDK owns retry decisions (#1784)
- fix: fix!: middleware is the one way to send an access token, with one failure shape (#1779)
- fix: fix!: shared error kinds, and wrap every client-side refusal as `.invalidRequest` (#1778)
- fix: fix(auth)!: handle only redirects to a known callback, drop sb_flow_id, share the flow index per key (#1743)
- fix: fix(auth): a failed linkIdentityURL request removes its PKCE flow (#1712)
- fix: fix(auth): exchangeCodeForSession fails before the request when the PKCE verifier is missing (#1523)
- fix: fix(auth): keep a newer stored session and guard user updates by user id (#1741)
- fix: fix(auth): keep a newer stored session when a rejected refresh signs out (#1660)
- fix: fix(auth): stop treating any message link as an email-change redirect (#1708)
- fix: fix(helpers): HTTPClient owns cancellation mapping, the error-body cap, and the 429 rule (#1775)
- fix: fix(helpers): keep LoggerInterceptor from failing a request when a body outgrows its declared length (#1796)
- fix: fix(helpers): report an unknown length for an encoded response body (#1806)
- fix: fix(postgrest): make @Table, @SelectionOf, and @Function expansions compile under default MainActor isolation (#1747)
- fix: fix(postgrest): maybeSingle() no-row status and exact GET RPC arguments (#1789)
- fix: fix(realtime)!: httpSend sends the configured headers, and Authorization only with a token (#1780)
- fix: fix(realtime)!: rejoin a channel after a server phx_error (#1744)
- fix: fix(realtime): don't rejoin a channel the caller unsubscribed across a reconnect (#1601)
- fix: fix(realtime): let a subscribed channel join again after disconnect() (#1669)
- …and 123 more
