🛠 工具 / 开源
datasette 1.0a28 发布datasette 1.0a28
Datasette 发布了 alpha 版本 1.0a28,修复了前一个版本 1.0a27 中引入的一个严重兼容性问题。该问题影响 `execute_write_fn()` 回调函数,可能导致插件或扩展功能意外中断。此次更新旨在恢复稳定性,确保云实例升级后不会破坏现有配置。开发者建议用户尽快升级到该版本以避免潜在故障。
Simon Willison
Release datasette 1.0a28 — An open source multi-tool for exploring and publishing data
I was upgrading Datasette Cloud to 1.0a27 and discovered a nasty collection of accidental breakages caused by changes in that alpha. This new alpha addresses those directly:
Fixed a compatibility bug introduced in 1.0a27 where execute_write_fn() callbacks with a parameter name other than conn were seeing errors. (#2691) The database.close() method now also shuts down the write connection for that database. New datasette.close() method for closing down all databases and resources associated with a Datasette instance. This is called automatically when the server shuts down. (#2693) Datasette now includes a pytest plugin which automatically calls datasette.close() on temporary instances created in function-scoped fixtures and during tests. See Automatic cleanup of Datasette instances for details. This helps avoid running out of file descriptors in plugin test suites that were written before the Database(is_temp_disk=True) feature introduced in Datasette 1.0a27. (#2692)
Most of the changes in this release were implemented using Claude Code and the newly released Claude Opus 4.7.
需要完整排版与评论请前往来源站点阅读。