kopia lustrzana https://github.com/simonw/datasette
Release 0.50
Refs #1001, #514, #891, #943, #969, #970, #978, #980, #996, #997 Closes #1002pull/1008/head
rodzic
c12b7a5def
commit
a61f0e4e15
|
@ -23,6 +23,7 @@ Datasette is aimed at data journalists, museum curators, archivists, local gover
|
||||||
|
|
||||||
## News
|
## News
|
||||||
|
|
||||||
|
* 9th October 2020: [Datasette 0.50](https://docs.datasette.io/en/stable/changelog.html#v0-50) - New column actions menu. `datasette.client` object for plugins to make internal API requests. Improved documentation on deploying Datasette.
|
||||||
* 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. See also [Datasette 0.49: The annotated release notes](https://simonwillison.net/2020/Sep/15/datasette-0-49/).
|
* 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. See also [Datasette 0.49: The annotated release notes](https://simonwillison.net/2020/Sep/15/datasette-0-49/).
|
||||||
* 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.
|
* 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.
|
* 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.
|
||||||
|
|
|
@ -4,24 +4,28 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
.. _v0_50_a1:
|
.. _v0_50:
|
||||||
|
|
||||||
0.50a1 (2020-10-06)
|
0.50 (2020-10-09)
|
||||||
-------------------
|
-----------------
|
||||||
|
|
||||||
|
The key new feature in this release is the **column actions** menu on the table page (`#891 <https://github.com/simonw/datasette/issues/891>`__). This can be used to sort a column in ascending or descending order, facet data by that column or filter the table to just rows that have a value for that column.
|
||||||
|
|
||||||
|
Plugin authors can use the new :ref:`internals_datasette_client` object to make internal HTTP requests from their plugins, allowing them to make use of Datasette's JSON API. (`#943 <https://github.com/simonw/datasette/issues/943>`__)
|
||||||
|
|
||||||
|
New :ref:`deploying` documentation with guides for deploying Datasette on a Linux server :ref:`using systemd <deploying_systemd>` or to hosting providers :ref:`that support buildpacks <deploying_buildpacks>`. (`#514 <https://github.com/simonw/datasette/issues/514>`__, `#997 <https://github.com/simonw/datasette/issues/997>`__)
|
||||||
|
|
||||||
|
Other improvements in this release:
|
||||||
|
|
||||||
- Column action menu now shows the column type. (`#993 <https://github.com/simonw/datasette/issues/993>`__)
|
|
||||||
- Column action sort links now correctly link to the first page of sorted results. (`#989 <https://github.com/simonw/datasette/issues/989>`__)
|
|
||||||
- :ref:`publish_cloud_run` documentation now covers Google Cloud SDK options. Thanks, Geoffrey Hing. (`#995 <https://github.com/simonw/datasette/pull/995>`__)
|
- :ref:`publish_cloud_run` documentation now covers Google Cloud SDK options. Thanks, Geoffrey Hing. (`#995 <https://github.com/simonw/datasette/pull/995>`__)
|
||||||
|
|
||||||
.. _v0_50_a0:
|
|
||||||
|
|
||||||
0.50a0 (2020-10-01)
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
- New column action menu - table columns now show a cog icon which provides a contextual menu for that column. (`#981 <https://github.com/simonw/datasette/issues/981>`__)
|
|
||||||
- New ``datasette -o`` option which opens your browser as soon as Datasette starts up. (`#970 <https://github.com/simonw/datasette/issues/970>`__)
|
- New ``datasette -o`` option which opens your browser as soon as Datasette starts up. (`#970 <https://github.com/simonw/datasette/issues/970>`__)
|
||||||
- ``sqlite3.enable_callback_tracebacks(True)`` so errors in custom SQL functions will now display tracebacks. (`#891 <https://github.com/simonw/datasette/issues/891>`__)
|
- Datasette now sets ``sqlite3.enable_callback_tracebacks(True)`` so that errors in custom SQL functions will display tracebacks. (`#891 <https://github.com/simonw/datasette/issues/891>`__)
|
||||||
- Fixed two rendering bugs with column headers in portrait mobile view. (`#978 <https://github.com/simonw/datasette/issues/978>`__, `#980 <https://github.com/simonw/datasette/issues/980>`__)
|
- Fixed two rendering bugs with column headers in portrait mobile view. (`#978 <https://github.com/simonw/datasette/issues/978>`__, `#980 <https://github.com/simonw/datasette/issues/980>`__)
|
||||||
|
- New ``db.table_column_details(table)`` introspection method for retrieving full details of the columns in a specific table, see :ref:`internals_database_introspection`.
|
||||||
|
- Fixed a routing bug with custom page wildcard templates. (`#996 <https://github.com/simonw/datasette/issues/996>`__)
|
||||||
|
- ``datasette publish heroku`` now deploys using Python 3.8.6.
|
||||||
|
- New ``datasette publish heroku --tar=`` option. (`#969 <https://github.com/simonw/datasette/issues/969>`__)
|
||||||
|
- ``OPTIONS`` requests against HTML pages no longer return a 500 error. (`#1001 <https://github.com/simonw/datasette/issues/1001>`__)
|
||||||
|
|
||||||
.. _v0_49_1:
|
.. _v0_49_1:
|
||||||
|
|
||||||
|
|
|
@ -330,8 +330,8 @@ You can try out these messages (including the different visual styling of the th
|
||||||
|
|
||||||
.. _internals_datasette_client:
|
.. _internals_datasette_client:
|
||||||
|
|
||||||
.client
|
datasette.client
|
||||||
-------
|
----------------
|
||||||
|
|
||||||
Plugins can make internal HTTP requests to the Datasette instance within which they are running. This ensures that all of Datasette's external JSON APIs are also available to plugins.
|
Plugins can make internal HTTP requests to the Datasette instance within which they are running. This ensures that all of Datasette's external JSON APIs are also available to plugins.
|
||||||
|
|
||||||
|
@ -365,7 +365,6 @@ It offers the following methods:
|
||||||
|
|
||||||
For documentation on available ``**kwargs`` options and the shape of the HTTPX Response object refer to the `HTTPX Async documentation <https://www.python-httpx.org/async/>`__.
|
For documentation on available ``**kwargs`` options and the shape of the HTTPX Response object refer to the `HTTPX Async documentation <https://www.python-httpx.org/async/>`__.
|
||||||
|
|
||||||
|
|
||||||
.. _internals_database:
|
.. _internals_database:
|
||||||
|
|
||||||
Database class
|
Database class
|
||||||
|
|
Ładowanie…
Reference in New Issue