kopia lustrzana https://github.com/simonw/datasette
Release 0.52
Refs #992, #1103, #1104, #1107, #1077, #1110, #1089, #1086, #1088, #1084pull/1120/head 0.52
rodzic
50cc6af016
commit
a8e66f9065
|
@ -25,6 +25,7 @@ Want to stay up-to-date with the project? Subscribe to the [Datasette Weekly new
|
|||
|
||||
## News
|
||||
|
||||
* 28th November 2020: [Datasette 0.52](https://docs.datasette.io/en/stable/changelog.html#v0-52) - `--config` is now `--setting`, new `database_actions` plugin hook, `datasette publish cloudrun --apt-get-install` option and several bug fixes.
|
||||
* 31st October 2020: [Datasette 0.51](https://docs.datasette.io/en/stable/changelog.html#v0-51) - A new visual design, plugin hooks for adding navigation options, better handling of binary data, URL building utility methods and better support for running Datasette behind a proxy. [Annotated release notes](https://simonwillison.net/2020/Nov/1/datasette-0-51/).
|
||||
* 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. [Annotated release notes](https://simonwillison.net/2020/Oct/9/datasette-0-50/).
|
||||
* 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/).
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
__version__ = "0.51.1"
|
||||
__version__ = "0.52"
|
||||
__version_info__ = tuple(__version__.split("."))
|
||||
|
|
|
@ -4,6 +4,30 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
.. _v0_52:
|
||||
|
||||
0.52 (2020-11-28)
|
||||
-----------------
|
||||
|
||||
This release includes a number of changes relating to an internal rebranding effort: Datasette's **configuration** mechanism (things like ``datasette --config default_page_size:10``) has been renamed to **settings**.
|
||||
|
||||
- New ``--setting default_page_size 10`` option as a replacement for ``--config default_page_size:10`` (note the lack of a colon). The ``--config`` option is deprecated but will continue working until Datasette 1.0. (`#992 <https://github.com/simonw/datasette/issues/992>`__)
|
||||
- The ``/-/config`` introspection page is now ``/-/settings``, and the previous page redirects to the new one. (`#1103 <https://github.com/simonw/datasette/issues/1103>`__)
|
||||
- The ``config.json`` file in :ref:`config_dir` is now called ``settings.json``. (`#1104 <https://github.com/simonw/datasette/issues/1104>`__)
|
||||
- The undocumented ``datasette.config()`` internal method has been replaced by a documented :ref:`datasette_setting` method. (`#1107 <https://github.com/simonw/datasette/issues/1107>`__)
|
||||
|
||||
Also in this release:
|
||||
|
||||
- New plugin hook: :ref:`plugin_hook_database_actions`, which adds menu items to a new cog menu shown at the top of the database page. (`#1077 <https://github.com/simonw/datasette/issues/1077>`__)
|
||||
- ``datasette publish cloudrun`` has a new ``--apt-get-install`` option that can be used to install additional Ubuntu packages as part of the deployment. This is useful for deploying the new `datasette-ripgrep plugin <https://github.com/simonw/datasette-ripgrep>`__. (`#1110 <https://github.com/simonw/datasette/issues/1110>`__)
|
||||
- Swept the documentation to remove words that minimize involved difficulty. (`#1089 <https://github.com/simonw/datasette/issues/1089>`__)
|
||||
|
||||
And some bug fixes:
|
||||
|
||||
- Foreign keys linking to rows with blank label columns now display as a hyphen, allowing those links to be clicked. (`#1086 <https://github.com/simonw/datasette/issues/1086>`__)
|
||||
- Fixed bug where row pages could sometimes 500 if the underlying queries exceeded a time limit. (`#1088 <https://github.com/simonw/datasette/issues/1088>`__)
|
||||
- Fixed a bug where the table action menu could appear partially obscured by the edge of the page. (`#1084 <https://github.com/simonw/datasette/issues/1084>`__)
|
||||
|
||||
.. _v0_51_1:
|
||||
|
||||
0.51.1 (2020-10-31)
|
||||
|
|
|
@ -352,6 +352,8 @@ Returns the absolute URL for the given path, including the protocol and host. Fo
|
|||
|
||||
The current request object is used to determine the hostname and protocol that should be used for the returned URL. The :ref:`setting_force_https_urls` configuration setting is taken into account.
|
||||
|
||||
.. _datasette_setting:
|
||||
|
||||
.setting(key)
|
||||
-------------
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue