html_url,id,node_id,tag_name,target_commitish,name,draft,author,prerelease,created_at,published_at,body,repo,reactions https://github.com/simonw/datasette/releases/tag/0.62,74385093,RE_kwDOBm6k_c4EbwbF,0.62,main,0.62,0,9599,0,2022-08-14T17:32:42Z,2022-08-14T17:43:05Z,"Datasette can now run entirely in your browser using WebAssembly. Try out [Datasette Lite](https://lite.datasette.io/), take a look [at the code](https://github.com/simonw/datasette-lite) or read more about it in [Datasette Lite: a server-side Python web application running in a browser](https://simonwillison.net/2022/May/4/datasette-lite/). Datasette now has a [Discord community](https://discord.gg/ktd74dm5mw) for questions and discussions about Datasette and its ecosystem of projects. ## Features - Datasette is now compatible with [Pyodide](https://pyodide.org/). This is the enabling technology behind [Datasette Lite](https://lite.datasette.io/). ([#1733](https://github.com/simonw/datasette/issues/1733)) - Database file downloads now implement conditional GET using ETags. ([#1739](https://github.com/simonw/datasette/issues/1739)) - HTML for facet results and suggested results has been extracted out into new templates `_facet_results.html` and `_suggested_facets.html`. Thanks, M. Nasimul Haque. ([#1759](https://github.com/simonw/datasette/pull/1759)) - Datasette now runs some SQL queries in parallel. This has limited impact on performance, see [this research issue](https://github.com/simonw/datasette/issues/1727) for details. - New `--nolock` option for ignoring file locks when opening read-only databases. ([#1744](https://github.com/simonw/datasette/issues/1744)) - Spaces in the database names in URLs are now encoded as `+` rather than `~20`. ([#1701](https://github.com/simonw/datasette/issues/1701)) - `` is now displayed as `` and is accompanied by tooltip showing ""2.3MB"". ([#1712](https://github.com/simonw/datasette/issues/1712)) - The base Docker image used by `datasette publish cloudrun`, `datasette package` and the [official Datasette image](https://hub.docker.com/datasetteproject/datasette) has been upgraded to `3.10.6-slim-bullseye`. ([#1768](https://github.com/simonw/datasette/issues/1768)) - Canned writable queries against immutable databases now show a warning message. ([#1728](https://github.com/simonw/datasette/issues/1728)) - `datasette publish cloudrun` has a new `--timeout` option which can be used to increase the time limit applied by the Google Cloud build environment. Thanks, Tim Sherratt. ([#1717](https://github.com/simonw/datasette/pull/1717)) - `datasette publish cloudrun` has new `--min-instances` and `--max-instances` options. ([#1779](https://github.com/simonw/datasette/issues/1779)) ## Plugin hooks - New plugin hook: [handle_exception()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-handle-exception), for custom handling of exceptions caught by Datasette. ([#1770](https://github.com/simonw/datasette/issues/1770)) - The [render_cell()](https://docs.datasette.io/en/stable/plugin_hooks.html#plugin-hook-render-cell) plugin hook is now also passed a `row` argument, representing the `sqlite3.Row` object that is being rendered. ([#1300](https://github.com/simonw/datasette/issues/1300)) - The [configuration directory](https://docs.datasette.io/en/stable/settings.html#config-dir) is now stored in `datasette.config_dir`, making it available to plugins. Thanks, Chris Amico. ([#1766](https://github.com/simonw/datasette/pull/1766)) ## Bug fixes - Don't show the facet option in the cog menu if faceting is not allowed. ([#1683](https://github.com/simonw/datasette/issues/1683)) - `?_sort` and `?_sort_desc` now work if the column that is being sorted has been excluded from the query using `?_col=` or `?_nocol=`. ([#1773](https://github.com/simonw/datasette/issues/1773)) - Fixed bug where `?_sort_desc` was duplicated in the URL every time the Apply button was clicked. ([#1738](https://github.com/simonw/datasette/issues/1738)) ## Documentation - Examples in the documentation now include a copy-to-clipboard button. ([#1748](https://github.com/simonw/datasette/issues/1748)) - Documentation now uses the [Furo](https://github.com/pradyunsg/furo) Sphinx theme. ([#1746](https://github.com/simonw/datasette/issues/1746)) - Code examples in the documentation are now all formatted using Black. ([#1718](https://github.com/simonw/datasette/issues/1718)) - `Request.fake()` method is now documented, see [Request object](https://docs.datasette.io/en/stable/internals.html#internals-request). - New documentation for plugin authors: [Registering a plugin for the duration of a test](https://docs.datasette.io/en/stable/testing_plugins.html#testing-plugins-register-in-test). ([#903](https://github.com/simonw/datasette/issues/903))",107914493,"{""url"": ""https://api.github.com/repos/simonw/datasette/releases/74385093/reactions"", ""total_count"": 2, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 2, ""rocket"": 0, ""eyes"": 0}"