Repository navigation
iglo.email 2.2.1 is a patch release with no new features, no API changes and no database migrations.
Changed behaviour
- A domain blocklisted during a campaign batch skips only that recipient (projects with an external source, D182). When a source gives a new or changed address and the privacy domain policy refuses it only at the write (the domain was blocklisted after the batch's reads), that recipient is now skipped with the reason
subscriber_unavailable. A "campaign recipient skipped: the source has no usable address" attention line gives the refusal's message, and the rest of the batch is sent without waiting. In 2.2.0 the whole batch was handed back with the "campaign waiting for its source: batch handed back" line, the campaign waited (5 s, doubling), and the recipient was skipped at the next read. Any other error at that write is handled as before: a transient error hands the batch back and the campaign waits for the source, and a source settings refusal pauses the campaign. - The source stream's "Source record failed for good" line names the record's own cause first (D186, which amends D182). When the one-record read at a record's position in the page and the read of that record by its ID fail for different causes (the record changed between the reads, or the first read met another record), the attention line and the record's terminal row (its last error in the retry queue, shown by
GET /api/settings/source/retriesand on the "Source retry queue" page) now give the read-by-ID cause first, then "(an earlier read at its position in the page: …)". When both causes are the same, one is given, as before. In 2.2.0 only the read-by-ID cause was given. backupprints the cause of a registry change (D183). When a whole backup fails with "The registered projects changed while the backup ran; run it again" because one of its steps failed while a project was created or deleted, a second stderr line,Cause: <message>, now gives that step's error, for exampledatabase is lockedor a full disk. If that cause is not about the project that changed, the rerun will meet it too. When no step failed and only the final comparison of the registry found the change, there is no cause and the message stays one line. Every other error still prints one line, and the exit code is unchanged.
Fixes
Backups (D183):
backup --verifyof a path that names nothing on disk, such as/dev/stdinon a pipe, prints "No backup at " instead of a rawENOENTerror.- When
--verifyis given a symlink to a bare snapshot that is not a regular file, the refusal now names the resolved path, as it already did for such a file inside a backup.
Documentation:
docs/operations.md"External sources" (D182): anexternal_idPocketBase cannot have can come from pushed events both before and after the project gets a source. Such a subscriber is absorbed or deleted as gone, and later pushed events for that ID get 404 (noemail) or 409 (the address is held). The send-time list now includes a blocked domain, including one blocklisted while a campaign batch is read.docs/operations.md"Projects" (D184, #261): a delete that stopped part way may leave the project's database. When the delete took its snapshot, the snapshot is a separate copy. A delete that stopped before its snapshot leaves that database as the project's only copy.
Known limitations
backup --verifyis meant for a backup that nothing changes while it runs. Its symlink and file-type checks come before SQLite opens the files by name, so it does not guard against files swapped during the check (D183, accepted trade-off).- Unchanged from 2.2.0 (B155 accepted trade-offs, D176–D181):
- A scheduler stall, or a
sending.holdover 2 h during a source outage, restarts an enrollment's 72-hour window. - The stream and the scheduler sign in to PocketBase separately, so each project uses two service-account sign-ins.
- Test connection sees rows, not rules.
- When a trigger record is deleted and the step's condition is false, the enrollment ends
condition, nottrigger_missing.
- A scheduler stall, or a
Upgrade notes
- No database migrations: the project schema stays at 38 and the instance schema at 4. There is nothing to set. Replace the executable, or pull
ghcr.io/iglo-tech/iglo.email:2.2.1, and restart. The upgrade from v2.2.0 was checked with a project that has a PocketBase source and a campaign (logs/upgrade.log).