跳到正文
Simon Willison·· 18 天前

datasette 1.0a43

datasette 1.0a43

中文摘要

发布:datasette 1.0a43 我一直在努力利用Claude Fable 5.2来帮助完成1.0里程碑,目前该里程碑已完成53%。此次发布的最重要的1.0功能是输出渲染器的流式支持——内置的TSV和CSV导出机制现在也使用了这一功能,插件可以通过新的Response.stream()方法注册自己,以一次性流式传输表中的每一行。有一些安全修复,其中一项我认定值得发布GitHub安全公告:私有存储查询可能会被暴露,从而允许访问查询的标题和SQL(但不允许执行该查询)。还有数十项较小的改进。行页面的JSON表示终于有了适合1.0的设计。一个新的<datasette-copy-button>网络组件在多个地方提供了复制模式的功能。行页面中的列中的JSON可以进行美化排版。新增了一个DatasetteModal.confirm() JavaScript实用方法。此外还有数十个错误修复,包括Zihan Dai、Peter Olkhovets、Ilya Khalafi和Ankita Advitot的贡献。我最兴奋的新功能是一个非常小的功能:我已在Datasette中添加了CSS多页视图过渡效果!

英文原文

Release: 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 <datasette-copy-button> 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!

应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。

来源:Simon Willison · simonwillison.net