← All news

datasette-graphql 3.1a0 released with auth and GraphiQL upgrade

Simon Willison

The alpha release of the datasette-graphql plugin makes GraphQL queries run as the signed-in actor, so they work on authenticated instances and tables. It also upgrades the bundled GraphiQL to 4.1.2 and requires Datasette 1.0a47 or later.

Source: simonwillison.net ↗ · By CapyLaunch

Version3.1a0 (alpha)
RequiresDatasette 1.0a47 or later
GraphiQLUpgraded from 1.5.1 to 4.1.2
Auth supportCookie and API token sign-in
Release date3 December 2026

datasette-graphql 3.1a0 is an alpha release of a Datasette plugin that provides an automatic GraphQL API for SQLite databases. It is a new version of a tool that exposes Datasette data through GraphQL queries.

GraphQL queries now run as the signed-in actor. The bundled GraphiQL query editor was upgraded from 1.5.1 to 4.1.2, and it now sends queries to the correct endpoint when Datasette runs with a base_url, including in Datasette Lite.

Builders who expose Datasette data through GraphQL can now run queries as the signed-in user. This means queries work on instances and tables that require authentication, whether the user signed in with a cookie or an API token. The release also requires Datasette 1.0a47 or later.

For builders: If you expose Datasette data through GraphQL, this release lets queries respect cookie and API token authentication, and you will need Datasette 1.0a47 or later to use it.

For: Developers and makers who expose Datasette data through GraphQL and need access controls to apply to queries.

Try:

https://simonwillison.net/2026/Dec/3/datasette-graphql/

Does this release work with authenticated Datasette instances?

Yes. 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.

What version of Datasette do I need?

You need Datasette 1.0a47 or later.

Why was GraphiQL not upgraded to version 5 or 6?

The author stopped at 4.1.2 because GraphiQL versions 5 and 6 switch CodeMirror out for Monaco, and Monaco still does not have a good story for running on a mobile phone.

All 9 Open source stories →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy