From d60d88488f7e7611aa15567f1e5d5e70b43808a9 Mon Sep 17 00:00:00 2001 From: Aurora Date: Tue, 15 Sep 2026 20:57:39 +0200 Subject: [PATCH] docs: fix dead Starlette, Uvicorn and Docker Hub links (#2912) www.starlette.io and www.uvicorn.org no longer resolve (NXDOMAIN); both projects now publish their documentation at starlette.dev and uvicorn.dev respectively. The Docker Hub link was missing the /r/ path segment, which returns a 404. - docs/plugin_hooks.rst: www.starlette.io/middleware/ -> starlette.dev/middleware/ - docs/changelog.rst (x3): www.uvicorn.org/ -> uvicorn.dev/ - docs/changelog.rst: hub.docker.com/datasetteproject/... -> hub.docker.com/r/datasetteproject/... All four replacement URLs verified to return HTTP 200. --- docs/changelog.rst | 8 ++++---- docs/plugin_hooks.rst | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 7f44f354..bf900926 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1153,7 +1153,7 @@ Features - New ``--nolock`` option for ignoring file locks when opening read-only databases. (:issue:`1744`) - Spaces in the database names in URLs are now encoded as ``+`` rather than ``~20``. (:issue:`1701`) - ```` is now displayed as ```` and is accompanied by tooltip showing "2.3MB". (:issue:`1712`) -- The base Docker image used by ``datasette publish cloudrun``, ``datasette package`` and the `official Datasette image `__ has been upgraded to ``3.10.6-slim-bullseye``. (:issue:`1768`) +- The base Docker image used by ``datasette publish cloudrun``, ``datasette package`` and the `official Datasette image `__ has been upgraded to ``3.10.6-slim-bullseye``. (:issue:`1768`) - Canned writable queries against immutable databases now show a warning message. (:issue:`1728`) - ``datasette publish cloudrun`` has a new ``--timeout`` option which can be used to increase the time limit applied by the Google Cloud build environment. Thanks, Tim Sherratt. (:pr:`1717`) - ``datasette publish cloudrun`` has new ``--min-instances`` and ``--max-instances`` options. (:issue:`1779`) @@ -2182,7 +2182,7 @@ If you are still running Python 3.5 you should stick with ``0.30.2``, which you - Removed obsolete ``?_group_count=col`` feature (:issue:`504`) - Improved user interface and documentation for ``datasette publish cloudrun`` (:issue:`608`) - Tables with indexes now show the ``CREATE INDEX`` statements on the table page (:issue:`618`) -- Current version of `uvicorn `__ is now shown on ``/-/versions`` +- Current version of `uvicorn `__ is now shown on ``/-/versions`` - Python 3.8 is now supported! (:issue:`622`) - Python 3.5 is no longer supported. @@ -2233,7 +2233,7 @@ If you are still running Python 3.5 you should stick with ``0.30.2``, which you 0.29.2 (2019-07-13) ------------------- -- Bumped `Uvicorn `__ to 0.8.4, fixing a bug where the query string was not included in the server logs. (:issue:`559`) +- Bumped `Uvicorn `__ to 0.8.4, fixing a bug where the query string was not included in the server logs. (:issue:`559`) - Fixed bug where the navigation breadcrumbs were not displayed correctly on the page for a custom query. (:issue:`558`) - Fixed bug where custom query names containing unicode characters caused errors. @@ -2255,7 +2255,7 @@ ASGI, new plugin hooks, facet by date and much, much more... ASGI ~~~~ -`ASGI `__ is the Asynchronous Server Gateway Interface standard. I've been wanting to convert Datasette into an ASGI application for over a year - `Port Datasette to ASGI #272 `__ tracks thirteen months of intermittent development - but with Datasette 0.29 the change is finally released. This also means Datasette now runs on top of `Uvicorn `__ and no longer depends on `Sanic `__. +`ASGI `__ is the Asynchronous Server Gateway Interface standard. I've been wanting to convert Datasette into an ASGI application for over a year - `Port Datasette to ASGI #272 `__ tracks thirteen months of intermittent development - but with Datasette 0.29 the change is finally released. This also means Datasette now runs on top of `Uvicorn `__ and no longer depends on `Sanic `__. I wrote about the significance of this change in `Porting Datasette to ASGI, and Turtles all the way down `__. diff --git a/docs/plugin_hooks.rst b/docs/plugin_hooks.rst index a1537ef1..ae49fd9b 100644 --- a/docs/plugin_hooks.rst +++ b/docs/plugin_hooks.rst @@ -1107,7 +1107,7 @@ Return an `ASGI `__ middleware wrapper function th This is a very powerful hook. You can use it to manipulate the entire Datasette response, or even to configure new URL routes that will be handled by your own custom code. -You can write your ASGI code directly against the low-level specification, or you can use the middleware utilities provided by an ASGI framework such as `Starlette `__. +You can write your ASGI code directly against the low-level specification, or you can use the middleware utilities provided by an ASGI framework such as `Starlette `__. This example plugin adds a ``x-databases`` HTTP header listing the currently attached databases: