import { VersionInfo } from '@start9labs/start-sdk' // Bugfix: the Gmail backfill crashed with "'NoneType' object is not iterable" on any // email with no Reply-To header (parsed reply_to=None hit `for a in parsed.get(kind, [])`, // which returns None when the key is present-but-None) — aborting the whole backfill. // Fixed with `or []`. Also: "Sync now" now clears error status so a previously-errored // mailbox is retried (the scheduler deliberately skips error accounts); backfill resumes // from its saved cursor and dedups by Message-ID. No schema migration. export const v_0_1_0_62 = VersionInfo.of({ version: '0.1.0:62', releaseNotes: { en_US: [ 'Fixes a bug that stopped the Gmail backfill on any email without a Reply-To header', '(most of them), which is why capture stalled. After updating, open Email Capture and', 'click Sync now to resume — it picks up where it left off and will not double-capture.', ].join(' '), }, migrations: { up: async () => {}, down: async () => {} }, })