datasette 1.0a40
How-To How to actually use this
What changed: Datasette 1.0a40 adds background task support via plugins, migrates to httpx2, and includes bug fixes.
How to use it:
- Define a plugin that calls `datasette.add_background_task()` to run async jobs without blocking requests.
- Use the new `datasette.client.get()` method for internal HTTP calls within your plugin code.
- Update your Datasette instance to 1.0a40 to receive the security fix and bug fixes.
Good for: plugin developers building async background tasks in Datasette
Release: datasette 1.0a40 Same security fix as 0.65.5 , plus some neat new features and bug fixes: Plugins can now launch and manage background tasks using the new datasette.add_background_task() method. Thanks, Alex Garcia . I've migrated Datasette to httpx2 for features like the internal datasette.client.get() method. A whole lot of bug fixes , many of them stemming from a recent effort to…
Read original article on Simon Willison's Weblog →




