datasette-export-database 0.3a1

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Anyone running the datasette-export-database plugin must upgrade it or exports break once they move to Datasette 1.0a27, which no longer sets the ds_csrftoken cookie.

Read this as

This is version 0.3a1 of datasette-export-database, a plugin by Simon Willison that exports a copy of a changeable SQLite database on demand. The old version used a browser cookie called ds_csrftoken to make secure export links. Datasette 1.0a27, the latest test version of the tool, stopped setting that cookie, which would have broken exports. This release switches to a new method so exporting keeps working.

Teams that publish data with Datasette and use the export plugin face a compatibility break: Datasette 1.0a27 removed the ds_csrftoken cookie the plugin relied on for its signed export URLs. Version 0.3a1 fixes this before upgrading becomes mandatory. The change is small but blocks database exports if skipped, so it belongs in any Datasette upgrade checklist.

datasette-export-database 0.3a1 replaces the plugin's custom signed-URL mechanism, which previously authenticated export requests using the ds_csrftoken cookie. Datasette 1.0a27 no longer sets that cookie, so the old scheme fails. The release is an alpha (0.3a1) targeting the Datasette 1.0 alpha line. The post itself gives no further implementation detail.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

datasette-export-database 0.3a1 Datasette 1.0a27 ds_csrftoken SQLite

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading