Refs #880, #944, #945, #947, #948, #953, #958, #962, #963, #964, #965
pull/977/head 0.49
Simon Willison 2020-09-14 14:38:24 -07:00
rodzic 72ac2fd32c
commit c0249525d7
2 zmienionych plików z 11 dodań i 8 usunięć

Wyświetl plik

@ -23,6 +23,7 @@ Datasette is aimed at data journalists, museum curators, archivists, local gover
## News
* 14th September 2020: [Datasette 0.49](https://docs.datasette.io/en/stable/changelog.html#v0-49) - JSON API for writable canned queries, path parameters for custom pages.
* 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.

Wyświetl plik

@ -4,22 +4,24 @@
Changelog
=========
.. _v0_49a1:
.. _v0_49:
0.49a1 (2020-09-13)
-------------------
.. warning:: This is an **alpha** release. See :ref:`contributing_alpha_beta`.
0.49 (2020-09-14)
-----------------
- Writable canned queries now expose a JSON API, see :ref:`canned_queries_json_api`. (`#880 <https://github.com/simonw/datasette/issues/880>`__)
- New mechanism for defining page templates with custom path parameters - a template file called ``pages/about/{slug}.html`` will be used to render any requests to ``/about/something``. See :ref:`custom_pages_parameters`. (`#944 <https://github.com/simonw/datasette/issues/944>`__)
- ``register_output_renderer()`` render functions can now return a ``Response``. (`#953 <https://github.com/simonw/datasette/issues/953>`__)
- New ``--upgrade`` option for ``datasette install``. (`#945 <https://github.com/simonw/datasette/issues/945>`__)
- New ``datasette --pdb`` option. (`#962 <https://github.com/simonw/datasette/issues/962>`__)
- ``datasette --get`` exit code now reflects the internal HTTP status code. (`#947 <https://github.com/simonw/datasette/issues/947>`__)
- New ``raise_404()`` template function for returning 404 errors. (`#964 <https://github.com/simonw/datasette/issues/964>`__)
- ``datasette publish heroku`` now deploys using Python 3.8.5
- Upgraded `CodeMirror <https://codemirror.net/>`__ to 5.57.0. (`#948 <https://github.com/simonw/datasette/issues/948>`__)
- Upgraded code style to Black 20.8b1. (`#958 <https://github.com/simonw/datasette/issues/958>`__)
- New ``datasette --pdb`` option. (`#962 <https://github.com/simonw/datasette/issues/962>`__)
- ``datasette --get`` exit code now reflects the internal HTTP status code. (`#947 <https://github.com/simonw/datasette/issues/947>`__)
- Fixed bug where selected facets were not correctly persisted in hidden form fields on the table page. (`#963 <https://github.com/simonw/datasette/issues/963>`__)
- New mechanism for defining page templates with custom path parameters. (`#944 <https://github.com/simonw/datasette/issues/944>`__)
- Renamed the default error template from ``500.html`` to ``error.html``.
- Custom error pages are now documented, see :ref:`custom_pages_errors`. (`#965 <https://github.com/simonw/datasette/issues/965>`__)
.. _v0_48: