AI ToolsJul 6, 2026, 5:40 AM

sqlite-utils 4.0rc3 adds compound foreign key support

TickrWire Editorial Desk·Jul 6, 2026, 5:40 AM·1 min read AI-assisted, human-reviewed

Reported by Simon Willison: sqlite-utils 4.0rc3. Analysis and context written by TickrWire.

Evolving story · 3 updatessqlite-utils 4.0 ReleaseTimeline →
30-second summary

sqlite-utils 4.0rc3 introduces compound foreign key support and addresses numerous issues ahead of the stable 4.0 release.

TickrWire
Key takeaways
  • Compound foreign key support is now available in sqlite-utils 4.0rc3, enabling multi-column foreign key constraints.
  • The release candidate includes fixes for a substantial backlog of issues and pull requests.
  • The stable 4.0 release is expected soon, following this third release candidate.
  • sqlite-utils remains a key tool for SQLite database management and automation.
Full story

The third release candidate for sqlite-utils 4.0 includes a major new feature: support for introspecting and creating compound foreign keys. This capability allows users to define and work with multiple-column foreign key constraints, a long-requested enhancement for SQLite databases. The update also resolves a backlog of issues and pull requests, with the developer noting that the changelog grew significantly since the previous release candidate.

The release candidate phase suggests the stable 4.0 version is imminent, though the developer opted to delay the final release to ensure all pending improvements were included. The changelog highlights both new functionality and bug fixes, indicating a thorough refinement process. The tool, maintained by Simon Willison, continues to evolve as a lightweight utility for managing SQLite databases programmatically.

Why this matters
Developers

Developers using SQLite will benefit from compound foreign key support, improving database schema flexibility.

Everyone

A minor but meaningful update for SQLite users and developers.

Glossary
compound foreign key
A foreign key constraint that references multiple columns in another table.
Sources · 1
Read next
More stories