- Migration 20261122130000_release_notes.sql: release_notes (version, title,
grouped items, draft/published/withdrawn) and release_note_reads; RLS on,
no table privilege for app/service roles; users go through service-role
functions list_release_notes_for_user / mark_release_note_read (a version
published before the account existed counts as seen); the admin writes
through audited admin_save_release_note / admin_set_release_note_status
gated by the new content.release_notes.write (owner, operations,
content_editor) and reads via an admin_runtime select policy.
- APIs: GET/POST /api/release-notes (signed-in user only) and GET/POST
/api/admin/release-notes.
- Admin page 更新说明: table + editor drawer with 新功能/修复/改进 lists and a
live preview; 保存草稿 / 发布 / 撤回.
- User side: 「本次更新」 dialog once per version (知道了 records the read);
settings gets an 更新说明 pane (phone segmented nav becomes four).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8