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

// Communications tab is matched-only. Code-only, no schema change (migrations are no-ops):
//   * query_email_activity now gates on EXISTS(email_investor_links), so the admin
//     email-activity panel surfaces ONLY email that links to a known investor/contact.
//     Unmatched cold/unknown-sender email is still captured (metadata-only) but never shown.
//   * Graveyard investors are unaffected (their email has a link) — still hidden from the
//     picker but visible/searchable as an audit surface.
export const v_0_1_0_81 = VersionInfo.of({
  version: '0.1.0:81',
  releaseNotes: {
    en_US: [
      'The Communications tab now shows only email matched to a known investor or contact.',
      'Unmatched cold/unknown-sender email is captured but no longer surfaced. No data changes.',
    ].join(' '),
  },
  migrations: { up: async () => {}, down: async () => {} },
})
