Datasette 1.0a28 patches regressions from prior alpha, adds cleanup hooks
Simon Willison shipped Datasette 1.0a28 to fix breakages surfaced while upgrading Datasette Cloud to 1.0a27. The headline regression: execute_write_fn() callbacks failed when their parameter was named anything other than conn. That’s now resolved, and database.close() properly tears down the write connection alongside the read connection.
The release also introduces datasette.close() for shutting down all databases and resources on an instance, invoked automatically at server shutdown. A bundled pytest plugin now calls this on function-scoped fixtures, addressing file-descriptor exhaustion in plugin test suites written before the is_temp_disk flag landed in 1.0a27.
Willison notes most of the work was implemented using Claude Code with Claude Opus 4.7, another data point on AI-assisted maintenance of established open-source projects.
Read the full article
Continue reading at Simon Willison →This is an AI-generated summary. Read the original for the full story.