All Posts
February 12, 20260.1.14Calmony Sanctions Monitor

v0.1.14 — feat: implement UK OFSI import batch with Refresh Now button

Release v0.1.14: UK OFSI Import Batch & Refresh Now

12 February 2026

What changed

  • New import batch system — Every UK OFSI import is now tracked as a batch with full state (pendingrunningcompleted/failed), entity counts, change detection, and re-screen results.
  • "Refresh Now" button — Trigger an immediate OFSI list import from the dashboard instead of waiting for the daily 6:00 AM UTC sync. Duplicate runs are prevented (returns 409 if a batch is already running).
  • Redesigned Sanctions Lists page — Single consolidated UK batch state card replaces the previous duplicated views. Includes live polling (auto-refreshes every 3s while running), batch result summaries, and a history table of the last 10 imports.
  • New API endpointGET/POST /api/sanctions/import-batch serves both the dashboard and the nightly cron workflow.
  • Audit trail — All import batch operations are logged with the new SANCTIONS_IMPORT_BATCH audit action.

Why it matters

You no longer have to wait for the nightly sync to pick up OFSI list changes. Hit "Refresh Now" and see results in seconds, with full visibility into what was imported and whether re-screening was triggered.

Technical notes

  • New importBatches database table (indexed by source, status, start time)
  • Backward-compatible: writes to both import_batches and sync_log
  • 6 files changed, +1,073 additions, −221 deletions

Release Notes

Successfully merged PR #28 and created release v0.1.14.

PR #28 — "feat: implement UK OFSI import batch with Refresh Now button"

  • Merged via squash merge (SHA: 3d517aa)

Release v0.1.14 — "UK OFSI Import Batch & Refresh Now"

Key changes released:

  1. New importBatches database table for tracking import runs with full state management
  2. New /api/sanctions/import-batch API endpoint (GET/POST) with duplicate prevention
  3. Redesigned Sanctions Lists dashboard with consolidated batch state view, "Refresh Now" button, live polling, and batch history table
  4. Updated nightly sync workflow to use the new import batch endpoint
  5. Added middleware route and audit action for the new endpoint
  6. 6 files changed, +1,073 additions, -221 deletions