sqlite-utils 4.0rc1 adds migrations and nested transactions
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
SQLite-utils users get schema migrations and nested transactions in a 4.0 release candidate with several breaking changes, so anyone upgrading should test now before the stable version ships.
sqlite-utils is a free, open-source tool for working with SQLite, a popular lightweight database. Its author, Simon Willison, released a test version, 4.0rc1, of a major update. It adds 'migrations', a safe way to change a database's structure over time, and simpler handling of transactions, where groups of database changes either all succeed or all fail. It only affects people who build software using this specific tool.
Simon Willison shipped 4.0rc1 of sqlite-utils, the first release candidate of a major update to his widely used open-source SQLite library and command-line tool. Two headline additions are database migrations and nested transactions via db.atomic(). The version bump brings breaking changes, including type detection now defaulting on CSV imports and a new upsert implementation, so teams using sqlite-utils should test against the RC before the stable 4.0 release. It is free, and feedback goes through GitHub or Discord.
sqlite-utils 4.0rc1 bundles the sqlite-migrate package as a Migrations API (no reverse migrations; fix-forward by deploying new migrations), usable via Python's migrations.apply(db) or the CLI 'sqlite-utils migrate'. A new db.atomic() context manager implements nested transactions using SQLite savepoints, borrowed from Django/Peewee terminology; Willison flags it as less tested. Breaking changes include upserts using INSERT ... ON CONFLICT SET (opt-out via use_old_upsert=True), dropping Python 3.8, default type detection for CSV/TSV inserts, REAL replacing FLOAT, and db.view() replacing db.table() for views.
Read the original
This summary exists to save you time, not to replace the source.
Also covered by 1 other source
Same story, reported independently. Useful for a second read.
- Simon Willison’s Weblog , sqlite-utils 4.0rc1
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.