Datasette 1.0a40 introduces background task management
Simon Willison has released Datasette 1.0a40, introducing background task management for plugins and critical security patches as the data tool nears its stable 1.0 release.
Developer Simon Willison has launched Datasette 1.0a40, the latest alpha preview of the popular open-source multi-tool designed for exploring and publishing data. This update incorporates the same critical security fix recently deployed in version 0.65.5, ensuring that users running the pre-release software remain protected against known vulnerabilities while testing the upcoming major release.
A key highlight of the 1.0a40 release is the addition of a new method, datasette.add_background_task(), which was contributed by developer Alex Garcia. This feature allows Datasette plugins to initiate and manage background tasks independently. For practitioners, this capability significantly expands what plugins can do, enabling asynchronous data processing and long-running operations without blocking the main user interface.
In addition to background processing, Willison has migrated the codebase to httpx2. This transition enables key internal features, most notably the datasette.client.get() method, which streamlines how the tool handles internal HTTP requests. The release also packages a substantial number of bug fixes. These resolutions stem from a recent, concentrated effort by the project maintainers to triage open issues in preparation for the highly anticipated 1.0 stable release.
By addressing these bugs and upgrading core dependencies, the alpha release brings the data community one step closer to a finalized, production-ready version of Datasette 1.0.
This is our own summary of reporting by Simon Willison



