diff --git a/README.md b/README.md index cc912a13..5c65d17c 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Datasette is aimed at data journalists, museum curators, archivists, local gover ## 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/). * 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. diff --git a/docs/changelog.rst b/docs/changelog.rst index aad86e7b..046f5b4d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,24 +4,28 @@ 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 `__). 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 `__) + +New :ref:`deploying` documentation with guides for deploying Datasette on a Linux server :ref:`using systemd ` or to hosting providers :ref:`that support buildpacks `. (`#514 `__, `#997 `__) + +Other improvements in this release: -- Column action menu now shows the column type. (`#993 `__) -- Column action sort links now correctly link to the first page of sorted results. (`#989 `__) - :ref:`publish_cloud_run` documentation now covers Google Cloud SDK options. Thanks, Geoffrey Hing. (`#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 `__) - New ``datasette -o`` option which opens your browser as soon as Datasette starts up. (`#970 `__) -- ``sqlite3.enable_callback_tracebacks(True)`` so errors in custom SQL functions will now display tracebacks. (`#891 `__) +- Datasette now sets ``sqlite3.enable_callback_tracebacks(True)`` so that errors in custom SQL functions will display tracebacks. (`#891 `__) - Fixed two rendering bugs with column headers in portrait mobile view. (`#978 `__, `#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 `__) +- ``datasette publish heroku`` now deploys using Python 3.8.6. +- New ``datasette publish heroku --tar=`` option. (`#969 `__) +- ``OPTIONS`` requests against HTML pages no longer return a 500 error. (`#1001 `__) .. _v0_49_1: diff --git a/docs/internals.rst b/docs/internals.rst index 94c142c2..0fdd943c 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -330,8 +330,8 @@ You can try out these messages (including the different visual styling of the th .. _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. @@ -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 `__. - .. _internals_database: Database class