HomeQuery LabExpressionsDocsDriversBlogStatusRoadmapChangelog GitHub

March 18, 2026 8 min read

QAIL v0.25.1: Migration Integrity and Safer Rollbacks

v0.25.1 strengthens migration reliability with receipt signature verification, optional HMAC signing, database-scoped locking, and safer rollback controls.

ReleaseMigrationsCLISafety

v0.25.1 is focused on operational safety. Instead of shipping new query features, this release hardens migration integrity under real deploy pressure.

Teams usually fail during schema change, not simple reads. Lock contention, unsafe rollback paths, and receipt drift are where production incidents happen. v0.25.1 closes those gaps.

What Changed

Why Database-Scoped Locks Matter

Global lock semantics can create unnecessary contention in multi-database environments. Database-scoped locking narrows blast radius and gives clearer ownership over migration windows.

                            qail migrate up --wait-for-lock
qail migrate down --force --wait-for-lock
                        

Receipt Integrity

Migration receipts are now treated as integrity artifacts, not passive logs. Optional signing plus verification on apply/rollback helps detect drift, tampering, or stale control paths before state mutation.

The goal is not faster migration output. The goal is making unsafe migration states difficult to execute by accident.

Operator Workflow

                            qail migrate analyze --json > migrate-report.json
qail migrate status
qail migrate down --force --wait-for-lock
                        
← Back to Blog