Skip to content

Commit cd9182a

Browse files
committed
Release 1.0a17
Refs #1690, #1943, #2422, #2424, #2441, #2454, #2455, #2458, #2460, #2465
1 parent 7f23411 commit cd9182a

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

datasette/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "1.0a16"
1+
__version__ = "1.0a17"
22
__version_info__ = tuple(__version__.split("."))

docs/changelog.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@
44
Changelog
55
=========
66

7+
.. _v1_0_a17:
8+
9+
1.0a17 (2025-02-06)
10+
-------------------
11+
12+
- ``DATASETTE_SSL_KEYFILE`` and ``DATASETTE_SSL_CERTFILE`` environment variables as alternatives to ``--ssl-keyfile`` and ``--ssl-certfile``. Thanks, Alex Garcia. (:issue:`2422`)
13+
- ``SQLITE_EXTENSIONS`` environment variable has been renamed to ``DATASETTE_LOAD_EXTENSION``. (:issue:`2424`)
14+
- ``datasette serve`` environment variables are now :ref:`documented here <cli_datasette_serve_env>`.
15+
- The :ref:`plugin_hook_register_magic_parameters` plugin hook can now register async functions. (:issue:`2441`)
16+
- Datasette is now tested against Python 3.13.
17+
- Breadcrumbs on database and table pages now include a consistent self-link for resetting query string parameters. (:issue:`2454`)
18+
- Fixed issue where Datasette could crash on ``metadata.json`` with nested values. (:issue:`2455`)
19+
- New internal methods ``datasette.set_actor_cookie()`` and ``datasette.delete_actor_cookie()``, :ref:`described here <authentication_ds_actor>`. (:issue:`1690`)
20+
- ``/-/permissions`` page now shows a list of all permissions registered by plugins. (:issue:`1943`)
21+
- If a table has a single unique text column Datasette now detects that as the foreign key label for that table. (:issue:`2458`)
22+
- The ``/-/permissions`` page now includes options for filtering or exclude permission checks recorded against the current user. (:issue:`2460`)
23+
- Fixed a bug where replacing a database with a new one with the same name did not pick up the new database correctly. (:issue:`2465`)
24+
725
.. _v0_65_1:
826

927
0.65.1 (2024-11-28)

docs/plugin_hooks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ Magic parameters all take this format: ``_prefix_rest_of_parameter``. The prefix
13151315

13161316
To register a new function, return it as a tuple of ``(string prefix, function)`` from this hook. The function you register should take two arguments: ``key`` and ``request``, where ``key`` is the ``rest_of_parameter`` portion of the parameter and ``request`` is the current :ref:`internals_request`.
13171317

1318-
This example registers two new magic parameters: ``:_request_http_version`` returning the HTTP version of the current request, and ``:_uuid_new`` which returns a new UUID. It also registers an `:_asynclookup_key` parameter, demonstrating that these functions can be asynchronous:
1318+
This example registers two new magic parameters: ``:_request_http_version`` returning the HTTP version of the current request, and ``:_uuid_new`` which returns a new UUID. It also registers an ``:_asynclookup_key`` parameter, demonstrating that these functions can be asynchronous:
13191319

13201320
.. code-block:: python
13211321

0 commit comments

Comments
 (0)