12-04 更新 实时
首页/ 技术栈/ 正文

datasette-graphql 3.1a0

技术栈 来源:Simon Willison 2026-12-04 03:04 1 阅读 机器翻译

内置的 GraphiQL 从 1.5.1 升级到 4.1.2。#106

当 Datasette 使用 base_url 运行时,GraphiQL 现在会将查询发送到正确的端点,包括在 Datasette Lite 中也是如此。#106

现在需要 Datasette 1.0a47 或更高版本。

让 GraphiQL 与 Datasette Lite 协同工作是值得的,因为这意味着我现在可以链接到不同查询的在线演示,而无需运行专用服务器。README 现在在很多地方都有指向这些演示的链接,例如这个。

我不得不升级到 GraphiQL 4.1.2,但不能更高,因为 GraphiQL 5 和 6 版本将 CodeMirror 换成了 Monaco,而 Monaco 在手机上运行仍然不太理想。

发布于 2026 年 12 月 3 日下午 7:04

Ladybird 的首个 alpha 版本——2026 年 11 月 23 日

这是 Simon Willison 的一篇短帖,发布于 2026 年 12 月 3 日。

每月赞助我 10 美元,即可获得当月最重要 LLM 进展的精选邮件摘要。

付钱给我,让我给你少发点!

译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。

查看英文原文(datasette-graphql 3.1a0)

GraphQL queries now run as the signed-in actor, so they work on instances and tables that require authentication - whether the actor signed in with a cookie or an API token. #97

Upgraded the bundled GraphiQL from 1.5.1 to 4.1.2. #106

GraphiQL now sends queries to the correct endpoint when Datasette is running with a base_url, including in Datasette Lite. #106

Now requires Datasette 1.0a47 or later.

Getting GraphiQL working with Datasette Lite was worthwhile because it means I can now link to live demos of different queries without needing to run a dedicated server. The README has links to those in a bunch of places now, for example this one.

I had to bump to GraphiQL 4.1.2 but no later because GraphiQL versions 5 and 6 switch CodeMirror out for Monaco, and Monaco still doesn't have a good story for running on a mobile phone.

Posted 3rd December 2026 at 7:04 pm

Ladybird's first alpha release - 23rd November 2026

This is a beat by Simon Willison, posted on 3rd December 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-graphql 3.1a0),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。

阅读原文 ↗