kemah-ios

Changelog — Kemah Handoff Docs

All notable changes to the handoff spec (README.md + API_CONTRACT.md) are recorded here. Versioning is semantic-ish: MAJOR for breaking model/flow changes, MINOR for new features, PATCH for clarifications.

Each released version is archived verbatim under versions/; the files at the handoff root are always the latest.

[1.8.0] — 2026-07-27

Changed

headcount minimum turun dari 1 ke 0 Peserta dengan headcount: 0 dianggap ikut trip secara administratif tapi tidak menggunakan shared resources (contoh: driver, bayi, koordinator non-aktif). Mereka tidak mendapat porsi dari item Per-Orang, tapi tetap dihitung dalam flat-split Per-PIC (karena Per-PIC dibagi per peserta, bukan per headcount).

Frontend (iOS Swift)

Backend (FastAPI)

Auth rules

Test scenarios

Migration checklist (backend)

-- Tidak ada perubahan schema database.
-- Hanya perlu update validasi Pydantic dan logika split-bill di application layer.

[1.7.0] — 2026-07-27

Added

ownerId — identitas pemilik trip

userId — link peserta ke akun

Hapus peserta — DELETE /trips/:tripId/participants/:participantId

Keluar dari trip — DELETE /trips/:tripId/participants/me

Migration checklist (backend)

ALTER TABLE trips ADD COLUMN owner_id TEXT NOT NULL DEFAULT '';
ALTER TABLE participants ADD COLUMN user_id TEXT DEFAULT NULL;
-- Isi owner_id untuk trip yang sudah ada (contoh: ambil dari participant pertama)
UPDATE trips SET owner_id = (
  SELECT user_id FROM participants
  WHERE trip_id = trips.id AND user_id IS NOT NULL
  ORDER BY created_at ASC LIMIT 1
) WHERE owner_id = '';

[1.6.0] — 2026-07-25

Added

docsLink — link dokumentasi trip (Google Drive, Notion, dll)

Client-only (tidak ada perubahan endpoint):

Notes


[1.5.0] — 2026-07-25

Added

Photo uploads — trip cover, checklist items, budget items

[1.4.1] — 2026-07-25

Added

Invite links now resolve to something even without Universal Links

[1.4.0] — 2026-07-24

Added

Guest mode — preview a trip before signing in

[1.3.1] — 2026-07-24

Changed

Auth — Google Sign-In implemented (iOS)

[1.3.0] — 2026-07-24

Changed

Split Bill Logic — self-paid Per-PIC category (new)

Split Bill — backend-side (now required)

Split Bill API response — shape update (breaking)

UI — Dark mode

UI — AvatarStack overflow

Notes


[1.2.0] — 2026-07-23

Changed

Checklist tab — section split logic

Split Bill — transfer expansion

UI — Budget card

UI — Trip Detail header

UI — Split Bill CTA bar

Seed data (MockRepository — dev only)

Notes

[1.1.0] — 2026-07-22

Added

Changed

Notes

[1.0.0] — 2026-07-22 (initial handoff)

Added