datasette 1.0a29

Release: datasette 1.0a29 (https://github.com/simonw/datasette/releases/tag/1.0a29) • New TokenRestrictions.abbreviated(datasette) utility method

Release: datasette 1.0a29 (https://github.com/simonw/datasette/releases/tag/1.0a29)

• New TokenRestrictions.abbreviated(datasette) utility method (https://docs.datasette.io/en/latest/internals.html#tokenrestrictions) for creating “_r” dictionaries. #2695 (https://github.com/simonw/datasette/issues/2695)

• Table headers and column options are now visible even if a table contains zero rows. #2701 (https://github.com/simonw/datasette/issues/2701)

• Fixed bug with display of column actions dialog on Mobile Safari. #2708 (https://github.com/simonw/datasette/issues/2708)

• Fixed bug where tests could crash with a segfault due to a race condition between Datasette.close() and Datasette.close(). #2709 (https://github.com/simonw/datasette/issues/2709)

That segfault bug was gnarly. I added a mechanism to Datasette recently that would automatically close connections at the end of each test, but it turned out that introduced a race condition where an in-flight query could sometimes be executing in a thread against a connection while it was being closed. I ended up solving that by having Codex CLI (with GPT-5.5 xhigh) create a minimal Dockerfile (https://github.com/simonw/datasette/issues/2709#issuecomment-4435604727) that recreated the bug.

    Tags: projects (https://simonwillison.net/tags/projects), datasette (https://simonwillison.net/tags/datasette)
Write a comment
No comments yet.