🛠 工具 / 开源
Datasette 1.0a29 发布:新增 TokenRestrictions.abbreviated() 方法及表格显示优化datasette 1.0a29
Datasette 1.0a29 版本引入了新的 TokenRestrictions.abbreviated(datasette) 实用方法,用于生成简写形式的 '_r' 字典,简化了令牌处理逻辑。同时改进了表格头部和列选项的可见性,即使在大数据表中也保持清晰可读。
Simon Willison
Release datasette 1.0a29 — An open source multi-tool for exploring and publishing data
New TokenRestrictions.abbreviated(datasette) utility method for creating "_r" dictionaries. #2695 Table headers and column options are now visible even if a table contains zero rows. #2701 Fixed bug with display of column actions dialog on Mobile Safari. #2708 Fixed bug where tests could crash with a segfault due to a race condition between Datasette.close() and Database.close(). #2709
That segfault bug was gnarly. I added a mechanism to Datasette recently that would automatically close connections at the end of each test, but it turned out that introduced a race condition where an in-flight query could sometimes be executing in a thread against a connection while it was being closed. I ended up solving that by having Codex CLI (with GPT-5.5 xhigh) create a minimal Dockerfile that recreated the bug.
需要完整排版与评论请前往来源站点阅读。