datasette 1.0a27
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Datasette developers get a CSRF mechanism swap and a RenameTableEvent plugin hook in the 1.0a27 alpha, plus fixes for intermittent internal database locking errors.
Datasette is an open-source tool that lets people publish and explore databases on the web. Its new test version, 1.0a27, stops using an old-style security check (a hidden form token that blocks certain website attacks) and instead relies on protections built into modern web browsers. It also now tells add-on programs whenever a database table gets renamed, so those add-ons can update their own records. The changes affect developers who build on Datasette, not casual users.
Datasette 1.0a27 is an alpha release of the open-source data publishing tool, relevant only to teams already running or extending it. The security model changed from form-token CSRF checks to browser-header checks, following an approach described by Filippo Valsorda, and plugins like datasette-comments now receive events when tables are renamed. Adopting the alpha may require plugin updates; there is no cost, competitive or regulatory impact stated, and no release date for a stable 1.0.
Datasette 1.0a27 replaces Django-style CSRF form tokens with browser-header CSRF protection per Filippo Valsorda's design, and fires a new RenameTableEvent inside SQLite transactions so plugins like datasette-comments can react to renames. Other changes: an actor= parameter for datasette.client test requests (#2688), Database(is_temp_disk=True) to fix intermittent 'database is locked' errors from the in-memory internal database (#2683/#2684), null primary keys rejected by /-/upsert (#1936), an 'ok': true key on the /<database>.json endpoint, and call_with_supported_arguments() promoted to documented public API (#2678).
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Datasette datasette 1.0a27 Filippo Valsorda datasette-comments SQLite Django
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.