Skip to content

claw2 v0.2.4 — database upgrade fix: title_manual migration with a schema convergence guard

Choose a tag to compare

@bkisonka bkisonka released this 22 Nov 17:37
· 11 commits to main since this release

What's changed in 0.2.4

Fixed

  • Upgrading from 0.2.2 no longer breaks the chat list: 0.2.3 shipped the
    title_manual column in schema.sql but forgot the ALTER migration, so an
    existing database made the gateway fail with
    SqliteError: no such column: title_manual on the first chat-list query.
    initDb now adds the column on upgrade.

Added

  • Schema-upgrade guard: a convergence test upgrades a database built from
    schema.baseline.sql (the oldest supported schema, currently 0.2.2) through
    initDb and compares every table's shape with a fresh install. Adding a
    column to schema.sql without the matching ALTER in init.ts now fails the
    test with the exact table.column — the 0.2.3 class of bug can no longer
    ship silently.

Full Changelog: v0.2.3...v0.2.4