import { VersionInfo } from '@start9labs/start-sdk'

// v0.1.0:104 — Remove the Instructions + Feedback pages (and their backend) and retire the empty
// lp_profiles table + investor_type (a deliberate, one-off exception to never-hard-delete; in-app
// migration 0008 drops lp_profiles + feature_requests, and 0001's lp_profiles ALTER was removed so a
// fresh DB doesn't break the migration chain). Fixes: email sync no longer terminally parks a mailbox
// on a transient timeout (auto-retry with an hourly backoff, so stuck mailboxes self-heal); the mobile
// Contacts directory pages through ALL contacts (one fetch silently truncated at 720, hiding people
// from the list + search); a clock icon on the mobile email Review-log sets a reminder inline; email-
// approval cards show date/time. New: an admin-only purge of soft-deleted rows (type-to-confirm,
// refuses any row still linked to live data). The table drop is an in-app SQL migration — no
// StartOS-level migration needed.
export const v_0_1_0_104 = VersionInfo.of({
  version: '0.1.0:104',
  releaseNotes: {
    en_US: [
      'Removed the Instructions and Feedback pages and the retired lp_profiles table. Email sync now',
      'auto-recovers from transient timeouts; the mobile Contacts list shows everyone (was capped at',
      '500); set a reminder from a mobile email review; approval cards show date/time; and admins can',
      'permanently purge soft-deleted rows.',
    ].join(' '),
  },
  migrations: { up: async () => {}, down: async () => {} },
})
