Skip to content
نبض AIنبضAI

datasette-graphql 3.1a0 adds authenticated queries and Datasette Lite demos

Product updatePublished: Source: Simon Willison

TL;DR:1a0 release runs GraphQL queries as the signed-in Datasette actor, enabling access to instances and tables requiring authentication via cookie or API token.

The datasette-graphql 3.1a0 release runs GraphQL queries as the signed-in Datasette actor, enabling access to instances and tables requiring authentication via cookie or API token. It upgrades bundled GraphiQL to 4.1.2 and fixes endpoint routing when Datasette uses a base_url, including in Datasette Lite. The release requires Datasette 1.0a47 or later.

Key points

  • GraphQL queries now inherit the signed-in actor's permissions, including authentication through cookies or API tokens.
  • Bundled GraphiQL upgraded from 1.5.1 to 4.1.2.
  • Endpoint routing now works correctly with a Datasette base_url, including in Datasette Lite.
  • The plugin now requires Datasette 1.0a47 or later; GraphiQL 5 and 6 were avoided because Monaco is not yet mobile-friendly.

Why it matters

Teams can expose authenticated GraphQL queries without bypassing Datasette permissions, and developers can share runnable query demos through Datasette Lite without operating a dedicated server.

Companies and models mentioned

  • datasette-graphql
  • Datasette
  • GraphiQL
  • Datasette Lite
  • Simon Willison

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories