v0.5.0
Added
- Added a Supabase-backed native app mode selected by launch environment, with email/password sign-in, sign-out, session restoration, and profile lookup.
- Added provider protocols and URLSession implementations for Supabase auth, access tokens, secure session storage, PostgREST reads/inserts, and RPC calls.
- Added native Supabase repositories for Crews and Notebooks, including remote crew/member mapping, notebook libraries, page details, notebook creation, page creation, and page saves.
- Added native Supabase migrations for crews, memberships, invites, notebooks, notebook pages, RLS policies, RPCs, optimistic page versioning, and foreign-key indexes.
- Added tests for auth/provider behavior, remote crew row mapping, and remote notebook row/page mapping.
- Added shared Xcode scheme data and completed execution plans for native Supabase crews/notebooks and real Supabase auth provider work.
Changed
- Changed the app root from a dev-session-only branch to dependency assembly that can run dev mode or Supabase mode.
- Changed Crews UI to accept injected Crews and Notebooks services, route remote data into the signed-in flow, and expose sign-out from the home surface.
- Changed Notebooks saves to send an expected page version and reject stale or invalid versions.
- Updated architecture, product, schema, RPC, realtime, and data-boundary docs for the native Supabase crew and notebook model.
Fixed
- Added missing foreign-key indexes for native Supabase tables reported by Supabase performance checks.
- Tightened native notebook page RLS policies to use explicit notebook/page references.
Journal
This change adds the first live-backend path beside Mode 1 dev data: native iOS can authenticate against Supabase, load crew and notebook data through provider boundaries, and save notebook pages through documented schema, RLS, and RPC contracts while keeping the app target thin.