From edb39c91f75c97b6b55f1db6b7626e66cb8f2d45 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 21 Apr 2020 21:00:34 -0700 Subject: [PATCH] Release Datasette 0.40 --- README.md | 1 + docs/changelog.rst | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 5d770f13..c3a06abd 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Datasette is aimed at data journalists, museum curators, archivists, local gover ## News + * 21st April 2020: [Datasette 0.40](http://datasette.readthedocs.io/en/latest/changelog.html#v0-40) - Metadata can now be provided as YAML instead of JSON. Publishing to Zeit Now v1 is no longer supported, but Now v2 support is provided by the new [datasette-publish-now](https://github.com/simonw/datasette-publish-now) plugin. Various bug fixes. * 24th March 2020: [Datasette 0.39](http://datasette.readthedocs.io/en/latest/changelog.html#v0-39) - New `base_url` configuration option for running Datasette under a different URL prefix, `"sort"` and `"sort_desc"` metadata options for setting a default sort order for a table. * 8th March 2020: [Datasette 0.38](http://datasette.readthedocs.io/en/latest/changelog.html#v0-38) - New `--memory` option for `datasete publish cloudrun`, [Docker image](https://hub.docker.com/r/datasetteproject/datasette) upgraded to SQLite 3.31.1. * 25th February 2020: [Datasette 0.37](http://datasette.readthedocs.io/en/latest/changelog.html#v0-37) - new internal APIs enabling plugins to safely write to databases. Read more here: [Datasette Writes](https://simonwillison.net/2020/Feb/26/weeknotes-datasette-writes/). diff --git a/docs/changelog.rst b/docs/changelog.rst index 61808207..6a1c9667 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,6 +4,19 @@ Changelog ========= +.. _v0_40: + +0.40 (2020-04-21) +----------------- + +* Datasette :ref:`metadata` can now be provided as a YAML file as an optional alternative to JSON. See :ref:`metadata_yaml`. (`#713 `__) +* Removed support for ``datasette publish now``, which used the the now-retired Zeit Now v1 hosting platform. A new plugin, `datasette-publish-now `__, can be installed to publish data to Zeit (`now Vercel `__) Now v2. (`#710 `__) +* Fixed a bug where the ``extra_template_vars(request, view_name)`` plugin hook was not recieving the correct ``view_name``. (`#716 `__) +* Variables added to the template context by the ``extra_template_vars()`` plugin hook are now shown in the ``?_contex=1`` debugging mode (see :ref:`config_template_debug`). (`#693 `__) +* Fixed a bug where the "templates considered" HTML comment was no longer being displayed. (`#689 `__) +* Fixed a ``datasette publish`` bug where ``--plugin-secret`` would over-ride plugin configuration in the provided ``metadat.json`` file. (`#724 `__) +* Added a new CSS class for customizing the canned query page. (`#727 `__) + .. _v0_39: 0.39 (2020-03-24)