datasette 1.0a28

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

Why it matters

Plugin authors should upgrade because 1.0a28 fixes breakages 1.0a27 introduced, including callback errors and file descriptor leaks in test suites.

Read this as

Datasette is a free, open-source tool for publishing and exploring databases online. Its developer, Simon Willison, released version 1.0a28 to fix problems he accidentally introduced in the previous test version, 1.0a27. The fixes repair broken code hooks, make cleanup easier, and prevent new tests from exhausting system resources. Most of the fixing was done using Claude's AI coding assistant.

Datasette maintainer Simon Willison shipped alpha 1.0a28 to repair regressions found while upgrading Datasette Cloud to 1.0a27. Risk falls on plugin developers: a broken callback signature is fixed, and new close() methods plus a pytest plugin prevent file-descriptor exhaustion in test suites. Anyone running plugins against the 1.0 alpha line should upgrade now. Most fixes were written with Claude Opus 4.7.

Datasette 1.0a28 fixes execute_write_fn() callbacks whose parameter is not named conn, broken in 1.0a27 (issue #2691). database.close() now shuts down the write connection, and a new datasette.close() (#2693) tears down all resources on server shutdown. A built-in pytest plugin auto-closes instances in function-scoped fixtures, avoiding file-descriptor exhaustion in suites predating the Database(is_temp_disk=True) feature from 1.0a27 (issue #2692). Changes were largely implemented with Claude Code and Claude Opus 4.7.

Read the original

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

Key terms

Datasette Datasette Cloud Claude Code Claude Opus 4.7 pytest

Was this summary useful?

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

Related reading