Simon Willison’s Weblog

Subscribe

Datasette 1.0a17. New Datasette alpha, with a bunch of small changes and bug fixes accumulated over the past few months. Some (minor) highlights:

  • The register_magic_parameters(datasette) plugin hook can now register async functions. (#2441)
  • Breadcrumbs on database and table pages now include a consistent self-link for resetting query string parameters. (#2454)
  • New internal methods datasette.set_actor_cookie() and datasette.delete_actor_cookie(), described here. (#1690)
  • /-/permissions page now shows a list of all permissions registered by plugins. (#1943)
  • If a table has a single unique text column Datasette now detects that as the foreign key label for that table. (#2458)
  • The /-/permissions page now includes options for filtering or exclude permission checks recorded against the current user. (#2460)

I was incentivized to push this release by an issue I ran into in my new datasette-load plugin, which resulted in this fix:

  • Fixed a bug where replacing a database with a new one with the same name did not pick up the new database correctly. (#2465)