From 52eabb019d4051084b21524bd0fd9c2731126985 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 16 Aug 2020 11:56:31 -0700 Subject: [PATCH] Release 0.48 Refs #939, #938, #935, #914 --- README.md | 1 + docs/changelog.rst | 12 ++++++++++++ docs/internals.rst | 2 ++ 3 files changed, 15 insertions(+) diff --git a/README.md b/README.md index 9b49cc14..ee3246a5 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Datasette is aimed at data journalists, museum curators, archivists, local gover ## News + * 16th August 2020: [Datasette 0.48](https://docs.datasette.io/en/stable/changelog.html#v0-48) - Documentation now lives at [docs.datasette.io](https://docs.datasette.io/), improvements to the `extra_template_vars`, `extra_css_urls`, `extra_js_urls` and `extra_body_script` plugin hooks. * 11th August 2020: [Datasette 0.47](https://docs.datasette.io/en/stable/changelog.html#v0-47) - Datasette can now be installed using Homebrew! `brew install simonw/datasette/datasette`. Also new: `datasette install name-of-plugin` and `datasette uninstall name-of-plugin` commands, and `datasette --get '/-/versions.json'` to output the result of Datasette HTTP calls on the command-line. * 9th August 2020: [Datasette 0.46](https://docs.datasette.io/en/stable/changelog.html#v0-46) - security fix relating to CSRF protection for writable canned queries, a new logo, new debugging tools, improved file downloads and more. * 6th August 2020: [GraphQL in Datasette with the new datasette-graphql plugin](https://simonwillison.net/2020/Aug/7/datasette-graphql/) diff --git a/docs/changelog.rst b/docs/changelog.rst index bf53b6f3..d18dae80 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,18 @@ Changelog ========= +.. _v0_48: + +0.48 (2020-08-16) +----------------- + +- Datasette documentation now lives at `docs.datasette.io `__. +- ``db.is_mutable`` property is now documented and tested, see :ref:`internals_database_introspection`. +- The ``extra_template_vars``, ``extra_css_urls``, ``extra_js_urls`` and ``extra_body_script`` plugin hooks now all accept the same arguments. See :ref:`plugin_hook_extra_template_vars` for details. (`#939 `__) +- Those hooks now accept a new ``columns`` argument detailing the table columns that will be rendered on that page. (`#938 `__) +- Fixed bug where plugins calling ``db.execute_write_fn()`` could hang Datasette if the connection failed. (`#935 `__) +- Fixed bug with the ``?_nl=on`` output option and binary data. (`#914 `__) + .. _v0_47_3: 0.47.3 (2020-08-15) diff --git a/docs/internals.rst b/docs/internals.rst index f8d4a136..ff7e883c 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -466,6 +466,8 @@ Here's an example of ``block=True`` in action: except Exception as e: print("An error occurred:", e) +.. _internals_database_introspection: + Database introspection ----------------------