datasette 1.0a43 发布
我一直大量借助 Claude Fable 5.2 来帮助完成 1.0 里程碑上的事项,目前该里程碑已完成 53%。
本次发布中最大的 1.0 事项是面向输出渲染器的流式支持——内置的 TSV 和 CSV 导出机制现在也使用了它,插件可以通过新的 Response.stream() 方法将自己注册为能够一次性流式输出表中的每一行。
有几个安全修复,其中一个我认为值得发布 GitHub 安全公告:私有存储查询可能会被暴露,从而让人可以访问查询的标题和 SQL(但不允许执行该查询)。
还有几十项较小的改进。行页面的 JSON 表示终于有了适合 1.0 的设计。一个新的 Web Component 在多个位置提供 copy-schema。行页面中列内的 JSON 可以进行美化打印。新增了 DatasetteModal.confirm() JavaScript 工具方法。此外还有几十个 bug 修复,其中包括 Zihan Dai、Peter Olkhovets、Ilya Khalafi 和 Ankita Advitot 的贡献。
我最期待的功能其实相当小:我为 Datasette 添加了 CSS 多页面视图过渡!这是提交记录——关键 CSS 如下:
/* 为未启用 prefers-reduced-motion 的用户启用跨文档视图过渡 */@media(prefers-reduced-motion: no-preference){@view-transition{navigation: auto;}}/* .facet-results 应从旧位置变形到新位置 */html:active-view-transition.content>.facet-results{view-transition-name: facet-results;}/* .table-wrapper 也应如此,前提是它包含 .rows-and-columns */html:active-view-transition.table-wrapper:has(>table.rows-and-columns){view-transition-name: rows-table;}
有了这一机制,Datasette 内部的页面跳转——它依然是一个坚定的多页应用——感觉更像 SPA 了。目前这在 Safari 和 Chrome 上可用,我相信对 Firefox 的支持将在 2026 年 12 月 8 日随 Firefox 162 落地(毕竟这些功能在 Firefox Nightly 中已不再处于功能标志之后)。
发布于 2026 年 11 月 15 日晚上 11:20
这是 Simon Willison 的一个 beat 栏目,发布于 2026 年 11 月 15 日。
每月赞助我 10 美元,即可获得一份精选邮件摘要,汇总当月最重要的 LLM 进展。
花钱让我给你少发点东西!
译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。
查看英文原文(datasette 1.0a43)
I've been leaning hard into Claude Fable 5.2 to help knock things off the 1.0 milestone, which is now 53% complete.
The biggest 1.0 item in this release is streaming support for output renderers - the built-in TSV and CSV export mechanisms now use this as well, and plugins can register themselves as capable of streaming every row in a table in one go via the new Response.stream() method.
There are a couple of security fixes, one of which I deemed deserving of a GitHub advisory: private stored queries could be exposed, granting access to the title and SQL of the query (but not allowing that query to be executed).
There are dozens of smaller improvements. The row page JSON representation finally has a design suitable for 1.0. A new Web Component provides copy-schema in various places. JSON in columns on the row page can be pretty-printed. There's a new DatasetteModal.confirm() JavaScript utility method. Plus dozens of bug fixes, including contributions by Zihan Dai, Peter Olkhovets, Ilya Khalafi, and Ankita Advitot.
The feature I'm most excited about is a pretty tiny one: I've added CSS multi-page view transitions to Datasette! Here's the commit - key CSS is as follows:
/* Enable cross-document view transitions, for anyone without prefers-reduced-motion */@media(prefers-reduced-motion: no-preference){@view-transition{navigation: auto;}}/* .facet-results should morph from old position to new */html:active-view-transition.content>.facet-results{view-transition-name: facet-results;}/* So should a .table-wrapper, provided it contains .rows-and-columns */html:active-view-transition.table-wrapper:has(>table.rows-and-columns){view-transition-name: rows-table;}
With that in place, navigations within Datasette - still staunchly a multi-page application - feel more like an SPA. This works on Safari and Chrome at the moment and I believe supports for Firefox is due to land in Firefox 162 on December 8th 2026 (seeing as they are no longer feature-flagged in Firefox Nightly.)
Posted 15th November 2026 at 11:20 pm
This is a beat by Simon Willison, posted on 15th November 2026.
Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.
Pay me to send you less!
原文为英文,正文由自动抓取并保留原文。
原文发布于 Simon Willison(datasette 1.0a43),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。