Refs #939, #938, #935, #914
gith 0.48
Simon Willison 2020-08-16 11:56:31 -07:00
rodzic 8e7e6458a6
commit 52eabb019d
3 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -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/)

Wyświetl plik

@ -4,6 +4,18 @@
Changelog
=========
.. _v0_48:
0.48 (2020-08-16)
-----------------
- Datasette documentation now lives at `docs.datasette.io <https://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 <https://github.com/simonw/datasette/issues/939>`__)
- Those hooks now accept a new ``columns`` argument detailing the table columns that will be rendered on that page. (`#938 <https://github.com/simonw/datasette/issues/938>`__)
- Fixed bug where plugins calling ``db.execute_write_fn()`` could hang Datasette if the connection failed. (`#935 <https://github.com/simonw/datasette/issues/935>`__)
- Fixed bug with the ``?_nl=on`` output option and binary data. (`#914 <https://github.com/simonw/datasette/issues/914>`__)
.. _v0_47_3:
0.47.3 (2020-08-15)

Wyświetl plik

@ -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
----------------------