---
id: 20260917-T0-15
title: "Datasette 1.0a40发布：修复安全漏洞，插件可管理后台任务"
title_en: "Datasette 1.0a40 Ships Security Fix and Background Task API"
url: https://ai.daily.yangsir.net/daily/20260917-T0-15
issue_date: 2026-09-17
publish_date: 2026-09-16T23:51:43.000Z
category: release
source_name: "Simon Willison"
source_url: https://simonwillison.net/2026/Sep/16/datasette/
---

# Datasette 1.0a40发布：修复安全漏洞，插件可管理后台任务

Datasette发布1.0a40版本，包含与0.65.5相同的安全修复，同时新增多项功能和bug修复。最值得关注的更新是插件现在可以通过datasette.add_background_task()方法启动和管理后台任务。此外，Datasette已迁移至httpx2以支持内部请求等功能。开发者可以用这个版本在插件中实现异步任务处理，扩展Datasette的应用场景。

## English Version

**Datasette 1.0a40 Ships Security Fix and Background Task API**

Datasette releases version 1.0a40 with the same security fix as 0.65.5, plus new features and bug fixes. The standout addition: plugins can now launch and manage background tasks via the new datasette.add_background_task() method. Datasette has also migrated to httpx2 for features like internal requests. Developers can use this release to build asynchronous task handling into plugins, expanding what Datasette can do.

---

**来源**：[Simon Willison](https://simonwillison.net/2026/Sep/16/datasette/)

**详情页**：https://ai.daily.yangsir.net/daily/20260917-T0-15

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*