all AI news
Datasette 1.0a10
Simon Willison's Weblog simonwillison.net
The only changes in this alpha release concern the way Datasette handles database transactions. The database.execute_write_fn() internal method used to leave functions to implement transactions on their own - it now defaults to wrapping them in a transaction unless they opt out with the new transaction=False parameter.
In implementing this I found several places inside Datasette - in particular parts of the JSON write API - which had not been handling transactions correctly. Those are all now fixed.
alpha database datasette false found functions inside projects release sqlite them transactions