sqlite-utils 4.0rc3

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

The 4.0 release of sqlite-utils includes a subtle breaking change to table.foreign_keys, so developers must update their code before upgrading.

Read this as

sqlite-utils is a free command-line tool and Python library for working with SQLite databases, a popular lightweight database format. Version 4.0rc3 is a release candidate, meaning a final stable version is nearly ready. The main addition is support for compound foreign keys, which are links that tie one database table to another using multiple columns at once. Anyone who maintains code using this tool may need to make small changes to keep it working.

sqlite-utils 4.0rc3 moves the popular open-source SQLite toolkit closer to a stable 4.0 release. The change is mostly relevant as maintenance risk: a subtle breaking change to the table.foreign_keys Python API means teams using the library must audit and update their code when 4.0 lands. No costs, competitors or dates beyond the author's weekend release target are stated.

sqlite-utils 4.0rc3 adds introspection and creation of compound foreign keys, which required a subtle breaking change to table.foreign_keys and therefore had to land before 4.0 stable. The library now follows SQLite's convention for case-insensitive column name matching, touching many code paths. The changelog since rc2 grew as the author worked through issues using Claude Fable 5 and GPT-5.5. No benchmark or performance figures are given.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

sqlite-utils SQLite Claude Fable 5 GPT-5.5 Datasette

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading